Browse Source

Configure SCALED_PRESSURE so temperature data is available to QGroundControl

main
jasta 3 years ago committed by Daniel Agar
parent
commit
1603883dc9
  1. 5
      src/modules/mavlink/mavlink_main.cpp

5
src/modules/mavlink/mavlink_main.cpp

@ -1510,6 +1510,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) @@ -1510,6 +1510,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
configure_stream_local("GPS_STATUS", 1.0f);
configure_stream_local("HOME_POSITION", 0.5f);
configure_stream_local("HYGROMETER_SENSOR", 0.1f);
configure_stream_local("SCALED_PRESSURE", 1.0f);
configure_stream_local("LOCAL_POSITION_NED", 1.0f);
configure_stream_local("NAV_CONTROLLER_OUTPUT", 1.0f);
configure_stream_local("OBSTACLE_DISTANCE", 1.0f);
@ -1571,6 +1572,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) @@ -1571,6 +1572,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
configure_stream_local("GPS_STATUS", 1.0f);
configure_stream_local("HOME_POSITION", 0.5f);
configure_stream_local("HYGROMETER_SENSOR", 1.0f);
configure_stream_local("SCALED_PRESSURE", 1.0f);
configure_stream_local("NAV_CONTROLLER_OUTPUT", 10.0f);
configure_stream_local("OPTICAL_FLOW_RAD", 10.0f);
configure_stream_local("ORBIT_EXECUTION_STATUS", 5.0f);
@ -1633,6 +1635,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) @@ -1633,6 +1635,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
configure_stream_local("GPS_RAW_INT", 1.0f);
configure_stream_local("HOME_POSITION", 0.5f);
configure_stream_local("HYGROMETER_SENSOR", 1.0f);
configure_stream_local("SCALED_PRESSURE", 1.0f);
configure_stream_local("NAV_CONTROLLER_OUTPUT", 1.5f);
configure_stream_local("OPTICAL_FLOW_RAD", 1.0f);
configure_stream_local("ORBIT_EXECUTION_STATUS", 5.0f);
@ -1669,6 +1672,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) @@ -1669,6 +1672,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
configure_stream_local("GPS_RAW_INT", 1.0f);
configure_stream_local("HOME_POSITION", 0.5f);
configure_stream_local("HYGROMETER_SENSOR", 0.1f);
configure_stream_local("SCALED_PRESSURE", 1.0f);
configure_stream_local("RC_CHANNELS", 5.0f);
configure_stream_local("SERVO_OUTPUT_RAW_0", 1.0f);
configure_stream_local("SYS_STATUS", 5.0f);
@ -1716,6 +1720,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) @@ -1716,6 +1720,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
configure_stream_local("HIGHRES_IMU", 50.0f);
configure_stream_local("HOME_POSITION", 0.5f);
configure_stream_local("HYGROMETER_SENSOR", 1.0f);
configure_stream_local("SCALED_PRESSURE", 1.0f);
configure_stream_local("MAG_CAL_REPORT", 1.0f);
configure_stream_local("MANUAL_CONTROL", 5.0f);
configure_stream_local("NAV_CONTROLLER_OUTPUT", 10.0f);

Loading…
Cancel
Save