Franky 0.12.0
A High-Level Motion API for Franka
|
Joint state of a robot. More...
#include <joint_state.hpp>
Public Member Functions | |
JointState (Vector7d position) | |
Construct a joint state with the given joint positions and zero velocities. | |
JointState (Vector7d position, Vector7d velocity) | |
JointState (const JointState &)=default | |
JointState ()=default | |
Vector7d | position () const |
The position component of the state. | |
Vector7d | velocity () const |
The velocity component of the state. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const JointState &joint_state) |
Joint state of a robot.
This class encapsulates the joint state of a robot, which comprises the joint positions and the joint velocities.
|
inline |
Construct a joint state with the given joint positions and zero velocities.
position | The joint positions. |
position | The joint positions. |
velocity | The joint velocities. |
|
default |
|
default |
|
inline |
The position component of the state.
|
inline |
The velocity component of the state.
|
friend |