3#include <ruckig/ruckig.hpp>
19template <
typename TargetType>
32template <
typename ControlSignalType,
typename TargetType>
64 input_parameter.synchronization = ruckig::Synchronization::TimeIfNecessary;
Robot * robot() const
Definition motion.hpp:109
A motion following multiple positional waypoints in a time-optimal way. Works with arbitrary initial ...
Definition position_waypoint_motion.hpp:33
virtual std::tuple< Vector7d, Vector7d, Vector7d > getDesiredState(const RobotState &robot_state) const =0
void extrapolateMotion(const RobotState &robot_state, const franka::Duration &time_step, const ruckig::InputParameter< 7 > &input_parameter, ruckig::OutputParameter< 7 > &output_parameter) const override
Definition position_waypoint_motion.hpp:71
const RelativeDynamicsFactor & relative_dynamics_factor() const
Definition position_waypoint_motion.hpp:49
void setInputLimits(const PositionWaypoint< TargetType > &waypoint, ruckig::InputParameter< 7 > &input_parameter) const override
Definition position_waypoint_motion.hpp:52
std::tuple< Vector7d, Vector7d, Vector7d > getAbsoluteInputLimits() const override=0
PositionWaypointMotion(std::vector< PositionWaypoint< TargetType > > waypoints, const RelativeDynamicsFactor &relative_dynamics_factor=1.0, bool return_when_finished=true)
Definition position_waypoint_motion.hpp:43
Relative dynamics factors.
Definition relative_dynamics_factor.hpp:13
double jerk() const
Jerk factor.
Definition relative_dynamics_factor.hpp:59
double acceleration() const
Acceleration factor.
Definition relative_dynamics_factor.hpp:54
bool max_dynamics() const
Whether the maximum dynamics should be used.
Definition relative_dynamics_factor.hpp:64
double velocity() const
Velocity factor.
Definition relative_dynamics_factor.hpp:49
RelativeDynamicsFactor relative_dynamics_factor_rt()
Returns the current global relative dynamics factor of the robot (Real-Time safe).
Definition robot.cpp:125
A motion following multiple waypoints in a time-optimal way. Works with arbitrary initial conditions.
Definition waypoint_motion.hpp:59
bool return_when_finished() const
Definition waypoint_motion.hpp:74
const std::vector< PositionWaypoint< TargetType > > & waypoints() const
Definition waypoint_motion.hpp:72
Definition dynamics_limit.cpp:8
std::array< double, dims > toStdD(const Eigen::Matrix< double, dims, 1 > &vector)
Definition util.hpp:18
ReferenceType
Enum class for reference types.
Definition reference_type.hpp:11
ControlSignalType
Type of control signal.
Definition control_signal_type.hpp:8
A position waypoint with a target and optional parameters.
Definition position_waypoint_motion.hpp:20
ReferenceType reference_type
Definition position_waypoint_motion.hpp:21
Full state of the robot.
Definition robot_state.hpp:40
A waypoint with a target and optional parameters.
Definition waypoint_motion.hpp:36
RelativeDynamicsFactor relative_dynamics_factor
Definition waypoint_motion.hpp:39