rpos::core::ACTION_DIRECTION Enum Type
ACTION_DIRECTION contains all available robot movement direction.
Header Files
rpos/core/pose.h
Applies to
- Slamware
Items
Item | Description |
---|---|
FORWARD |
move forward |
BACKWARD |
move backward |
TURNRIGHT |
turn right |
TURNLEFT |
turn left |
INVALIDDIRECTION |
no meaning |
rpos::core::Direction Class
Direction represent robot move direction
Header Files
rpos/core/pose.h
Applies to
- Slamware
Constructors
/**
* define a Direction object, move forward default.
*/
Direction(ACTION_DIRECTION direction = FORWARD);
Operators
/**
* Assignement operator.
*/
Direction& operator=(const Direction&);
/**
* overload operator.
*/
bool operator==(const Location&) const;
方法
/**
* robot move direction.
*/
ACTION_DIRECTION direction() const;
ACTION_DIRECTION& direction();