Public Slots | Signals | Public Member Functions | List of all members
gazebo::gui::JointPIDVelControl Class Reference

Widget to control joints via application of a velocity PID controller. More...

#include <JointControlWidget.hh>

Inheritance diagram for gazebo::gui::JointPIDVelControl:
Inheritance graph
[legend]

Public Slots

void OnChanged (double _value)
 Callback when the value of velocity slider changed. More...
 
void OnDChanged (double _value)
 Callback when the value of D gain slider changed. More...
 
void OnIChanged (double _value)
 Callback when the value of I gain slider changed. More...
 
void OnPChanged (double _value)
 Callback when the value of P gain slider changed. More...
 

Signals

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

Public Member Functions

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

Detailed Description

Widget to control joints via application of a velocity PID controller.

Constructor & Destructor Documentation

gazebo::gui::JointPIDVelControl::JointPIDVelControl ( 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::JointPIDVelControl::~JointPIDVelControl ( )
virtual

Destructor.

Member Function Documentation

void gazebo::gui::JointPIDVelControl::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::JointPIDVelControl::dChanged ( 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::JointPIDVelControl::iChanged ( 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::JointPIDVelControl::OnChanged ( double  _value)
slot

Callback when the value of velocity slider changed.

Parameters
[in]_valueValue of the slider.
void gazebo::gui::JointPIDVelControl::OnDChanged ( double  _value)
slot

Callback when the value of D gain slider changed.

Parameters
[in]_valueValue of the slider.
void gazebo::gui::JointPIDVelControl::OnIChanged ( double  _value)
slot

Callback when the value of I gain slider changed.

Parameters
[in]_valueValue of the slider.
void gazebo::gui::JointPIDVelControl::OnPChanged ( double  _value)
slot

Callback when the value of P gain slider changed.

Parameters
[in]_valueValue of the slider.
void gazebo::gui::JointPIDVelControl::pChanged ( 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::JointPIDVelControl::Reset ( )

Reset the controls.


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