diff --git a/libraries/AP_Mount/AP_Mount_Params.cpp b/libraries/AP_Mount/AP_Mount_Params.cpp index 30d14960a78fe..6b900c61fe557 100644 --- a/libraries/AP_Mount/AP_Mount_Params.cpp +++ b/libraries/AP_Mount/AP_Mount_Params.cpp @@ -172,6 +172,14 @@ const AP_Param::GroupInfo AP_Mount_Params::var_info[] = { // @User: Standard AP_GROUPINFO("_OPTIONS", 16, AP_Mount_Params, options, 0), + // @Param: _OPTIONS + // @DisplayName: Mount override byte + // @Description: Mount override byte + // @User: Standard + AP_GROUPINFO("_OVR_BYTE", 17, AP_Mount_Params, override_byte, 0), + + AP_GROUPINFO("_OVR_VAL", 18, AP_Mount_Params, override_value, 0), + AP_GROUPEND }; diff --git a/libraries/AP_Mount/AP_Mount_Params.h b/libraries/AP_Mount/AP_Mount_Params.h index ccf42c1fe050c..b6cd2e45d54ca 100644 --- a/libraries/AP_Mount/AP_Mount_Params.h +++ b/libraries/AP_Mount/AP_Mount_Params.h @@ -32,4 +32,8 @@ class AP_Mount_Params { AP_Int8 sysid_default; // target sysid for mount to follow AP_Int32 dev_id; // Device id taking into account bus AP_Int8 options; // mount options bitmask + + // debug parameters + AP_Int8 override_byte; // byte to override in the set_attitude command + AP_Int16 override_value; // value to override in the set_attitude command };