6 #ifndef HPP_GUI_PATHPLAYER_HH 7 #define HPP_GUI_PATHPLAYER_HH 11 #include <gepetto/gui/fwd.hh> 21 class PathPlayerWidget;
26 class HppWidgetsPlugin;
72 void pathIndexChanged (
int i);
73 void pathSliderChanged (
int value);
75 void playPauseToggled (
bool toggled);
78 void timerEvent(QTimerEvent *event);
81 void initSearchActions();
82 void updateConfiguration ();
83 double sliderToLength (
int v)
const;
84 int lengthToSlider (
double l)
const;
85 double timeToLength (
double time)
const;
86 int timeBetweenRefresh()
const;
88 ::Ui::PathPlayerWidget* ui_;
90 QDoubleSpinBox* timeSpinBox ()
const;
91 QSpinBox* pathIndex()
const;
92 QSlider* pathSlider ()
const;
93 QPushButton* playPause ()
const;
94 QPushButton* stop ()
const;
106 #endif // HPP_GUI_PATHPLAYER_HH Definition: pathplayer.hh:28
namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
void setRobotVelocity(bool set)
Tells the path player to set the robot current velocity.
Definition: configurationlistwidget.hh:20
void appliedConfigAtParam(int pid, double param)
virtual void displayPath_impl(const std::string jointName)
int getCurrentPath() const
Returns the path currently selected.
void setCurrentTime(const double ¶m)
Set the slider position.
double lengthBetweenRefresh() const
Distance between two sampling point.
void displayPath_status(int progress)
PathPlayer(HppWidgetsPlugin *plugin, QWidget *parent=0)
void displayPath(const std::string jointName)
void update()
Get the number of paths in hpp and refresh the gui accordingly.
void displayWaypointsOfPath(const std::string jointName)