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!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Same question.
    Do you have some progress?

This reply was deleted.


David Hori liked Isabella Domi's profile
Jan 12
gotham liked gotham's profile
Dec 3, 2020