mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Motors: example sketch uses AP_Motors set_desired_spool_state
This commit is contained in:
parent
d4998089c8
commit
361b64f817
@ -160,7 +160,7 @@ void stability_test()
|
||||
motors.set_roll(pitch_in/4500.0f);
|
||||
motors.set_yaw(yaw_in/4500.0f);
|
||||
motors.set_throttle(throttle_in);
|
||||
motors.set_desired_spool_state(AP_MotorsMulticopter::DESIRED_THROTTLE_UNLIMITED);
|
||||
motors.set_desired_spool_state(AP_Motors::DESIRED_THROTTLE_UNLIMITED);
|
||||
#if HELI_TEST == 0
|
||||
motors.set_throttle_mix_mid();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user