mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduCopter: split AP_HAL_SITL and AP_SIM_ENABLED
This commit is contained in:
parent
0bcda3c57e
commit
df6efc37ac
@ -426,7 +426,7 @@ const AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = {
|
|||||||
|
|
||||||
// @Param: EXTRA1
|
// @Param: EXTRA1
|
||||||
// @DisplayName: Extra data type 1 stream rate to ground station
|
// @DisplayName: Extra data type 1 stream rate to ground station
|
||||||
// @Description: Stream rate of ATTITUDE, SIMSTATE (SITL only), AHRS2 and PID_TUNING to ground station
|
// @Description: Stream rate of ATTITUDE, SIMSTATE (SIM only), AHRS2 and PID_TUNING to ground station
|
||||||
// @Units: Hz
|
// @Units: Hz
|
||||||
// @Range: 0 50
|
// @Range: 0 50
|
||||||
// @Increment: 1
|
// @Increment: 1
|
||||||
|
@ -610,7 +610,7 @@ const AP_Param::Info Copter::var_info[] = {
|
|||||||
GOBJECT(sprayer, "SPRAY_", AC_Sprayer),
|
GOBJECT(sprayer, "SPRAY_", AC_Sprayer),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if AP_SIM_ENABLED
|
||||||
// @Group: SIM_
|
// @Group: SIM_
|
||||||
// @Path: ../libraries/SITL/SITL.cpp
|
// @Path: ../libraries/SITL/SITL.cpp
|
||||||
GOBJECT(sitl, "SIM_", SITL::SIM),
|
GOBJECT(sitl, "SIM_", SITL::SIM),
|
||||||
|
Loading…
Reference in New Issue
Block a user