![]() |
ImFusion C++ SDK 4.4.0
|
#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...
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 ImFusion::Robotics::MotionGeneratorBase.
|
inlineoverridevirtual |
Request the motion generator to abort the motion, decelerating to zero velocity as fast as possible.
Implements ImFusion::Robotics::MotionGeneratorBase.
Reimplemented in ImFusion::Robotics::RuckigCartesianStreamingMotionGenerator.
|
protectedpure virtual |
Should validate the parameters and perform required initialization (including memory preallocation).
Implemented in ImFusion::Robotics::CartesianInterpolationJointMotionGenerator, ImFusion::Robotics::CartesianInterpolationMotionGenerator, ImFusion::Robotics::FlangeMotionGenerator, ImFusion::Robotics::HoldJointPositionMotionGenerator, ImFusion::Robotics::JointPositionMotionGenerator, and ImFusion::Robotics::RuckigCartesianStreamingMotionGenerator.