Visualize the contacts returned by the Physics plugin. Use the checkbox to turn visualization on or off and spin boxes to change the size of the markers.
More...
#include <VisualizeContacts.hh>
Visualize the contacts returned by the Physics plugin. Use the checkbox to turn visualization on or off and spin boxes to change the size of the markers.
◆ VisualizeContacts()
◆ ~VisualizeContacts()
◆ LoadConfig()
void LoadConfig |
( |
const tinyxml2::XMLElement * |
_pluginElem | ) |
|
|
override |
◆ OnVisualize
void OnVisualize |
( |
bool |
_checked | ) |
|
|
slot |
Callback when checkbox state is changed.
- Parameters
-
[in] | _checked | indicates show or hide contacts |
◆ Update()
Update callback called every time the system is stepped. This is called at a Gazebo Transport thread, so any interaction with Qt should be done through signals and slots.
- Parameters
-
[in] | _info | Current simulation information, such as time. |
[in] | _ecm | Mutable reference to the ECM, so the system can read and write entities and their components. |
Reimplemented from GuiSystem.
◆ UpdatePeriod
void UpdatePeriod |
( |
double |
_period | ) |
|
|
slot |
Update the update period of the markers.
- Parameters
-
[in] | _period | new update period |
◆ UpdateRadius
void UpdateRadius |
( |
double |
_radius | ) |
|
|
slot |
Update the radius of the contact.
- Parameters
-
[in] | _radius | new radius of the contact |
The documentation for this class was generated from the following file: