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