Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think in some cases it may fail. Most of the gazebo_ros_* plugins in ROS have the following code:

if (!ros::isInitialized())
{
  int argc = 0;
  char** argv = NULL;
  ros::init(argc, argv, "gazebo", ros::init_options::NoSigintHandler |
                                  ros::init_options::AnonymousName);
}

So, probably in your case ROS is just initialized already. Though, I am not sure what "initialized" means in this case.

Boris