6 #ifndef HPP_GUI_PATHPLAYER_HH 7 #define HPP_GUI_PATHPLAYER_HH 10 #include <gepetto/gui/fwd.hh> 20 class PathPlayerWidget;
25 class HppWidgetsPlugin;
70 void pathIndexChanged(
int i);
71 void pathSliderChanged(
int value);
73 void playPauseToggled(
bool toggled);
76 void timerEvent(QTimerEvent* event);
79 void initSearchActions();
80 void updateConfiguration();
81 double sliderToLength(
int v)
const;
82 int lengthToSlider(
double l)
const;
83 double timeToLength(
double time)
const;
84 int timeBetweenRefresh()
const;
86 ::Ui::PathPlayerWidget* ui_;
88 QDoubleSpinBox* timeSpinBox()
const;
89 QSpinBox* pathIndex()
const;
90 QSlider* pathSlider()
const;
91 QPushButton* playPause()
const;
92 QPushButton* stop()
const;
104 #endif // HPP_GUI_PATHPLAYER_HH Definition: pathplayer.hh:27
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:18
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)