mirror of https://github.com/ArduPilot/ardupilot
AP_Motors_test: Adapt to test bench available
This commit is contained in:
parent
df14318bbd
commit
d43c1cc544
|
@ -31,6 +31,7 @@
|
|||
#include <AP_Vehicle.h>
|
||||
#include <AP_ADC_AnalogSource.h>
|
||||
#include <AP_Mission.h>
|
||||
#include <AP_NavEKF.h>
|
||||
|
||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||
|
||||
|
@ -53,7 +54,8 @@ void setup()
|
|||
|
||||
// motor initialisation
|
||||
motors.set_update_rate(490);
|
||||
motors.set_frame_orientation(AP_MOTORS_X_FRAME);
|
||||
// motors.set_frame_orientation(AP_MOTORS_X_FRAME);
|
||||
motors.set_frame_orientation(AP_MOTORS_PLUS_FRAME);
|
||||
motors.set_min_throttle(130);
|
||||
motors.set_mid_throttle(500);
|
||||
motors.Init(); // initialise motors
|
||||
|
|
Loading…
Reference in New Issue