Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Blimp/mode_manual.cpp
9447 views
1
#include "Blimp.h"
2
/*
3
* Init and run calls for manual flight mode
4
*/
5
6
// Runs the main manual controller
7
void ModeManual::run()
8
{
9
Vector3f pilot;
10
float pilot_yaw;
11
get_pilot_input(pilot, pilot_yaw);
12
motors->right_out = pilot.y;
13
motors->front_out = pilot.x;
14
motors->yaw_out = pilot_yaw;
15
motors->down_out = pilot.z;
16
}
17
18