Go to the documentation of this file. 1 #ifndef AIKIDO_CONTROL_TRAJECTORYEXECUTOR_HPP_
2 #define AIKIDO_CONTROL_TRAJECTORYEXECUTOR_HPP_
42 virtual void step(
const std::chrono::system_clock::time_point& timepoint) = 0;
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
virtual void step(const std::chrono::system_clock::time_point &timepoint)=0
Step to a point in time.
virtual void cancel()=0
Cancel the current trajectory.
virtual ~TrajectoryExecutor()=default
std::shared_ptr< const Trajectory > ConstTrajectoryPtr
Definition: Trajectory.hpp:13
virtual void validate(const trajectory::Trajectory *traj)=0
Validate the traj in preparation for execution.
virtual std::future< void > execute(const trajectory::ConstTrajectoryPtr &traj)=0
Validate and execute traj, setting future upon completion.
Abstract class for executing trajectories.
Definition: TrajectoryExecutor.hpp:17
std::set< const trajectory::Trajectory * > mValidatedTrajectories
Set of trajectories validated by executor.
Definition: TrajectoryExecutor.hpp:49
std::chrono::system_clock::time_point mExecutionStartTime
Time of previous call.
Definition: TrajectoryExecutor.hpp:52
#define AIKIDO_DECLARE_POINTERS(X)
Definition: pointers.hpp:21
Time-parameterized path in a StateSpace.
Definition: Trajectory.hpp:20