mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
AR_MotorsUGV: convert to 32 bit motor mask
This commit is contained in:
parent
43832649ec
commit
117b67c9e2
@ -107,7 +107,7 @@ public:
|
|||||||
bool pre_arm_check(bool report) const;
|
bool pre_arm_check(bool report) const;
|
||||||
|
|
||||||
// return the motor mask
|
// 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
|
// returns true if the configured PWM type is digital and should have fixed endpoints
|
||||||
bool is_digital_pwm_type() const;
|
bool is_digital_pwm_type() const;
|
||||||
@ -216,7 +216,7 @@ private:
|
|||||||
float _mainsail; // requested mainsail input as a value from 0 to 100
|
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 _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
|
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
|
frame_type _frame_type; // frame type requested at initialisation
|
||||||
|
|
||||||
// omni variables
|
// omni variables
|
||||||
|
Loading…
Reference in New Issue
Block a user