Motion control command struct for general device-robot teleop.
More...
#include <data.hpp>
|
| void | read (std::array< double, kPoseSize > &out_pose, std::array< double, kCartDoF > &out_velocity, std::array< double, kCartDoF > &out_acceleration) const |
| | Tread-safe read function: copy data to output parameters.
|
| void | write (const std::array< double, kPoseSize > &in_pose, const std::array< double, kCartDoF > &in_velocity, const std::array< double, kCartDoF > &in_acceleration) |
| | Thread-safe write function: copy the input parameters to member variables.
|
| void | zero () |
| | Thread-safe zero function: set all data to 0.
|
Definition at line 110 of file data.hpp.
◆ read()
| void flexiv::tdk::MotionControlCmds::read |
( |
std::array< double, kPoseSize > & | out_pose, |
|
|
std::array< double, kCartDoF > & | out_velocity, |
|
|
std::array< double, kCartDoF > & | out_acceleration ) const |
|
inline |
- Parameters
-
| [out] | out_pose | Target TCP pose in world frame. |
| [out] | out_velocity | Target TCP velocity (linear and angular) in world frame. |
| [out] | out_acceleration | Target TCP acceleration (linear and angular) in world frame. |
Definition at line 150 of file data.hpp.
◆ write()
| void flexiv::tdk::MotionControlCmds::write |
( |
const std::array< double, kPoseSize > & | in_pose, |
|
|
const std::array< double, kCartDoF > & | in_velocity, |
|
|
const std::array< double, kCartDoF > & | in_acceleration ) |
|
inline |
- Parameters
-
| in_pose | Target TCP pose in world frame. |
| in_velocity | Target TCP velocity (linear and angular) in world frame. |
| in_acceleration | Target TCP acceleration (linear and angular) in world frame. |
Definition at line 165 of file data.hpp.
◆ zero()
| void flexiv::tdk::MotionControlCmds::zero |
( |
| ) |
|
|
inline |
The documentation for this struct was generated from the following file: