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 More...
 

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 More...
 
 DesignerTrajectoryPlayer (RobotVisualizationPtr viewer, VirtualRobot::RobotPtr robot)
 DesignerTrajectoryPlayer construct a new DesignerTrajectoryPlayer that can be started to play a Trajectory. More...
 
void setFPS (int fps)
 setFPS sets the refresh rate of the player (the amount of updates of the visualization) to fps More...
 
void startPlayback ()
 startPlayback starts the actual visualization of the trajectory More...
 

Detailed Description

Definition at line 37 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 11 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 51 of file DesignerTrajectoryPlayer.cpp.

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

Definition at line 81 of file DesignerTrajectoryPlayer.cpp.

◆ startPlayback()

void startPlayback ( )

startPlayback starts the actual visualization of the trajectory

Definition at line 56 of file DesignerTrajectoryPlayer.cpp.


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