mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
73bdc3be09
or if throttle is positive and desired speed over 0.5m/s
10 lines
189 B
C++
10 lines
189 B
C++
#include "mode.h"
|
|
#include "Rover.h"
|
|
|
|
void ModeHold::update()
|
|
{
|
|
// hold position - stop motors and center steering
|
|
g2.motors.set_throttle(0.0f);
|
|
g2.motors.set_steering(0.0f);
|
|
}
|