mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 23:33:34 +08:00
kconfig: Add option to enable figure of eight support
This commit is contained in:
@@ -1444,7 +1444,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
|
||||
configure_stream_local("DEBUG_VECT", 1.0f);
|
||||
configure_stream_local("NAMED_VALUE_FLOAT", 1.0f);
|
||||
configure_stream_local("LINK_NODE_STATUS", 1.0f);
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
configure_stream_local("FIGURE_EIGHT_EXECUTION_STATUS", 5.0f);
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
#endif // !CONSTRAINED_FLASH
|
||||
|
||||
break;
|
||||
@@ -1510,7 +1512,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
|
||||
configure_stream_local("DEBUG_VECT", 10.0f);
|
||||
configure_stream_local("NAMED_VALUE_FLOAT", 10.0f);
|
||||
configure_stream_local("LINK_NODE_STATUS", 1.0f);
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
configure_stream_local("FIGURE_EIGHT_EXECUTION_STATUS", 5.0f);
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
#endif // !CONSTRAINED_FLASH
|
||||
|
||||
break;
|
||||
@@ -1572,7 +1576,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
|
||||
configure_stream_local("DEBUG_VECT", 1.0f);
|
||||
configure_stream_local("NAMED_VALUE_FLOAT", 1.0f);
|
||||
configure_stream_local("LINK_NODE_STATUS", 1.0f);
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
configure_stream_local("FIGURE_EIGHT_EXECUTION_STATUS", 2.0f);
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
#endif // !CONSTRAINED_FLASH
|
||||
|
||||
break;
|
||||
@@ -1666,7 +1672,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
|
||||
configure_stream_local("DEBUG_VECT", 50.0f);
|
||||
configure_stream_local("NAMED_VALUE_FLOAT", 50.0f);
|
||||
configure_stream_local("LINK_NODE_STATUS", 1.0f);
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
configure_stream_local("FIGURE_EIGHT_EXECUTION_STATUS", 5.0f);
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
#endif // !CONSTRAINED_FLASH
|
||||
|
||||
break;
|
||||
@@ -1744,7 +1752,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream)
|
||||
configure_stream_local("DEBUG_FLOAT_ARRAY", 1.0f);
|
||||
configure_stream_local("DEBUG_VECT", 1.0f);
|
||||
configure_stream_local("NAMED_VALUE_FLOAT", 1.0f);
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
configure_stream_local("FIGURE_EIGHT_EXECUTION_STATUS", 5.0f);
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
#endif // !CONSTRAINED_FLASH
|
||||
break;
|
||||
|
||||
|
||||
@@ -120,7 +120,9 @@
|
||||
#include "streams/VFR_HUD.hpp"
|
||||
#include "streams/VIBRATION.hpp"
|
||||
#include "streams/WIND_COV.hpp"
|
||||
#ifdef CONFIG_FIGURE_OF_EIGHT
|
||||
#include "streams/FIGURE_EIGHT_EXECUTION_STATUS.hpp"
|
||||
#endif // CONFIG_FIGURE_OF_EIGHT
|
||||
|
||||
#if !defined(CONSTRAINED_FLASH)
|
||||
# include "streams/ADSB_VEHICLE.hpp"
|
||||
|
||||
Reference in New Issue
Block a user