Open Srijal97 opened 2 years ago
I didn't have this issue with other PCs with Ubuntu 20.04 / noetic, so it seems to be specific to the Nvidia Orin. I don't have an Orin for testing, so I can't reproduce and debug this issue. Please leave a comment if you find a solution.
Yes, I believe it is specific to the Orin too. I have not found a fix yet, but I will definitely post it here if I find something. Right now I am just physically unplugging/plugging the Phidget devices after each run of my robot.
Phidgets Device: PhidgetSpatial Precision 3/3/3
Host Machine: Nvidia Jetson Orin Ubuntu 20.04 ROS Noetic
Issue Device gives
/imu/data_raw
output only on the first run. Subsequent launches throw no error, but there is no output seen on/imu/data_raw
. It just remains empty until I unplug and replug the device again.Example command:
roslaunch phidgets_accelerometer accelerometer.launch
Output:It shows
Connected
but fails to output anything from the device after the first run onward. I check this usingrostopic echo /imu/data_raw
.Upon closing using
Ctrl+C
I have 2 of these PhidgetSpatial Precision devices and this issue occurs with both of them. Also note that this issue did not occur previously when I was testing this out on a Jetson Nano (Ubuntu 18 + ROS Melodic) or a Ubuntu 18 PC with ROS Melodic. We just switched to the Jetson Orin this week, which only comes with Ubuntu 20 (ROS Noetic) and have been facing this issue since.
Another interesting thing to note is that when I install libphidget22 and run the HelloWorld Example provided here, each plug and unplug event notification is printed out 5 times:
Also, I tried running
lsusb
andusbreset
,And it fixes the issue momentarily as I get output on
/imu/data_raw
once. It stops working again on subsequent runs until I runusbreset
again.Apologies for the long post. Please let me know if any further details are required.