Configuring Real-Time MAVLink

I don’t know if this should be in QGC or PX4?

I’m looking to configure the flight software/QGC so that I get as many of the following uorb messages as possible from the MAVLink real-time messages in case the vehicle crashes and I lose the on board telemetry. I have gone through all the messages from the default common.xml real-time messages and there is some overlap but it’s missing some of the actuator/cmd data. What’s the best way to configure the vehicle to output at least the following uorb messages as realtime MAVLink in QGC?

estimator_global_position
position_setpoint_triplet
trajectory_setpoint
vehicle_local_position_setpoint
sensor_gps
vehicle_attitude
vehicle_attitude_setpoint
vehicle_rates_setpoint
actuator_outputs
vehicle_magnetometer
vehicle_acceleration
vehicle_angular_velocity

Hello!

You could play with parameter MAV_0_MODE which sets different mavlink messages with different rates. If you want to change rate in particular set, you’ll have to configure streams in source code. Those rates are pre-defined.

1 Like