rpos::actions::VelocityControlMoveAction 类
VelocityControlMoveAction类表示设置机器人速度的一个动作,由vx,vy,omega三个成员组成。
头文件
rpos/features/motion_planner/velocity_control_move_action.h
适用于
- Slamware
父类
- 继承自 rpos::core::MoveAction 类
构造器
/**
*默认构造函数。
*/
VelocityControlMoveAction();
/**
*该构造器仅供 SDK 内部使用。
*/
VelocityControlMoveAction(boost::shared_ptr<impl_t> impl);
/**
*拷贝构造函数。
*/
VelocityControlMoveAction(const VelocityControlMoveAction&);
/**
*移动构造函数。
*/
VelocityControlMoveAction(VelocityControlMoveAction&&);
运算符
/**
*赋值运算符。
*/
VelocityControlMoveAction& operator=(const VelocityControlMoveAction&);
方法
/**
*设置机器人的速度。
*/
void setVelocity(float vx, float vy, float omega);