Dependents:   OBROT_ALL

Command.h

Committer:
inst
Date:
2015-08-15
Revision:
0:57ef16865c0b
Child:
1:e541c8ebe96b

File content as of revision 0:57ef16865c0b:

#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