mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Sub:add RSSI params
This commit is contained in:
committed by
Peter Barker
parent
044f1ccf9f
commit
81ae61ceec
@@ -708,6 +708,12 @@ const AP_Param::Info Sub::var_info[] = {
|
||||
GOBJECT(rpm_sensor, "RPM", AP_RPM),
|
||||
#endif
|
||||
|
||||
#if AP_RSSI_ENABLED
|
||||
// @Group: RSSI_
|
||||
// @Path: ../libraries/AP_RSSI/AP_RSSI.cpp
|
||||
GOBJECT(rssi, "RSSI_", AP_RSSI),
|
||||
#endif
|
||||
|
||||
// @Group: NTF_
|
||||
// @Path: ../libraries/AP_Notify/AP_Notify.cpp
|
||||
GOBJECT(notify, "NTF_", AP_Notify),
|
||||
|
||||
@@ -219,6 +219,9 @@ public:
|
||||
k_param_flight_mode6,
|
||||
k_param_simple_modes,
|
||||
k_param_flight_mode_chan,
|
||||
#if AP_RSSI_ENABLED
|
||||
k_param_rssi,
|
||||
#endif
|
||||
|
||||
// Acro Mode parameters
|
||||
k_param_acro_yaw_p = 220, // Used in all modes for get_pilot_desired_yaw_rate
|
||||
@@ -366,7 +369,7 @@ public:
|
||||
AP_Int8 flight_mode6;
|
||||
AP_Int8 simple_modes;
|
||||
AP_Int8 flight_mode_chan;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
AP_Float surface_depth;
|
||||
AP_Int8 frame_configuration;
|
||||
|
||||
Reference in New Issue
Block a user