![]() |
RMVL
2.5.0-dev
Robotic Manipulation and Vision Library
|
机器人控制模块 更多...
#include <rmvl/lpss/robot.hpp>
Public 成员函数 | |
| RobotController (const std::vector< std::string > &joint_names, ctl::ControlLawBase::ptr ctl_law=ctl::UnitTF::create()) | |
| 构造机器人控制器 | |
| bool | submit (const msg::JointTrajectory &traj) |
| 提交待执行关节轨迹 | |
| void | reset () noexcept |
| 重置控制器状态,清空轨迹缓存,用于设置新轨迹前的状态清理 | |
| msg::JointState | sample (const msg::JointState &feedback={}) noexcept |
| 采样并得到控制系统的输入值 | |
机器人控制模块
| rm::lpss::RobotController::RobotController | ( | const std::vector< std::string > & | joint_names, |
| ctl::ControlLawBase::ptr | ctl_law = ctl::UnitTF::create() ) |
构造机器人控制器
| [in] | joint_names | 机器人关节名称列表,必须是 RobotPlanner 管理的关节集合的非空子集 |
| [in] | ctl_law | 控制律对象指针,默认为单位传递函数配合位置映射 |
|
noexcept |
重置控制器状态,清空轨迹缓存,用于设置新轨迹前的状态清理
|
noexcept |
| bool rm::lpss::RobotController::submit | ( | const msg::JointTrajectory & | traj | ) |
提交待执行关节轨迹
将自动完成轨迹校验,包括:
| [in] | traj | 输入关节轨迹 |