unable to install baxter with ros indigo and gazebo 7.

asked 2017-01-09 07:35:37 -0500

dinesh gravatar image

updated 2017-01-09 08:07:14 -0500

When i try to build the baxter simulator i'm getting lot of errors eg:

/usr/include/gazebo-7/gazebo/common/Event.hh:664:14: error: ‘class gazebo::event::EventTPrivate<void(std::basic_string<char>)>’ has no member named ‘connections’
       if (it != this->myDataPtr->connections.end())
              ^
/usr/include/gazebo-7/gazebo/common/Event.hh:667:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(std::basic_string<char>)>*)this)->gazebo::event::EventT<void(std::basic_string<char>)>::myDataPtr->gazebo::event::EventTPrivate<void(std::basic_string<char>)>::connectionsToRemove’, which is of non-class type ‘int’
         this->myDataPtr->connectionsToRemove.push_back(it);

Is this necessary to use gazebo 2 for baxter simulator, i'm using gazebo 7 with ros indigo from so many months.

I was trying to use this to see how ros is controlling the robot in gazebo in high level and how joint trajectorys have been executed, but seems like i have to reinstall my gazebo.

Here is the screen shot of the errors: d

edit retag flag offensive close merge delete

Comments

Using Gazebo of the higher version than 2.x on Indigo is an FAQ. See Migration Note for ROS Indigo.

130s gravatar image 130s  ( 2017-01-09 08:20:54 -0500 )edit

Wel i'm using gazebo 7 since so many months now, all the gazebo_ros_packages and ros_controllers are working fine with it till now. but at this time when i am trying to install baxter simulator only i'm getting this errors, from erros it seems like all the baxter related plugins uses gazebo 2 api.

dinesh gravatar image dinesh  ( 2017-01-09 08:40:58 -0500 )edit

Isn't their any way to make it work with gazebo 7? do i have to reinstall the gazebo. if i have to i will but if their is any other way than i'm happy cas gazebo 7 works very smoothly than gazebo2.

dinesh gravatar image dinesh  ( 2017-01-09 08:42:19 -0500 )edit

Didn't even know there's a successful example of using Gazebo7 along with Indigo. Unless you need specific feature from Gazebo7, however, I would first give it a try on Gazebo5, which is tested with Indigo as the Migration Note says.

130s gravatar image 130s  ( 2017-01-09 13:30:47 -0500 )edit