autotest: pass kwargs straight through in wait_ekf_args
[ardupilot.git] / Rover / mode_hold.cpp
bloba8d371ce16a3ff70822ffad99401461fae278170
1 #include "Rover.h"
3 void ModeHold::update()
5 float throttle = 0.0f;
7 // if vehicle is balance bot, calculate actual throttle required for balancing
8 if (rover.is_balancebot()) {
9 rover.balancebot_pitch_control(throttle);
12 // relax mainsail
13 g2.sailboat.relax_sails();
15 // hold position - stop motors and center steering
16 g2.motors.set_throttle(throttle);
17 g2.motors.set_steering(0.0f);