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);
63 private:
void OnMsg(ConstWrenchStampedPtr &_msg);
66 private:
void Update();
Visual(const std::string &_name, VisualPtr _parent, bool _useRTShader=true)
Constructor.
void Load(sdf::ElementPtr _sdf)
Load the visual with a set of parameters.
void Fini()
Helper for the destructor.
WrenchVisual(const std::string &_name, VisualPtr _vis, const std::string &_topicName)
Constructor.
void Load(ConstJointPtr &_msg)
Load the visual based on a message.
void SetEnabled(bool _enabled)
Set to true to enable wrench visualization.
virtual ~WrenchVisual()
Destructor.
Rendering namespace.
Definition JointMaker.hh:58
std::shared_ptr< Visual > VisualPtr
Definition RenderTypes.hh:114
Forward declarations for the common classes.
Definition Animation.hh:27