mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 23:33:34 +08:00
MAVLink: Enable 4 streams and fix OSD rate configuration
This commit is contained in:
@@ -41,7 +41,7 @@ px4_add_module(
|
||||
${MODULE_CFLAGS}
|
||||
-Wno-attributes
|
||||
-Wno-packed
|
||||
-DMAVLINK_COMM_NUM_BUFFERS=3
|
||||
-DMAVLINK_COMM_NUM_BUFFERS=4
|
||||
-Wno-packed
|
||||
-Wno-tautological-constant-out-of-range-compare
|
||||
-Os
|
||||
|
||||
@@ -1802,7 +1802,6 @@ Mavlink::task_main(int argc, char *argv[])
|
||||
configure_stream("GLOBAL_POSITION_INT", 10.0f);
|
||||
configure_stream("HOME_POSITION", 0.5f);
|
||||
configure_stream("ATTITUDE_TARGET", 10.0f);
|
||||
configure_stream("BATTERY_STATUS", 1.0f);
|
||||
configure_stream("SYSTEM_TIME", 1.0f);
|
||||
configure_stream("RC_CHANNELS", 5.0f);
|
||||
configure_stream("SERVO_OUTPUT_RAW_0", 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user