|
Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Drive with a given forward thrust while turning at a given rate. More...
#include <auterion_sdk/control/surface_vehicle/thrust_rate_control.hpp>
Classes | |
| class | Config |
| Mode-wide limits for ThrustRateSetpoint. More... | |
Public Member Functions | |
| ThrustRateSetpoint (float thrust, float heading_rate_rad_s) | |
| ThrustRateSetpoint & | withThrust (float thrust) |
| Sets the normalized thrust along the body x axis [-], in [-1, 1]. Negative drives in reverse. | |
| ThrustRateSetpoint & | withHeadingRate (float heading_rate_rad_s) |
| Sets the yaw rate [rad/s]. Positive turns left (counter-clockwise seen from above). | |
| float | getThrust () const |
| float | getHeadingRate () const |
Drive with a given forward thrust while turning at a given rate.
The flight controller handles turn rate control, the thrust is passed through without speed control. This is the lowest level of control in this API. Use it for joystick-like control without speed control, or when your own controllers handle both speed and heading.
Frames and units:
Defaults:
Example:
|
inline |
| thrust | Normalized thrust along the body x axis [-], in [-1, 1]. Negative drives in reverse. |
| heading_rate_rad_s | Yaw rate [rad/s]. Positive turns left. |