Go to the documentation of this file.
18 #ifndef GAZEBO_RENDERING_WRENCHVISUAL_HH_
19 #define GAZEBO_RENDERING_WRENCHVISUAL_HH_
23 #include "gazebo/msgs/MessageTypes.hh"
45 const std::string &_topicName);
52 public:
void Load(ConstJointPtr &_msg);
60 public:
void SetEnabled(
bool _enabled);
63 private:
void OnMsg(ConstWrenchStampedPtr &_msg);
66 private:
void Update();
virtual void Load()
Load the visual with default parameters.
Forward declarations for the common classes.
Definition: Animation.hh:26
virtual ~WrenchVisual()
Destructor.
void SetEnabled(bool _enabled)
Set to true to enable wrench visualization.
A renderable object.
Definition: Visual.hh:60
Visualization for wrench data. It consists of a purple line pointing at the force direction and 3 RGB...
Definition: WrenchVisual.hh:38
WrenchVisual(const std::string &_name, VisualPtr _vis, const std::string &_topicName)
Constructor.
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
void Fini()
Helper for the destructor.