Skip to content

Commit

Permalink
SITL: correct documentation metadata for FETTechOneWireESC and Richen…
Browse files Browse the repository at this point in the history
…Power and IE24

.... we had documentation for these parameters but it wasn't being used!
  • Loading branch information
peterbarker committed Jan 24, 2025
1 parent 6413da9 commit 00c1f14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
7 changes: 0 additions & 7 deletions Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2559,11 +2559,6 @@ def test_adsb_send_threatening_adsb_message(self, here, offset_ne=None):
def get_sim_parameter_documentation_get_whitelist(self):
# common parameters
ret = set([
"SIM_FTOWESC_ENA",
"SIM_FTOWESC_POW",
"SIM_IE24_ENABLE",
"SIM_IE24_ERROR",
"SIM_IE24_STATE",
"SIM_IMUT1_ACC1_X",
"SIM_IMUT1_ACC1_Y",
"SIM_IMUT1_ACC1_Z",
Expand Down Expand Up @@ -2704,8 +2699,6 @@ def get_sim_parameter_documentation_get_whitelist(self):
"SIM_MAG1_OFS_Z",
"SIM_PARA_ENABLE",
"SIM_PARA_PIN",
"SIM_RICH_CTRL",
"SIM_RICH_ENABLE",
"SIM_SHIP_DSIZE",
"SIM_SHIP_ENABLE",
"SIM_SHIP_OFS_X",
Expand Down
2 changes: 1 addition & 1 deletion libraries/SITL/SIM_FETtecOneWireESC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const AP_Param::GroupInfo FETtecOneWireESC::var_info[] = {
// @User: Advanced
AP_GROUPINFO("ENA", 1, FETtecOneWireESC, _enabled, 0),

// @Param: PWOF
// @Param: POW
// @DisplayName: Power off FETtec ESC mask
// @Description: Allows you to turn power off to the simulated ESCs. Bits correspond to the ESC ID, *NOT* their servo channel.
// @User: Advanced
Expand Down
2 changes: 1 addition & 1 deletion libraries/SITL/SIM_RichenPower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const AP_Param::GroupInfo RichenPower::var_info[] = {
// @User: Advanced
AP_GROUPINFO("ENABLE", 0, RichenPower, _enabled, 0),

// @Param: CTRL_PIN
// @Param: CTRL
// @DisplayName: Pin RichenPower is connectred to
// @Description: The pin number that the RichenPower spinner servo is connected to. (start at 1)
// @Range: 0 15
Expand Down
3 changes: 3 additions & 0 deletions libraries/SITL/SITL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,12 +628,15 @@ const AP_Param::GroupInfo SIM::var_info3[] = {
// @Description: Number of simulated IMUs to create
AP_GROUPINFO("IMU_COUNT", 23, SIM, imu_count, 2),

// @Group: FTOWESC_
// @Path: ./SIM_FETtecOneWireESC.cpp
AP_SUBGROUPINFO(fetteconewireesc_sim, "FTOWESC_", 30, SIM, FETtecOneWireESC),

// @Group: RICH_
// @Path: ./SIM_RichenPower.cpp
AP_SUBGROUPINFO(richenpower_sim, "RICH_", 31, SIM, RichenPower),

// @Group: IE24_
// @Path: ./SIM_IntelligentEnergy24.cpp
AP_SUBGROUPINFO(ie24_sim, "IE24_", 32, SIM, IntelligentEnergy24),

Expand Down

0 comments on commit 00c1f14

Please sign in to comment.