mavlink / c_uart_interface_example

Simple MAVLink to UART interface example for *nix systems
275 stars 260 forks source link

It stopped at he lline "GOT AUTOPILOT COMPONENT ID: 1". #25

Closed goodman110110110 closed 6 years ago

goodman110110110 commented 6 years ago

hello I make the c_uart_interface_example and use the command ./mavlink_control -d /dev/ttyACM0. but the programme cannot go on. It stopped at he lline "GOT AUTOPILOT COMPONENT ID: 1". Please help me. Thank you. what have I done as follows:


ghf@ghf-A8SR:~$ cd c_uart_interface_example/ ghf@ghf-A8SR:~/c_uart_interface_example$ ./mavlink_control -d /dev/ttyACM0 OPEN PORT Connected to /dev/ttyACM0 with 57600 baud, 8 data bits, no parity, 1 stop bit (8N1)

START READ THREAD

CHECK FOR MESSAGES Found

GOT VEHICLE SYSTEM ID: 1 GOT AUTOPILOT COMPONENT ID: 1

MHageH commented 6 years ago

Usually it's a problem with the LOCAL_POSITION_NED which the Pixhawk isn't sending. This was discussed before, reference is here.

goodman110110110 commented 6 years ago

Tank you, I checked and succeed.