All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | List of all members
gazebo::gui::JointForceControl Class Reference

Widget to control joints via application of force. More...

#include <JointControlWidget.hh>

Inheritance diagram for gazebo::gui::JointForceControl:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::JointForceControl:
Collaboration graph
[legend]

Public Slots

void OnChanged (double _value)
 On force changed callback. More...
 

Signals

void changed (double _value, const std::string &_name)
 QT changed signal, used to report the change to the joint controller widget. More...
 

Public Member Functions

 JointForceControl (const std::string &_name, QGridLayout *_layout, QWidget *_parent, int _index)
 Constructor. More...
 
virtual ~JointForceControl ()
 Destructor. More...
 
void Reset ()
 Reset the controls. More...
 

Detailed Description

Widget to control joints via application of force.

Constructor & Destructor Documentation

gazebo::gui::JointForceControl::JointForceControl ( const std::string &  _name,
QGridLayout *  _layout,
QWidget *  _parent,
int  _index 
)

Constructor.

Parameters
[in]_nameName of the joint.
[in]_layoutLayout to add the control to.
[in]_parentParent of the widget.
[in]_indexRow index into the grid layout.
virtual gazebo::gui::JointForceControl::~JointForceControl ( )
virtual

Destructor.

Member Function Documentation

void gazebo::gui::JointForceControl::changed ( double  _value,
const std::string &  _name 
)
signal

QT changed signal, used to report the change to the joint controller widget.

Parameters
[in]_valueValue of the slider.
[in]_nameName of the joint.
void gazebo::gui::JointForceControl::OnChanged ( double  _value)
slot

On force changed callback.

Parameters
[in]_valueValue of the changed slider.
void gazebo::gui::JointForceControl::Reset ( )

Reset the controls.


The documentation for this class was generated from the following file: