Make override possible
This commit is contained in:
parent
8d3cfdfa51
commit
1f42253457
31
Quadcopter.h
31
Quadcopter.h
@ -4,20 +4,23 @@
|
||||
#include "Vector3.h"
|
||||
|
||||
class Quadcopter : public Thing {
|
||||
public:
|
||||
Quadcopter();
|
||||
public:
|
||||
Quadcopter();
|
||||
|
||||
void LinearMotion(Vector3 velocity, float yawSpeed = 0.0F, float rollSpeed = 0.0);
|
||||
void SetTwistSpeed(float forward, float yaw, float pitch);
|
||||
void SetTwistSpeed(Vector3 velocity, float yawSpeed = 0.0F);
|
||||
void LinearMotion(Vector3 velocity,
|
||||
float yawSpeed = 0.0F,
|
||||
float rollSpeed = 0.0);
|
||||
void SetTwistSpeed(float forward, float yaw, float pitch);
|
||||
virtual void SetTwistSpeed(Vector3 velocity, float yawSpeed = 0.0F);
|
||||
|
||||
Vector3 GetTargetVelocity();
|
||||
float GetYawSpeed();
|
||||
float GetPitchSpeed();
|
||||
float GetRollSpeed();
|
||||
protected:
|
||||
Vector3 velocity = Vector3::zero;
|
||||
float pitchSpeed = 0.0F;
|
||||
float yawSpeed = 0.0F;
|
||||
float rollSpeed = 0.0F;
|
||||
Vector3 GetTargetVelocity();
|
||||
float GetYawSpeed();
|
||||
float GetPitchSpeed();
|
||||
float GetRollSpeed();
|
||||
|
||||
protected:
|
||||
Vector3 velocity = Vector3::zero;
|
||||
float pitchSpeed = 0.0F;
|
||||
float yawSpeed = 0.0F;
|
||||
float rollSpeed = 0.0F;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user