LORD-MicroStrain/microstrain_inertial

Running the GQ7 the second time creates an "Error: Failed to communicate with device"

Closed this issue · 3 comments

Describe the bug To Reproduce
-Run the roslaunch command to start streaming the gq7.
-Kill the ros node
-Rerun the ros node with the exact same command. This results in "Error: Failed to communicate with device"

  • The solution to this is unplugging and replugging the main and aux ports
    Expected behavior
    Should work everytime without replugging

Environment (please complete the following information):

  • OS: Ubuntu
  • Architecture: arm64
  • ROS Version: noetic
  • Version: [e.g. 2.0.0]
  • Sensor(s): 3DM-GQ7

Additional context
image (1)

Hi @echoGee,

I have installed the udev rules and the driver on a Jetson Xavier and was unable to reproduce this behavior. I have a couple questions to help me debug:

  1. What version of the driver are you using? Can be found with rosversion microstrain_inertial_driver
  2. Assuming you are using a Jetson as well, you are likely using some sort of USB to USB-C adapter (if not please ignore these sub questions)
    • Are both the main and aux port plugged into the same adapter and have you tried testing with only the main port connected?
    • Have you tried using a different adapter?
  3. Could you please provide me with the output from the following commands?
    a. udevadm info -a -n "$(readlink -f /dev/microstrain_main)" | grep serial
    b. udevadm info -a -n "$(readlink -f /dev/microstrain_aux)" | grep serial
    c. ll /dev/microstrain_*

This issue is stale because it has been open for 2 weeks with no activity. If the issue is still not resolved, please leave a comment describing what is still not working

This issue was closed because it has been inactive for 2 weeks since being marked as stale. If the issue is still not resolved, please reopen the issue, and leave a comment describing what is still not working