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

Relative dynamics factors. More...

#include <relative_dynamics_factor.hpp>

Public Member Functions

 RelativeDynamicsFactor ()
 Default constructor which initializes all values to 1.0. More...
 
 RelativeDynamicsFactor (double value)
 Constructor which initializes all values to the given value. More...
 
 RelativeDynamicsFactor (double velocity, double acceleration, double jerk)
 
double velocity () const
 Velocity factor. More...
 
double acceleration () const
 Acceleration factor. More...
 
double jerk () const
 Jerk factor. More...
 
bool max_dynamics () const
 Whether the maximum dynamics should be used. More...
 
RelativeDynamicsFactor operator* (const RelativeDynamicsFactor &other) const
 

Static Public Member Functions

static RelativeDynamicsFactor MAX_DYNAMICS ()
 Special factor which causes the maximum dynamics to be used, independent of other factors applied elsewhere. More...
 

Detailed Description

Relative dynamics factors.

This class encapsulates the relative dynamics factors, which are used to scale the maximum velocity, acceleration, and jerk of a trajectory.

Constructor & Destructor Documentation

◆ RelativeDynamicsFactor() [1/3]

franky::RelativeDynamicsFactor::RelativeDynamicsFactor ( )

Default constructor which initializes all values to 1.0.

◆ RelativeDynamicsFactor() [2/3]

franky::RelativeDynamicsFactor::RelativeDynamicsFactor ( double  value)

Constructor which initializes all values to the given value.

Parameters
valueThe value to initialize all factors with. Must be in the range (0, 1].

◆ RelativeDynamicsFactor() [3/3]

franky::RelativeDynamicsFactor::RelativeDynamicsFactor ( double  velocity,
double  acceleration,
double  jerk 
)
Parameters
velocityThe factor for the velocity. Must be in the range (0, 1].
accelerationThe factor for the acceleration. Must be in the range (0, 1].
jerkThe factor for the jerk. Must be in the range (0, 1].

Member Function Documentation

◆ acceleration()

double franky::RelativeDynamicsFactor::acceleration ( ) const
inline

Acceleration factor.

◆ jerk()

double franky::RelativeDynamicsFactor::jerk ( ) const
inline

Jerk factor.

◆ MAX_DYNAMICS()

static RelativeDynamicsFactor franky::RelativeDynamicsFactor::MAX_DYNAMICS ( )
inlinestatic

Special factor which causes the maximum dynamics to be used, independent of other factors applied elsewhere.

◆ max_dynamics()

bool franky::RelativeDynamicsFactor::max_dynamics ( ) const
inline

Whether the maximum dynamics should be used.

◆ operator*()

RelativeDynamicsFactor franky::RelativeDynamicsFactor::operator* ( const RelativeDynamicsFactor other) const

◆ velocity()

double franky::RelativeDynamicsFactor::velocity ( ) const
inline

Velocity factor.


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