Question: Can Pixhawk4 mini be controlled by a companion computer?

I have Pixhawk 4 mini and I would like to connect it to a raspberry pi or Jetson, but i read that the connection is usually done via TELEM2 port, which the Pixhawk mini doesnt have, can it still be done via other connections?

Thank you very much,
Max

It can be done via Telem1 port but then you can’t use Telem1 for whatever radio you would be using to the ground station and need to somehow connect that to the RPi. On there you can use e.g. mavlink-router to split up the mavlink connection into one part going to your program and the telemetry/serial/IP link.

To configure Telem1, check: https://dev.px4.io/master/en/advanced/parameter_reference.html#mavlink

Thank you for your comment,
Why cant I configure uart port to connect with my companion computer?
Is this possible?

That could work too.

When i configure MAV_1/2_CONFIG to UART6 it doesn’t let me change MAV_1/2_FORWARD/MODE/RATE params, which are required to be changed in order to connect to onboard computer. what can I do? Is this even possible?

Thank you,
Max

Odd. Even after a restart?

Yeah :frowning: and if I configure MAV_1/2_CONFIG to be telem1 it shows me forward/ rate/ mode options

Late to the party, but docs to set up MAVLink on a serial port are here: http://docs.px4.io/master/en/peripherals/mavlink_peripherals.html

Thank you for your reply, but I couldn’t configure any MAVLink on the UART port on pixhawk4 mini

Pixhawk mini or Pixhawk 4 mini - you mentioned both in this thread? Assuming Pixhawk 4 mini, it should work on TELEM1, TELEM2, UART4: http://docs.px4.io/master/en/flight_controller/pixhawk4_mini.html#serial-port-mapping - UART 6 has a note there about the TX perhaps being used for something else.

YOu may have to change the config to the UART you want first, and then reboot before the rate params show.

1 Like

Thank you, It works on UART4

You are very welcome!

1 Like