ardupilot/Rover/Steering.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
488 B
C++
Raw Normal View History

2015-05-13 00:16:45 -03:00
#include "Rover.h"
/*****************************************
Set the flight control servos based on the current calculated values
*****************************************/
void Rover::set_servos(void)
{
// send output signals to motors
2017-07-14 23:59:28 -03:00
if (motor_test) {
motor_test_output();
} else {
// get ground speed
2024-05-11 05:38:39 -03:00
float speed = 0.0f;
g2.attitude_control.get_forward_speed(speed);
g2.motors.output(arming.is_armed(), speed, G_Dt);
2017-07-14 23:59:28 -03:00
}
}