dougvk / tum_simulator

ROS indigo compatible tum_simulator
35 stars 36 forks source link

Error when doing catkin_make #10

Open bermejocrew opened 8 years ago

bermejocrew commented 8 years ago

Until this step in the installation everything goes well. When doing it only with the ardrone_autonomy package there is no error. SO i deduced there is something wrong ith hte tum_simulator package. Which gazebo version did you use? I am using Gazebo 7 and looking into the errors that the compilation gave me it seems that is because the version. I will put one erro like a example:

/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘gazebo::event::ConnectionPtr gazebo::event::EventT::Connect(const boost::function&) [with T = void(const gazebo::common::UpdateInfo&); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::event::Connection]’: /usr/include/gazebo-7/gazebo/common/Events.hh:139:60: required from ‘static gazebo::event::ConnectionPtr gazebo::event::Events::ConnectWorldUpdateBegin(T) [with T = boost::_bi::bind_t<void, boost::_mfi::mf0<void, gazebo::DiffDrivePlugin6W>, boost::_bi::list1boost::_bi::value<gazebo::DiffDrivePlugin6W* > >; gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::event::Connection]’ /home/eneko/catkin_ws/src/tum_simulator/cvg_sim_gazebo_plugins/src/diffdrive_plugin_6w.cpp:166:52: required from here /usr/include/gazebo-7/gazebo/common/Event.hh:625:11: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’ if (!this->myDataPtr->connections.empty()) ^ /usr/include/gazebo-7/gazebo/common/Event.hh:627:64: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’ auto const &iter = this->myDataPtr->connections.rbegin(); ^

pulver22 commented 8 years ago

For what I know, you need to use ros indigo with Gazebo 2!

bermejocrew commented 7 years ago

So I need to install Gazebo 2.2 instead of Gazebo 7 and the tried to install tum_simulator again??

pulver22 commented 7 years ago

You need ros indigo and you won't face any problem!

ziggBee30 commented 6 years ago

its strange to know that we need to downgrade to work on something like this.

issouker97 commented 4 years ago

Hi @bermejocrew i'm facing the same problem and i'm using gazebo 7 , the ardrone_autonomy was successfully installed contrary to tum_simulator , when i had tried to install it i faced this problem i would be grateful if you could help me , how did you solve the problem . i'm new in ros and i'm running a university project i'm totally stranded ,thanks in advance