mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
FlightTask StraightLine: set origin and target at the same time
This avoids issues with reseting/calculating the max vel/acc
This commit is contained in:
committed by
Lorenz Meier
parent
9e8c3ff0dc
commit
ccd8a47015
@@ -51,8 +51,7 @@ public:
|
||||
~StraightLine() = default;
|
||||
|
||||
// setter functions
|
||||
void setTarget(const matrix::Vector3f &target);
|
||||
void setOrigin(const matrix::Vector3f &origin);
|
||||
void setLineFromTo(const matrix::Vector3f &origin, const matrix::Vector3f &target);
|
||||
void setSpeed(const float &speed);
|
||||
void setSpeedAtTarget(const float &speed_at_target);
|
||||
void setAcceleration(const float &acc);
|
||||
|
||||
Reference in New Issue
Block a user