Browse Source

AR_MotorsUGV: convert to 32 bit motor mask

apm_2208
Iampete1 3 years ago committed by Andrew Tridgell
parent
commit
117b67c9e2
  1. 4
      libraries/AR_Motors/AP_MotorsUGV.h

4
libraries/AR_Motors/AP_MotorsUGV.h

@ -107,7 +107,7 @@ public: @@ -107,7 +107,7 @@ public:
bool pre_arm_check(bool report) const;
// return the motor mask
uint16_t get_motor_mask() const { return _motor_mask; }
uint32_t get_motor_mask() const { return _motor_mask; }
// returns true if the configured PWM type is digital and should have fixed endpoints
bool is_digital_pwm_type() const;
@ -216,7 +216,7 @@ private: @@ -216,7 +216,7 @@ private:
float _mainsail; // requested mainsail input as a value from 0 to 100
float _wingsail; // requested wing sail input as a value in the range +- 100
float _mast_rotation; // requested mast rotation input as a value in the range +- 100
uint16_t _motor_mask; // mask of motors configured with pwm_type
uint32_t _motor_mask; // mask of motors configured with pwm_type
frame_type _frame_type; // frame type requested at initialisation
// omni variables

Loading…
Cancel
Save