ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

contact sensor has no member named contacts

asked 2016-08-29 05:51:26 -0600

dinesh gravatar image

updated 2016-08-29 16:05:20 -0600

I was following this tutorial , but as i try to build the code i get theis error msg:

/usr/include/boost/asio/detail/impl/socket_ops.ipp:266:5: note:   ‘boost::asio::detail::socket_ops::bind’
 int bind(socket_type s, const socket_addr_type* addr,
/home/rob/Documents/gazebo_contact_tutorial/ In member function ‘virtual void gazebo::ContactPlugin::OnUpdate()’:
/home/rob/Documents/gazebo_contact_tutorial/ error: ‘class gazebo::sensors::ContactSensor’ has no member named ‘Contacts’
   contacts = this->parentSensor->Contacts();

How to remove it? I am using ros indigo.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-30 12:38:46 -0600

dinesh gravatar image

Ans: enter

edit flag offensive delete link more


I really appreciate you reporting back on the answer to this question, but cross-posting to is really bad style, especially if your only motivation is "to get answer quickly." (as you wrote in error launching world file in gazebo.

gvdhoorn gravatar image gvdhoorn  ( 2016-08-30 14:36:25 -0600 )edit

Question Tools

1 follower


Asked: 2016-08-29 05:51:26 -0600

Seen: 280 times

Last updated: Aug 30 '16