Flexiv TDK APIs 2.1
Loading...
Searching...
No Matches
flexiv::tdk::MotionControlCmds Struct Reference

Motion control command struct for general device-robot teleop. More...

#include <data.hpp>

Public Member Functions

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.

Detailed Description

Definition at line 110 of file data.hpp.

Member Function Documentation

◆ 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_poseTarget TCP pose in world frame.
[out]out_velocityTarget TCP velocity (linear and angular) in world frame.
[out]out_accelerationTarget 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_poseTarget TCP pose in world frame.
in_velocityTarget TCP velocity (linear and angular) in world frame.
in_accelerationTarget TCP acceleration (linear and angular) in world frame.

Definition at line 165 of file data.hpp.

◆ zero()

void flexiv::tdk::MotionControlCmds::zero ( )
inline

Definition at line 178 of file data.hpp.


The documentation for this struct was generated from the following file: