Go to the documentation of this file.
22 #ifndef DESIGNERTRAJECTORYPLAYER_H
23 #define DESIGNERTRAJECTORYPLAYER_H
26 #include "../Controller/AbstractController.h"
31 #include "../Model/DesignerTrajectory.h"
75 std::shared_ptr<QTimer> timer;
78 std::vector<DesignerTrajectoryPtr> trajectories;
79 std::vector<TrajectoryPtr> timeOptimalTrajectories;
void finishedPlayback()
finishedPlayback tells all relevant controllers that the trajectory playback has stopped
std::shared_ptr< DesignerTrajectoryPlayer > DesignerTrajectoryPlayerPtr
DesignerTrajectoryPlayer(RobotVisualizationPtr viewer, VirtualRobot::RobotPtr robot)
DesignerTrajectoryPlayer construct a new DesignerTrajectoryPlayer that can be started to play a Traje...
void startPlayback()
startPlayback starts the actual visualization of the trajectory
std::shared_ptr< RobotVisualization > RobotVisualizationPtr
std::shared_ptr< DesignerTrajectory > DesignerTrajectoryPtr
void setFPS(int fps)
setFPS sets the refresh rate of the player (the amount of updates of the visualization) to fps
void addTrajectory(DesignerTrajectoryPtr trajectory)
addTrajectory inserts a trajetory to the DesignerTrajectory player All added Trajectories will be pla...
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr