![]() |
ImFusion SDK 4.3
|
#include <RoboticsPlugin/Include/ImFusion/Robotics/Control/RobotControl.h>
Online generator for trajectory waypoints Given input parameters (typically including the goal pose) and the initial state of the robot, it will compute intermediate PositionType objects at arbitrary points in time. More...
Inheritance diagram for MotionGenerator< PositionType >:Online generator for trajectory waypoints Given input parameters (typically including the goal pose) and the initial state of the robot, it will compute intermediate PositionType objects at arbitrary points in time.
It will return a value representing the end of the motion when the generated position reaches the target.
Public Member Functions | |
| MotionGenerator (std::unique_ptr< MotionGeneratorParametersInterface > params) | |
| MotionGenerator (const MotionGenerator< PositionType > &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 () |
| virtual MotionStep< PositionType > | operator() (const ControlIterationInfo &controlIterationInfo)=0 |
| MotionGeneratorParametersInterface * | parameters () |
| template<typename ParametersType> | |
| ParametersType * | typedParameters () |
Protected Member Functions | |
| virtual bool | initImpl ()=0 |
| Should validate the parameters and perform required initialization (including memory preallocation) | |
Protected Attributes | |
| std::unique_ptr< const RobotState > | m_initState |
| std::unique_ptr< MotionGeneratorParametersInterface > | m_parameters |
| bool | m_inited = false |
| std::atomic< bool > | m_isStopRequested = false |
|
inlineoverridevirtual |
Implements MotionGeneratorBase.
|
inlineoverridevirtual |
Request the motion generator to abort the motion, decelerating to zero velocity as fast as possible.
Implements MotionGeneratorBase.
Reimplemented in RuckigCartesianStreamingMotionGenerator.
|
protectedpure virtual |
Should validate the parameters and perform required initialization (including memory preallocation)
Implemented in CartesianInterpolationJointMotionGenerator, CartesianInterpolationMotionGenerator, FlangeMotionGenerator, HoldJointPositionMotionGenerator, JointPositionMotionGenerator, and RuckigCartesianStreamingMotionGenerator.