Dependents:   OBROT_ALL

Revision:
0:57ef16865c0b
Child:
1:e541c8ebe96b
diff -r 000000000000 -r 57ef16865c0b Command.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Command.h	Sat Aug 15 12:52:19 2015 +0000
@@ -0,0 +1,38 @@
+#ifndef INCLUDED_COMMAND_H
+#define INCLUDED_COMMAND_H
+
+#include "Steering.h"
+
+class Command{
+public:
+    Command( Steering::ActionType action, float moveDirection_rad, float moveDuty, float roll ) :
+    mActionType( action ),
+    mMoveDirection_rad( moveDirection_rad ),
+    mMoveDuty( moveDuty ),
+    mRollCoeff( roll ){
+    }
+    
+    Steering::ActionType getActionType(){
+        return mActionType;
+    }
+    
+    float getMoveDirection_rad(){
+        return mMoveDirection_rad;
+    }
+    
+    float getMoveDuty(){
+        return mMoveDuty;
+    }
+    
+    float getRollCoeff(){
+        return mRollCoeff;
+    }
+    
+private:
+    Steering::ActionType mActionType;
+    float mMoveDirection_rad;
+    float mMoveDuty;
+    float mRollCoeff;
+};
+
+#endif