From 27c262b037e26f3eccce0f3880d2d972e6716557 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Apr 2021 11:58:31 +1000 Subject: [PATCH] SITL: add documentation fo rsimulated barometers --- libraries/SITL/SITL.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libraries/SITL/SITL.cpp b/libraries/SITL/SITL.cpp index 3bad672032..9ae96f26cd 100644 --- a/libraries/SITL/SITL.cpp +++ b/libraries/SITL/SITL.cpp @@ -226,6 +226,18 @@ const AP_Param::GroupInfo SITL::var_info3[] = { AP_SUBGROUPINFO(baro[1], "BAR2_", 35, SITL, SITL::BaroParm), AP_SUBGROUPINFO(baro[2], "BAR3_", 36, SITL, SITL::BaroParm), + // user settable parameters for the 1st barometer + // @Param: BARO_RND, BAR2_RND, BAR3_RND + // @DisplayName: Baro Noise + // @Description: amount of (evenly-distributed) noise injected into the 1st baro + // @Units: m + // @User: Advanced + + // @Param: BARO_GLITCH,BAR2_GLITCH, BAR3_GLITCH + // @DisplayName: Baro Glitch + // @Description: user-settable 1st-barometer glitch + // @Units: m + // @User: Advanced // user settable parameters for the 1st airspeed sensor AP_GROUPINFO("ARSPD_RND", 50, SITL, arspd_noise[0], 2.0),