DesignerTrajectoryPlayer Class Reference

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Visualization/DesignerTrajectoryPlayer.h>

+ Inheritance diagram for DesignerTrajectoryPlayer:

Signals

void finishedPlayback ()
 finishedPlayback tells all relevant controllers that the trajectory playback has stopped
 

Public Member Functions

void addTrajectory (DesignerTrajectoryPtr trajectory)
 addTrajectory inserts a trajetory to the DesignerTrajectory player All added Trajectories will be played when calling the startPlayback method
 
 DesignerTrajectoryPlayer (RobotVisualizationPtr viewer, VirtualRobot::RobotPtr robot)
 DesignerTrajectoryPlayer construct a new DesignerTrajectoryPlayer that can be started to play a Trajectory.
 
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
 

Constructor & Destructor Documentation

◆ DesignerTrajectoryPlayer()

DesignerTrajectoryPlayer construct a new DesignerTrajectoryPlayer that can be started to play a Trajectory.

Parameters
viewerthe viewers to run the player on
robotthe robot to execute the trajectory on

Member Function Documentation

◆ addTrajectory()

void addTrajectory ( armarx::DesignerTrajectoryPtr trajectory)

addTrajectory inserts a trajetory to the DesignerTrajectory player All added Trajectories will be played when calling the startPlayback method

Parameters
trajectorythe trajectory to add

◆ finishedPlayback

void finishedPlayback ( )
signal

finishedPlayback tells all relevant controllers that the trajectory playback has stopped

◆ setFPS()

void setFPS ( int fps)

setFPS sets the refresh rate of the player (the amount of updates of the visualization) to fps

Parameters
fpsthe amount of frames that the player shows per second (see Hz)

◆ startPlayback()

void startPlayback ( )

startPlayback starts the actual visualization of the trajectory


The documentation for this class was generated from the following files: