Onboard-SDK-ROS icon indicating copy to clipboard operation
Onboard-SDK-ROS copied to clipboard

ROS launch ttyS0 not working

Open Matthewsw1234 opened this issue 3 years ago • 5 comments

I keep trying to get the drone to connect to the Raspberry pi and can’t get it to work. I’m using Ubuntu 20.04 LTS on a Pi 3 B. This is the error I get. Sorry for the photo.

Matthewsw1234 avatar Oct 12 '22 19:10 Matthewsw1234

image

Matthewsw1234 avatar Oct 13 '22 02:10 Matthewsw1234

Agent comment from kyle.cai in Zendesk ticket #71848:

Please confirm that the ttyS0 is available on your onboard computer and that the ttyS0 is connected to the drone TTL. If the device name is correct, please check the serial port access permission.
image.png

°°°

dji-dev avatar Oct 13 '22 04:10 dji-dev

Agent comment from kyle.cai in Zendesk ticket #71848:

Please confirm that the ttyS0 is available on your onboard computer and that the ttyS0 is connected to the drone TTL. If the device name is correct, please check the serial port access permission.
image.png

°°°

Hi. Thanks for responding. I have checked and the TTYS0 is reading stuff from the drone and I am a part of the Dialout group. Am I missing something?

Matthewsw1234 avatar Oct 15 '22 19:10 Matthewsw1234

So I updated to 3.8 and still have the same problem. Not sure why

Matthewsw1234 avatar Oct 18 '22 03:10 Matthewsw1234

For anyone who might need this, the getty.service for my TTYS0 port was in the way. Just stop it and disable it, then use sudo chmod 777 /dev/ttyS0

Matthewsw1234 avatar Nov 06 '22 18:11 Matthewsw1234