hpp-gui  4.9.0
Graphical interface for HPP
hpp.gui::PathPlayer Class Reference

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-hpp-gui/work/hpp-gui-4.9.0/plugins/hppwidgetsplugin/pathplayer.hh>

Inheritance diagram for hpp.gui::PathPlayer:
Collaboration diagram for hpp.gui::PathPlayer:

Public Slots

int getCurrentPath () const
 Returns the path currently selected. More...
 
void displayWaypointsOfPath (const std::string jointName)
 
void displayPath (const std::string jointName)
 
void update ()
 Get the number of paths in hpp and refresh the gui accordingly. More...
 
void setRobotVelocity (bool set)
 Tells the path player to set the robot current velocity. More...
 
double lengthBetweenRefresh () const
 Distance between two sampling point. More...
 
void setCurrentTime (const double &param)
 Set the slider position. More...
 

Signals

void displayPath_status (int progress)
 
void appliedConfigAtParam (int pid, double param)
 

Public Member Functions

 PathPlayer (HppWidgetsPlugin *plugin, QWidget *parent=0)
 
 ~PathPlayer ()
 

Protected Member Functions

virtual void displayPath_impl (const std::string jointName)
 

Constructor & Destructor Documentation

◆ PathPlayer()

hpp.gui::PathPlayer::PathPlayer ( HppWidgetsPlugin plugin,
QWidget *  parent = 0 
)

◆ ~PathPlayer()

hpp.gui::PathPlayer::~PathPlayer ( )

Member Function Documentation

◆ appliedConfigAtParam

void hpp.gui::PathPlayer::appliedConfigAtParam ( int  pid,
double  param 
)
signal

◆ displayPath

void hpp.gui::PathPlayer::displayPath ( const std::string  jointName)
slot

Prepare the display of the path of a joint in the viewer. The path is took from the currently selected path index.

Parameters
jointNamename of the joint

◆ displayPath_impl()

virtual void hpp.gui::PathPlayer::displayPath_impl ( const std::string  jointName)
protectedvirtual

Display the path of the jointName in the viewer. The path is took from the currently selected path index.

Parameters
jointNamename of the joint

◆ displayPath_status

void hpp.gui::PathPlayer::displayPath_status ( int  progress)
signal

◆ displayWaypointsOfPath

void hpp.gui::PathPlayer::displayWaypointsOfPath ( const std::string  jointName)
slot

Display the waypoints of a joint in the viewer. The waypoints are those of the currently selected path index.

Parameters
jointNamename of the joint

◆ getCurrentPath

int hpp.gui::PathPlayer::getCurrentPath ( ) const
slot

Returns the path currently selected.

◆ lengthBetweenRefresh

double hpp.gui::PathPlayer::lengthBetweenRefresh ( ) const
slot

Distance between two sampling point.

◆ setCurrentTime

void hpp.gui::PathPlayer::setCurrentTime ( const double &  param)
slot

Set the slider position.

◆ setRobotVelocity

void hpp.gui::PathPlayer::setRobotVelocity ( bool  set)
slot

Tells the path player to set the robot current velocity.

◆ update

void hpp.gui::PathPlayer::update ( )
slot

Get the number of paths in hpp and refresh the gui accordingly.


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