Merge branch 'master' of http://gitlab.passervr.com/passer/cpp/roboidcontrol
This commit is contained in:
commit
1b48a061d1
@ -7,14 +7,17 @@ class Quadcopter : public Thing {
|
|||||||
public:
|
public:
|
||||||
Quadcopter();
|
Quadcopter();
|
||||||
|
|
||||||
void LinearMotion(Vector3 velocity, float yawSpeed = 0.0F, float rollSpeed = 0.0);
|
void LinearMotion(Vector3 velocity,
|
||||||
|
float yawSpeed = 0.0F,
|
||||||
|
float rollSpeed = 0.0);
|
||||||
void SetTwistSpeed(float forward, float yaw, float pitch);
|
void SetTwistSpeed(float forward, float yaw, float pitch);
|
||||||
void SetTwistSpeed(Vector3 velocity, float yawSpeed = 0.0F);
|
virtual void SetTwistSpeed(Vector3 velocity, float yawSpeed = 0.0F);
|
||||||
|
|
||||||
Vector3 GetTargetVelocity();
|
Vector3 GetTargetVelocity();
|
||||||
float GetYawSpeed();
|
float GetYawSpeed();
|
||||||
float GetPitchSpeed();
|
float GetPitchSpeed();
|
||||||
float GetRollSpeed();
|
float GetRollSpeed();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Vector3 velocity = Vector3::zero;
|
Vector3 velocity = Vector3::zero;
|
||||||
float pitchSpeed = 0.0F;
|
float pitchSpeed = 0.0F;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user