Franky  0.9.1
A High-Level Motion API for Franka
Public Member Functions | List of all members
franky::JointState Class Reference

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. More...
 
 JointState (Vector7d position, Vector7d velocity)
 
 JointState (const JointState &)=default
 
 JointState ()=default
 
Vector7d position () const
 The position component of the state. More...
 
Vector7d velocity () const
 The velocity component of the state. More...
 

Detailed Description

Joint state of a robot.

This class encapsulates the joint state of a robot, which comprises the joint positions and the joint velocities.

Constructor & Destructor Documentation

◆ JointState() [1/4]

franky::JointState::JointState ( Vector7d  position)
inline

Construct a joint state with the given joint positions and zero velocities.

Parameters
positionThe joint positions.

◆ JointState() [2/4]

franky::JointState::JointState ( Vector7d  position,
Vector7d  velocity 
)
inline
Parameters
positionThe joint positions.
velocityThe joint velocities.

◆ JointState() [3/4]

franky::JointState::JointState ( const JointState )
default

◆ JointState() [4/4]

franky::JointState::JointState ( )
default

Member Function Documentation

◆ position()

Vector7d franky::JointState::position ( ) const
inline

The position component of the state.

◆ velocity()

Vector7d franky::JointState::velocity ( ) const
inline

The velocity component of the state.


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