LORD-MicroStrain / MSCL

MicroStrain Communication Library
https://www.microstrain.com/software/mscl
MIT License
76 stars 57 forks source link

3DMGQ7 cdc_adm: failed to set dtr/rts, then Error: Failed to communicate with device #376

Open scotts11 opened 7 months ago

scotts11 commented 7 months ago

I am working with a 3DMGQ7 with Ubuntu 20.04. I have had this code working fine in previous months, but in the past couple months, I have been getting this error message fairly consitently:

cdc_acm:1-1:1.0: Failed to set dtr/rts Error: Failed to communicate with device.

code snippet:

connection = mscl.Connection.Serial("/dev/ttyACM0", 115200)
self.node = mscl.InertialNode(connection)
try:
    self.node.setToIdle()
except mscl.Error as e:
    print('Error:', e)

I plugged the 3DMGQ7 into SensorConnect to verify that it wasn't streaming at startup (which it does not seem to be).

This is failing on multiple different units, so it seems something has changed in the last couple months. My only idea is that there has been a change in the amount of data streaming and that is somehow overloading the bandwidth of the serial channel so I can't transmit my Idle command?