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

contact sensor has no member named contacts

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

dinesh gravatar image

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

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/ContactPlugin.cc: In member function ‘virtual void gazebo::ContactPlugin::OnUpdate()’:
/home/rob/Documents/gazebo_contact_tutorial/ContactPlugin.cc:43:34: 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
0

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

dinesh gravatar image

Ans: enter

edit flag offensive delete link more

Comments

I really appreciate you reporting back on the answer to this question, but cross-posting to answers.gazebosim.org 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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 283 times

Last updated: Aug 30 '16