CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Blimp/mode_manual.cpp
Views: 1798
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