Sub: Complete motor reversing parameters.
Added the parameter stuff needed to actually include the parameters and make them updatable by the GCS.
This commit is contained in:
parent
47e6f37183
commit
08a4bfc832
@ -1037,6 +1037,11 @@ const AP_Param::Info Sub::var_info[] = {
|
||||
// @Path: ../libraries/AP_Motors/AP_MotorsTri.cpp
|
||||
GOBJECT(motors, "MOT_", AP_MotorsTri),
|
||||
|
||||
#elif FRAME_CONFIG == BLUEROV
|
||||
// @Group: MOT_
|
||||
// @Path: ../libraries/AP_Motors/AP_Motors6DOF.cpp
|
||||
GOBJECT(motors, "MOT_", AP_Motors6DOF),
|
||||
|
||||
#else
|
||||
// @Group: MOT_
|
||||
// @Path: ../libraries/AP_Motors/AP_MotorsMulticopter.cpp
|
||||
|
@ -20,7 +20,9 @@ public:
|
||||
/// Constructor
|
||||
AP_Motors6DOF(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) :
|
||||
AP_MotorsMatrix(loop_rate, speed_hz)
|
||||
{};
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
};
|
||||
|
||||
void output_min() override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user