|
Firmware
|
Public Member Functions | |
| ManualSmoothingZ (ModuleParams *parent, const float &vel, const float &stick) | |
| void | smoothVelFromSticks (float &vel_sp, const float dt) |
| Smooth velocity setpoint based on flight direction. More... | |
| float | getMaxAcceleration () |
| Get max accleration. | |
| ManualIntentionZ | getIntention () |
| Get user intention. More... | |
| void | overwriteAccelerationUp (float acc_max_up) |
| void | overwriteAccelerationDown (float acc_max_down) |
| void | overwriteJerkMax (float jerk_max) |
Public Member Functions inherited from ModuleParams | |
| ModuleParams (ModuleParams *parent) | |
| void | setParent (ModuleParams *parent) |
| Sets the parent module. More... | |
| ModuleParams (const ModuleParams &)=delete | |
| ModuleParams & | operator= (const ModuleParams &)=delete |
| ModuleParams (ModuleParams &&)=delete | |
| ModuleParams & | operator= (ModuleParams &&)=delete |
Public Member Functions inherited from ListNode< ModuleParams *> | |
| void | setSibling (ModuleParams * sibling) |
| const ModuleParams * | getSibling () const |
Additional Inherited Members | |
Protected Member Functions inherited from ModuleParams | |
| virtual void | updateParams () |
| Call this method whenever the module gets a parameter change notification. More... | |
| virtual void | updateParamsImpl () |
| The implementation for this is generated with the macro DEFINE_PARAMETERS() | |
Protected Attributes inherited from ListNode< ModuleParams *> | |
| ModuleParams * | _sibling |
|
inline |
Get user intention.
| void ManualSmoothingZ::smoothVelFromSticks | ( | float & | vel_sp, |
| const float | dt | ||
| ) |
Smooth velocity setpoint based on flight direction.
| vel_sp[2] | array: vel_sp[0] = current velocity set-point; vel_sp[1] = previous velocity set-point vel_sp will contain smoothed current / previous set-point. |
| dt | time delta in seconds |
1.8.12