Hi @cmarq,
I’ve edited your post to include a code block, so it’s easier to read and understand. You can read about that and more in the How to use the Blue Robotics Forums post
You don’t seem to have posted your full code, but from what you’ve provided my main guesses are
- You’re trying to connect with
mavlink.mavlink_connection
instead ofmavutil.mavlink_connection
- You haven’t specified the baudrate you want to connect with, so it’s using Pymavlink’s default of 115200, which won’t work when the port is set to 57600
→ trymaster = mavutil.mavlink_connection("/dev/ttyTHS1", baud=57600)
- Perhaps the
"/dev/ttyTHS1"
device is incorrect
→ you may need to try listing the available devices on your Jetson Nano in case the Pixhawk is showing up at a different one, assuming that’s possible - You may need to send a ping or heartbeat message before it will send messages back
I don’t expect this is a requirement, but it likely doesn’t hurt to try if nothing else is working
Good that you’ve managed to also find a workaround, in case it doesn’t work to directly use the UART port