RoboidControl-cpp/Quadcopter.h
2023-11-10 15:37:35 +01:00

22 lines
480 B
C++

#pragma once
#include "Thing.h"
#include "Vector3.h"
class Quadcopter : public Thing {
public:
Quadcopter();
void LinearMotion(Vector3 velocity, float yawSpeed = 0.0F, float rollSpeed = 0.0);
void SetTwistSpeed(float forward, float yaw, float pitch);
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;
};