|
Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Drive at a given forward speed while turning at a given rate. More...
#include <auterion_sdk/control/surface_vehicle/speed_rate_control.hpp>
Classes | |
| class | Config |
| Mode-wide limits for SpeedRateSetpoint. More... | |
Public Member Functions | |
| SpeedRateSetpoint (float speed_m_s, float heading_rate_rad_s) | |
| SpeedRateSetpoint & | withSpeed (float speed_m_s) |
| Sets the speed along the body x axis [m/s]. Negative drives in reverse. | |
| SpeedRateSetpoint & | withHeadingRate (float heading_rate_rad_s) |
| Sets the yaw rate [rad/s]. Positive turns left (counter-clockwise seen from above). | |
| float | getSpeed () const |
| float | getHeadingRate () const |
Drive at a given forward speed while turning at a given rate.
The flight controller handles speed and turn rate control. Use it for joystick-like control, or when your own controller produces a turn rate from its own heading control.
Frames and units:
Defaults:
Example:
|
inline |
| speed_m_s | Speed along the body x axis [m/s]. Negative drives in reverse. |
| heading_rate_rad_s | Yaw rate [rad/s]. Positive turns left. |