How to send MAVLink messages on the virtual serial port during jmavsim simulation

Hello!

I have a script to extract GPS data from a text file and send MAVlink messages via the serial port. Currently I don't have the hardware and would like to test the functionality through simulation. Could someone tell me which virtual serial port does jmavsim SITL use? I start jmavsim using 'make posix_sitl_default jmavsim' in the PX4 codebase.

I tried sending messages to the /dev/ptmx assuming that it must be the virtual serial port. But I think I am wrong, because the messages do not appear in MAVLink Inspector in qGC.

Could someone please help ?

@Shyam Balasubramanian : Any suggestions?

Thanx in advance!

Views: 423

Reply to This

Replies to This Discussion

Same question.
Do you have some progress?

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service