HITL with voxl 2
-
@Tamas-Pal-0 For UART it is just GND, TX, and RX
-
@Eric-Katzfey you mean we only have to connect 3 pins in j18 port ?
-
@Tamas-Pal-0 Yes, the fourth pin is power and we don't want that one.
-
Is there any way to verify that FTDI cable is connected properly with J18 port ?
-
@Tamas-Pal-0 The easiest way would be to recompile the modalai_dsp PX4 driver to add more debug messages. But if you aren't comfortable with that then we'll need to come up with something else.
-
How to do that? Is there any other way to this ?
-
@Tamas-Pal-0 The simulator will be sending heartbeat messages out over the serial cable. You can use the
screen
program to see if anything is coming from voxl 2 in the serial cable. -
@Eric-Katzfey How to use screen program in this case ?
-
@Tamas-Pal-0
screen
is just a standard Linux program. There are many ways to check the output of the serial port. To start, you could always just docat /dev/ttyUSB0
and see if anything is coming out. This post shows how to get a hex dump: https://superuser.com/questions/1402386/view-serial-device-output-in-console-in-hex -
The problem is solved. The problem was with ftdi cable. Thank you for your valuable inputs
-
@Tamas-Pal-0 Excellent! How were you able to determine that it was the cable?
-
@Eric-Katzfey @Tamas-Pal-0 For future users troubleshooting HITL setup, I was having the same issue as above. This cable would not allow me to set the latency or share data with the VOXL 2 through J18 port, but this cable works as intended.
-
@Taylor-Presley Right. Some cables work some don't.