Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with running D435I and T265 induvidually #66

Open
ta-jetson opened this issue Jan 26, 2024 · 0 comments
Open

Issue with running D435I and T265 induvidually #66

ta-jetson opened this issue Jan 26, 2024 · 0 comments

Comments

@ta-jetson
Copy link

ta-jetson commented Jan 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant