Problem "Running Examples in SITL"

Hi everyone!

I followed the ardupilot wiki for running examples in SITL Library Example Sketches — Dev documentation, but when I run ./build/sitl/examples/RCProtocolDecoder -M quad -C, I got the following message in the terminal:
Starting sketch ‘UNKNOWN’
Starting SITL input
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A10596TP-if00-port0: No such file or directory

How can I solve it? Thank you so much!

Look at the file header and the comment on line 78 of libraries/AP_RCProtocol/examples/RCProtocolDecoder/RCProtocolDecoder.cpp

1 Like