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
 

Detailed Description

Definition at line 34 of file DesignerTrajectoryPlayer.h.

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

Definition at line 10 of file DesignerTrajectoryPlayer.cpp.

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

Definition at line 52 of file DesignerTrajectoryPlayer.cpp.

◆ finishedPlayback

void finishedPlayback ( )
signal

finishedPlayback tells all relevant controllers that the trajectory playback has stopped

+ Here is the caller graph for this function:

◆ 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)

Definition at line 84 of file DesignerTrajectoryPlayer.cpp.

◆ startPlayback()

void startPlayback ( )

startPlayback starts the actual visualization of the trajectory

Definition at line 58 of file DesignerTrajectoryPlayer.cpp.

+ Here is the call graph for this function:

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