44 #include "FlightTaskManualAltitudeSmooth.hpp" 91 matrix::Vector2f _center;
94 const float _radius_min = 1.f;
95 const float _radius_max = 100.f;
96 const float _velocity_max = 10.f;
97 const float _acceleration_max = 2.f;
bool activate() override
Call once on the event where you switch to the task.
Definition: FlightTaskOrbit.cpp:150
bool update() override
To be called regularly in the control loop cycle to execute the task.
Definition: FlightTaskOrbit.cpp:169
bool applyCommandParameters(const vehicle_command_s &command) override
To be called to adopt parameters from an arrived vehicle command.
Definition: FlightTaskOrbit.cpp:55
bool setVelocity(const float v)
Change the velocity of the vehicle on the circle.
Definition: FlightTaskOrbit.cpp:134
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
Definition: uORB.h:134
bool checkAcceleration(float r, float v, float a)
Check the feasibility of orbit parameters with respect to centripetal acceleration a = v^2 / r...
Definition: FlightTaskOrbit.cpp:145
bool setRadius(const float r)
Change the radius of the circle.
Definition: FlightTaskOrbit.cpp:120
Definition: FlightTaskManualAltitudeSmooth.hpp:45
API for the uORB lightweight object broker.
Definition: FlightTaskOrbit.hpp:47
bool sendTelemetry()
Send out telemetry information for the log and MAVLink.
Definition: FlightTaskOrbit.cpp:98