mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 23:43:34 +08:00
Sticks : Add utility functions to get pitch, roll, throttle and yaw values intuitively and rename ambiguously named function checkAndSetStickInputs()
This commit is contained in:
committed by
Matthias Grob
parent
db7430aa65
commit
8266a4df98
@@ -44,7 +44,7 @@ Sticks::Sticks(ModuleParams *parent) :
|
||||
ModuleParams(parent)
|
||||
{}
|
||||
|
||||
bool Sticks::checkAndSetStickInputs()
|
||||
bool Sticks::checkAndUpdateStickInputs()
|
||||
{
|
||||
// Sticks are rescaled linearly and exponentially to [-1,1]
|
||||
manual_control_setpoint_s manual_control_setpoint;
|
||||
|
||||
Reference in New Issue
Block a user