mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_MotorsHeli: Whitespace
This commit is contained in:
parent
191ce55e1d
commit
78eb4a840d
@ -68,7 +68,7 @@ public:
|
||||
|
||||
// parameter_check - returns true if helicopter specific parameters are sensible, used for pre-arm check
|
||||
virtual bool parameter_check(bool display_msg) const;
|
||||
|
||||
|
||||
//set turbine start flag on to initiaize starting sequence
|
||||
void set_turb_start(bool turb_start) { _heliflags.start_engine = turb_start; }
|
||||
|
||||
@ -91,22 +91,22 @@ public:
|
||||
bool arot_man_enabled() const { return (_main_rotor._rsc_arot_man_enable.get() == 1) ? true : false; }
|
||||
|
||||
// set_desired_rotor_speed - sets target rotor speed as a number from 0 ~ 1
|
||||
virtual void set_desired_rotor_speed(float desired_speed) = 0;
|
||||
virtual void set_desired_rotor_speed(float desired_speed);
|
||||
|
||||
// get_desired_rotor_speed - gets target rotor speed as a number from 0 ~ 1
|
||||
virtual float get_desired_rotor_speed() const = 0;
|
||||
float get_desired_rotor_speed() const { return _main_rotor.get_desired_speed(); }
|
||||
|
||||
// get_main_rotor_speed - estimated rotor speed when no governor or speed sensor used
|
||||
virtual float get_main_rotor_speed() const = 0;
|
||||
float get_main_rotor_speed() const { return _main_rotor.get_rotor_speed(); }
|
||||
|
||||
// return true if the main rotor is up to speed
|
||||
bool rotor_runup_complete() const { return _heliflags.rotor_runup_complete; }
|
||||
|
||||
//get rotor governor output
|
||||
virtual float get_governor_output() const = 0;
|
||||
float get_governor_output() const { return _main_rotor.get_governor_output(); }
|
||||
|
||||
//get engine throttle output
|
||||
virtual float get_control_output() const = 0;
|
||||
float get_control_output() const { return _main_rotor.get_control_output(); }
|
||||
|
||||
// get_motor_mask - returns a bitmask of which outputs are being used for motors or servos (1 means being used)
|
||||
// this can be used to ensure other pwm outputs (i.e. for servos) do not conflict
|
||||
|
Loading…
Reference in New Issue
Block a user