17 #ifndef _GAZEBO_APPLY_WRENCH_DIALOG_PRIVATE_HH_
18 #define _GAZEBO_APPLY_WRENCH_DIALOG_PRIVATE_HH_
QLabel * modelLabel
Label holding the model name.
Definition: ApplyWrenchDialogPrivate.hh:46
std::map< std::string, math::Vector3 > linkToCOMMap
Map link name to link CoM vector.
Definition: ApplyWrenchDialogPrivate.hh:112
rendering::ApplyWrenchVisualPtr applyWrenchVisual
Interactive visual which represents the wrench to be applied.
Definition: ApplyWrenchDialogPrivate.hh:115
std::vector< event::ConnectionPtr > connections
A list of events connected to this.
Definition: ApplyWrenchDialogPrivate.hh:109
boost::shared_ptr< ApplyWrenchVisual > ApplyWrenchVisualPtr
Definition: RenderTypes.hh:163
QDoubleSpinBox * torqueMagSpin
Spin for torque magnitude.
Definition: ApplyWrenchDialogPrivate.hh:79
QRadioButton * forcePosRadio
Radio button for force position.
Definition: ApplyWrenchDialogPrivate.hh:55
Encapsulates a position and rotation in three space.
Definition: Pose.hh:37
MainWindow * mainWindow
Pointer to the main window.
Definition: ApplyWrenchDialogPrivate.hh:136
std::string modelName
Name of the model this is connected to.
Definition: ApplyWrenchDialogPrivate.hh:40
ApplyWrenchDialog::Mode mode
Current mode, either force, torque or none.
Definition: ApplyWrenchDialogPrivate.hh:130
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
transport::NodePtr node
Node for communication.
Definition: ApplyWrenchDialogPrivate.hh:37
QDoubleSpinBox * forceXSpin
Spin for force X.
Definition: ApplyWrenchDialogPrivate.hh:70
std::string linkName
Name of the link currently targeted.
Definition: ApplyWrenchDialogPrivate.hh:43
QDoubleSpinBox * forcePosXSpin
Spin for force position X.
Definition: ApplyWrenchDialogPrivate.hh:58
math::Vector3 forceVector
Force vector.
Definition: ApplyWrenchDialogPrivate.hh:97
QDoubleSpinBox * forceYSpin
Spin for force Y.
Definition: ApplyWrenchDialogPrivate.hh:73
math::Vector3 forcePosVector
Force position coordinates in link frame.
Definition: ApplyWrenchDialogPrivate.hh:94
QComboBox * linksComboBox
Dropdown holding all link names.
Definition: ApplyWrenchDialogPrivate.hh:49
Mode
Definition: ApplyWrenchDialog.hh:45
math::Pose dragStartPose
World pose of the rotation tool the moment dragging started.
Definition: ApplyWrenchDialogPrivate.hh:123
QDoubleSpinBox * forcePosZSpin
Spin for force position Z.
Definition: ApplyWrenchDialogPrivate.hh:64
math::Vector3 torqueVector
Torque vector.
Definition: ApplyWrenchDialogPrivate.hh:100
QRadioButton * comRadio
Radio button for CoM.
Definition: ApplyWrenchDialogPrivate.hh:52
bool draggingTool
Indicate whether mouse is dragging on top the rotation tool or not.
Definition: ApplyWrenchDialogPrivate.hh:119
transport::PublisherPtr wrenchPub
Publishes the wrench message.
Definition: ApplyWrenchDialogPrivate.hh:103
rendering::VisualPtr linkVisual
Visual of the targeted link.
Definition: ApplyWrenchDialogPrivate.hh:106
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Definition: MainWindow.hh:49
math::Vector3 comVector
CoM coordinates in link frame.
Definition: ApplyWrenchDialogPrivate.hh:91
QDoubleSpinBox * forceZSpin
Spin for force Z.
Definition: ApplyWrenchDialogPrivate.hh:76
QDoubleSpinBox * torqueZSpin
Spin for torque Z.
Definition: ApplyWrenchDialogPrivate.hh:88
QDoubleSpinBox * torqueXSpin
Spin for torque X.
Definition: ApplyWrenchDialogPrivate.hh:82
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:107
QDoubleSpinBox * torqueYSpin
Spin for torque Y.
Definition: ApplyWrenchDialogPrivate.hh:85
QDoubleSpinBox * forceMagSpin
Spin for force magnitude.
Definition: ApplyWrenchDialogPrivate.hh:67
std::string manipState
State of the manipulation tool, here only using "rot_y" and "rot_z".
Definition: ApplyWrenchDialogPrivate.hh:127
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
Private data for the ApplyWrenchDialog class.
Definition: ApplyWrenchDialogPrivate.hh:34
QDoubleSpinBox * forcePosYSpin
Spin for force position Y.
Definition: ApplyWrenchDialogPrivate.hh:61
std::mutex mutex
Mutex to protect variables.
Definition: ApplyWrenchDialogPrivate.hh:133