Visualization.hh
Definition: Visualization.hh:47
This library is part of the Gazebo project.
STL class.
void AddNormalForceToMarkerMsgs(ignition::msgs::Marker &_positionMarkerMsg, ignition::msgs::Marker &_forceMarkerMsg, ignition::math::Vector3f &_position, ignition::math::Vector3f &_normalForce, ignition::math::Pose3f &_sensorWorldPose)
Create a marker messages representing the normal force computed from depth camera.
OpticalTactilePluginVisualization(std::string &_modelName, ignition::math::Vector3d &_sensorSize, double &_forceLength, float &_cameraUpdateRate, ignition::math::Pose3f &_depthCameraOffset)
Constructor.
A component type that wraps any data type. The intention is for this class to be used to create simpl...
Definition: gz/sim/components/Component.hh:324
void RequestSensorMarkerMsg(ignition::math::Pose3f const &_sensorPose)
Request the "/marker" service for the sensor marker. This can be helpful when debbuging,...
void RequestContactsMarkerMsg(components::ContactSensorData const *_contacts)
Request the "/marker" service for the contacts marker.
void AddContactToMarkerMsg(ignition::msgs::Contact const &_contact, ignition::msgs::Marker &_contactsMarkerMsg)
Add a contact to the marker message representing the contacts from the contact sensor based on physic...
void RemoveNormalForcesAndContactsMarkers()
Remove all normal forces and contact markers.
void RequestNormalForcesMarkerMsgs(ignition::msgs::Marker &_positionMarkerMsg, ignition::msgs::Marker &_forceMarkerMsg)
Request the "/marker" service for the marker messages representing the normal forces.