You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @thien94 , I am getting the following error when I run only the T265_to_mavlink.py
mavros_ws/src/vision_to_mavros/scripts$ python3 t265_to_mavlink.py
INFO: Using default connection_string /dev/ttyACM0
INFO: Using default connection_baudrate 115200
INFO: Using default vision_position_estimate_msg_hz 30.0
INFO: Using default vision_position_delta_msg_hz 30.0
INFO: Using default vision_speed_estimate_msg_hz 30.0
INFO: Using camera position offset: Disabled
INFO: Using compass: Disabled
INFO: Using default scale factor 1.0
INFO: Using default camera orientation 0
INFO: Starting Vehicle communications
Device /dev/ttyACM0 is dead
Device /dev/ttyACM0 is dead
INFO: Connecting to camera...
Traceback (most recent call last):
File "t265_to_mavlink.py", line 522, in
realsense_connect()
File "t265_to_mavlink.py", line 447, in realsense_connect
device = cfg.resolve(pipe).get_device()
RuntimeError: No device connected
Alarm clock
Even when the USB ports are connected like the ACM0 with the correct baudrate, I am still getting the same error. Even this is same with d4xx_to_mavlink.py. But initially the code was working fine and I did flight test for position hold, but now the same code without any modifications is not running. But when I do realsense_viewer I am able to view the feed of the both the D435I and T265 cameras, I tried reconnecting individual camera, both but nothing helped. i even tried increasing the timer, but it still didn't help. Can you please help me solve this issue.
Hardware: Raspberry PI
OS: Ubuntu 20.04
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hey @thien94 , I am getting the following error when I run only the T265_to_mavlink.py
mavros_ws/src/vision_to_mavros/scripts$ python3 t265_to_mavlink.py
INFO: Using default connection_string /dev/ttyACM0
INFO: Using default connection_baudrate 115200
INFO: Using default vision_position_estimate_msg_hz 30.0
INFO: Using default vision_position_delta_msg_hz 30.0
INFO: Using default vision_speed_estimate_msg_hz 30.0
INFO: Using camera position offset: Disabled
INFO: Using compass: Disabled
INFO: Using default scale factor 1.0
INFO: Using default camera orientation 0
INFO: Starting Vehicle communications
Device /dev/ttyACM0 is dead
Device /dev/ttyACM0 is dead
INFO: Connecting to camera...
Traceback (most recent call last):
File "t265_to_mavlink.py", line 522, in
realsense_connect()
File "t265_to_mavlink.py", line 447, in realsense_connect
device = cfg.resolve(pipe).get_device()
RuntimeError: No device connected
Alarm clock
Even when the USB ports are connected like the ACM0 with the correct baudrate, I am still getting the same error. Even this is same with d4xx_to_mavlink.py. But initially the code was working fine and I did flight test for position hold, but now the same code without any modifications is not running. But when I do realsense_viewer I am able to view the feed of the both the D435I and T265 cameras, I tried reconnecting individual camera, both but nothing helped. i even tried increasing the timer, but it still didn't help. Can you please help me solve this issue.
Hardware: Raspberry PI
OS: Ubuntu 20.04
Thanks in advance.
The text was updated successfully, but these errors were encountered: