18 #ifndef _WRENCHVISUAL_HH_
19 #define _WRENCHVISUAL_HH_
25 #include "gazebo/msgs/MessageTypes.hh"
46 const std::string &_topicName);
53 public:
void Load(ConstJointPtr &_msg);
60 private:
void OnMsg(ConstWrenchStampedPtr &_msg);
63 private:
void Update();
72 private: Ogre::SceneNode *coneXNode;
75 private: Ogre::SceneNode *coneYNode;
78 private: Ogre::SceneNode *coneZNode;
81 private: Ogre::SceneNode *forceNode;
87 private: boost::shared_ptr<msgs::WrenchStamped const> wrenchMsg;
90 private:
bool receivedMsg;
93 private:
bool enabled;
96 private: boost::mutex mutex;
99 private: std::vector<event::ConnectionPtr> connections;