5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-06 16:08:28 -04:00
ardupilot/Blimp/mode_manual.cpp
2023-08-21 21:01:47 +10:00

17 lines
345 B
C++

#include "Blimp.h"
/*
* Init and run calls for manual flight mode
*/
// Runs the main manual controller
void ModeManual::run()
{
Vector3f pilot;
float pilot_yaw;
get_pilot_input(pilot, pilot_yaw);
motors->right_out = pilot.y;
motors->front_out = pilot.x;
motors->yaw_out = pilot_yaw;
motors->down_out = pilot.z;
}