SITL: add SIM_ESC_TELEM

This commit is contained in:
Andy Piper 2021-03-06 20:58:29 +00:00 committed by Andrew Tridgell
parent 8e744a4a25
commit 15fe14289d
2 changed files with 5 additions and 0 deletions

View File

@ -265,6 +265,8 @@ const AP_Param::GroupInfo SITL::var_info3[] = {
// @Units: m
// @User: Advanced
AP_GROUPINFO("ESC_TELEM", 40, SITL, esc_telem, 1),
// user settable parameters for the 1st airspeed sensor
AP_GROUPINFO("ARSPD_RND", 50, SITL, arspd_noise[0], 2.0),
AP_GROUPINFO("ARSPD_OFS", 51, SITL, arspd_offset[0], 2013),

View File

@ -415,6 +415,9 @@ public:
RichenPower richenpower_sim;
IntelligentEnergy24 ie24_sim;
// ESC telemetry
AP_Int8 esc_telem;
struct {
// LED state, for serial LED emulation
struct {