ImFusion SDK 4.3
JointPositionMotionGenerator Class Reference

#include <RoboticsPlugin/Include/ImFusion/Robotics/Control/GenericMotionGenerators.h>

Interpolates from the current to a target joint position with a trapezoidal speed profile. More...

+ Inheritance diagram for JointPositionMotionGenerator:

Detailed Description

Interpolates from the current to a target joint position with a trapezoidal speed profile.

Classes

struct  Parameters
 

Public Member Functions

 JointPositionMotionGenerator (Parameters &&params)
 
 JointPositionMotionGenerator (std::unique_ptr< MotionGeneratorParametersInterface > params)
 
 JointPositionMotionGenerator (const JointPositionMotionGenerator &other)
 
MotionStep< JointPositionoperator() (const ControlIterationInfo &controlIterationInfo) override
 
- Public Member Functions inherited from MotionGenerator< JointPosition >
 MotionGenerator (std::unique_ptr< MotionGeneratorParametersInterface > params)
 
 MotionGenerator (const MotionGenerator< JointPosition > &other)
 
bool init (const RobotState &state) override
 
bool requestStop () override
 Request the motion generator to abort the motion, decelerating to zero velocity as fast as possible.
 
virtual bool canStart ()
 
MotionGeneratorParametersInterfaceparameters ()
 
ParametersType * typedParameters ()
 

Protected Member Functions

bool initImpl () override
 Should validate the parameters and perform required initialization (including memory preallocation)
 

Additional Inherited Members

- Protected Attributes inherited from MotionGenerator< JointPosition >
std::unique_ptr< const RobotStatem_initState
 
std::unique_ptr< MotionGeneratorParametersInterfacem_parameters
 
bool m_inited
 
std::atomic< bool > m_isStopRequested
 

Member Function Documentation

◆ operator()()

MotionStep< JointPosition > operator() ( const ControlIterationInfo & controlIterationInfo)
overridevirtual

◆ initImpl()

bool initImpl ( )
overrideprotectedvirtual

Should validate the parameters and perform required initialization (including memory preallocation)

Implements MotionGenerator< JointPosition >.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close