Plugin that add a lot of features to work with hpp. More...
#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-hpp-gui/work/hpp-gui-4.7.0/plugins/hppwidgetsplugin/hppwidgetsplugin.hh>
Public Slots | |
void | applyCurrentConfiguration () |
Apply the current configuration of the robot. More... | |
void | setCurrentConfig (const hpp::floatSeq &q) |
hpp::floatSeq const * | getCurrentConfig () const |
void | setCurrentQtConfig (const QVector< double > &q) |
QVector< double > | getCurrentQtConfig () const |
void | fetchConfiguration () |
Set internal configuration from HPP current config. More... | |
void | sendConfiguration () |
Set HPP configuration to internal current configuration. More... | |
void | configurationValidation () |
Build a list of bodies in collision. More... | |
void | selectJointFromBodyName (const QString bodyName) |
Select a joint in the joint tree from a body's name. More... | |
void | update () |
QString | requestCreateJointGroup (const QString jn) |
See createJointGroup. More... | |
QString | requestCreateComGroup (const QString com) |
See createComGroup. More... | |
QString | getHppIIOPurl () const |
QString | getHppContext () const |
Signals | |
void | configurationValidationStatus (bool valid) |
void | configurationValidationStatus (QStringList collision) |
void | logJobFailed (int id, const QString &text) const |
Log the failure of a job in the MainWindow. More... | |
void | logSuccess (const QString &text) |
void | logFailure (const QString &text) |
Public Member Functions | |
void | init () |
Initialize the plugin. More... | |
QString | name () const |
Returns the plugin's name. More... | |
void | loadRobotModel (gepetto::gui::DialogLoadRobot::RobotDefinition rd) |
Load a robot in the corba server. More... | |
void | loadEnvironmentModel (gepetto::gui::DialogLoadEnvironment::EnvironmentDefinition ed) |
Load an environment in the corba server. More... | |
std::string | getBodyFromJoint (const std::string &jointName) const |
Get the name of a joint's body. More... | |
const hpp::floatSeq & | currentConfig () const |
hpp::floatSeq & | currentConfig () |
const hpp::floatSeq & | currentVelocity () const |
hpp::floatSeq & | currentVelocity () |
virtual void | openConnection () |
Open a connection to a corba server. More... | |
virtual void | closeConnection () |
Close connection to corbaserver. More... | |
HppClient * | client () const |
Get the corbaserver client. More... | |
JointMap & | jointMap () |
Get the jointMap. More... | |
PathPlayer * | pathPlayer () const |
Get the pathPlayer widget. More... | |
JointTreeWidget * | jointTreeWidget () const |
Get the pathPlayer widget. More... | |
virtual void | updateRobotJoints (const QString robotName) |
Get the list of joints from corbaserver and update internal joint map. More... | |
std::string | getSelectedJoint () const |
Get the currently selected joint name. More... | |
virtual Roadmap * | createRoadmap (const std::string &jointName) |
Create the roadmap of a given joint. More... | |
Protected Slots | |
virtual void | displayRoadmap (const std::string &jointName) |
Display the roadMap of a given joint. More... | |
void | addJointFrame (const std::string &jointName) |
Add XYZ axis at the joint's position. More... | |
Protected Member Functions | |
std::string | createJointGroup (const std::string jn) |
Create a group from the given joint. More... | |
std::string | createComGroup (const std::string com) |
Create a group from the given COM. More... | |
void | computeObjectPosition () |
Replace all the bodies according to their position in hpp. More... | |
virtual void | loadConstraintWidget () |
Static Protected Member Functions | |
static std::string | escapeJointName (const std::string jn) |
Change all "/" in jn to "__". More... | |
Protected Attributes | |
QList< QDockWidget * > | dockWidgets_ |
JointTreeWidget * | jointTreeWidget_ |
ConstraintWidget * | constraintWidget_ |
JointMap | jointMap_ |
hpp::Names_t | jointFrames_ |
std::list< std::string > | comFrames_ |
hpp::floatSeq | config_ |
hpp::floatSeq | velocity_ |
hpp::Names_t | linkNames_ |
std::vector< std::string > | bodyNames_ |
std::vector< gepetto::viewer::Configuration > | bodyConfs_ |
std::vector< std::string > | jointGroupNames_ |
Plugin that add a lot of features to work with hpp.
|
protectedslot |
Add XYZ axis at the joint's position.
jointName | name of the joint |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Apply the current configuration of the robot.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
HppClient* hpp.gui::HppWidgetsPlugin::client | ( | ) | const |
Get the corbaserver client.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
virtual |
Close connection to corbaserver.
Reimplemented in hpp.gui::HppManipulationWidgetsPlugin.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
protected |
Replace all the bodies according to their position in hpp.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Build a list of bodies in collision.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
signal |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
signal |
|
protected |
Create a group from the given COM.
com | COM name |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
protected |
Create a group from the given joint.
jn | joint name |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
virtual |
Create the roadmap of a given joint.
jointName | name of the joint |
Reimplemented in hpp.gui::HppManipulationWidgetsPlugin.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
inline |
References hpp.gui::HppWidgetsPlugin::config_.
|
inline |
References hpp.gui::HppWidgetsPlugin::config_.
|
inline |
References hpp.gui::HppWidgetsPlugin::velocity_.
|
inline |
References hpp.gui::HppWidgetsPlugin::addJointFrame(), hpp.gui::HppWidgetsPlugin::applyCurrentConfiguration(), hpp.gui::HppWidgetsPlugin::client(), hpp.gui::HppWidgetsPlugin::closeConnection(), hpp.gui::HppWidgetsPlugin::computeObjectPosition(), hpp.gui::HppWidgetsPlugin::configurationValidation(), hpp.gui::HppWidgetsPlugin::configurationValidationStatus(), hpp.gui::HppWidgetsPlugin::createComGroup(), hpp.gui::HppWidgetsPlugin::createJointGroup(), hpp.gui::HppWidgetsPlugin::createRoadmap(), hpp.gui::HppWidgetsPlugin::displayRoadmap(), hpp.gui::HppWidgetsPlugin::escapeJointName(), hpp.gui::HppWidgetsPlugin::fetchConfiguration(), hpp.gui::HppWidgetsPlugin::getCurrentConfig(), hpp.gui::HppWidgetsPlugin::getCurrentQtConfig(), hpp.gui::HppWidgetsPlugin::getHppContext(), hpp.gui::HppWidgetsPlugin::getHppIIOPurl(), hpp.gui::HppWidgetsPlugin::getSelectedJoint(), hpp.gui::HppWidgetsPlugin::jointMap(), hpp.gui::HppWidgetsPlugin::jointTreeWidget(), hpp.gui::HppWidgetsPlugin::loadConstraintWidget(), hpp.gui::HppWidgetsPlugin::logFailure(), hpp.gui::HppWidgetsPlugin::logJobFailed(), hpp.gui::HppWidgetsPlugin::logSuccess(), hpp.gui::HppWidgetsPlugin::openConnection(), hpp.gui::HppWidgetsPlugin::pathPlayer(), hpp.gui::HppWidgetsPlugin::requestCreateComGroup(), hpp.gui::HppWidgetsPlugin::requestCreateJointGroup(), hpp.gui::HppWidgetsPlugin::selectJointFromBodyName(), hpp.gui::HppWidgetsPlugin::sendConfiguration(), hpp.gui::HppWidgetsPlugin::setCurrentConfig(), hpp.gui::HppWidgetsPlugin::setCurrentQtConfig(), hpp.gui::HppWidgetsPlugin::update(), hpp.gui::HppWidgetsPlugin::updateRobotJoints(), and hpp.gui::HppWidgetsPlugin::velocity_.
|
protectedvirtualslot |
Display the roadMap of a given joint.
jointName | name of the joint |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
staticprotected |
Change all "/" in jn to "__".
jn | string to escape |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Set internal configuration from HPP current config.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
std::string hpp.gui::HppWidgetsPlugin::getBodyFromJoint | ( | const std::string & | jointName | ) | const |
Get the name of a joint's body.
jointName | joint name |
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
std::string hpp.gui::HppWidgetsPlugin::getSelectedJoint | ( | ) | const |
Get the currently selected joint name.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
void hpp.gui::HppWidgetsPlugin::init | ( | ) |
Initialize the plugin.
JointMap& hpp.gui::HppWidgetsPlugin::jointMap | ( | ) |
Get the jointMap.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
JointTreeWidget* hpp.gui::HppWidgetsPlugin::jointTreeWidget | ( | ) | const |
Get the pathPlayer widget.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
protectedvirtual |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
void hpp.gui::HppWidgetsPlugin::loadEnvironmentModel | ( | gepetto::gui::DialogLoadEnvironment::EnvironmentDefinition | ed | ) |
Load an environment in the corba server.
ed | environment definition |
void hpp.gui::HppWidgetsPlugin::loadRobotModel | ( | gepetto::gui::DialogLoadRobot::RobotDefinition | rd | ) |
Load a robot in the corba server.
rd | robot definition |
|
signal |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
signal |
Log the failure of a job in the MainWindow.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
signal |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
QString hpp.gui::HppWidgetsPlugin::name | ( | ) | const |
Returns the plugin's name.
|
virtual |
Open a connection to a corba server.
Reimplemented in hpp.gui::HppManipulationWidgetsPlugin.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
PathPlayer* hpp.gui::HppWidgetsPlugin::pathPlayer | ( | ) | const |
Get the pathPlayer widget.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
See createComGroup.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
See createJointGroup.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Select a joint in the joint tree from a body's name.
bodyName | name of the body |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Set HPP configuration to internal current configuration.
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
slot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
virtual |
Get the list of joints from corbaserver and update internal joint map.
robotName | name of the robot |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by hpp.gui::HppWidgetsPlugin::currentConfig().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by hpp.gui::HppWidgetsPlugin::currentVelocity().