hpp-gui
5.1.0
Graphical interface for HPP
|
Go to the documentation of this file.
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
void displayPath_status(int progress)
void update()
Get the number of paths in hpp and refresh the gui accordingly.
void setCurrentTime(const double ¶m)
Set the slider position.
int getCurrentPath() const
Returns the path currently selected.
void appliedConfigAtParam(int pid, double param)
void displayWaypointsOfPath(const std::string jointName)
void setRobotVelocity(bool set)
Tells the path player to set the robot current velocity.
Definition: configurationlistwidget.hh:18
namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
virtual void displayPath_impl(const std::string jointName)
void displayPath(const std::string jointName)
PathPlayer(HppWidgetsPlugin *plugin, QWidget *parent=0)
Definition: pathplayer.hh:27
double lengthBetweenRefresh() const
Distance between two sampling point.