Couldn't find an AF_INET address for []
Hello. When I summon my robot in Gazebo I get this. Any ideas?
metobom@m3tobom:~$ gazebo
[FATAL] [1548761259.434075408]: You must call ros::init() before creating the first NodeHandle
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
[ERROR] [1548761259.439823974]: [registerPublisher] Failed to contact master at [:0]. Retrying...
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
It does say "You must call ros::init() before creating the first NodeHandle" Have you checked your code to see if this is the case?
@metobom: I would suggest to add lots more context here: What are you trying to do exactly? Did you write a Gazebo plugin yourself? If not: which one are you using? Straight/plain
gazebo
does not do anything with ROS, so theFATAL
error mentioningros::init()
confuses me.I launched Evarobot gazebo model with
roslaunch evarobot_start start.launch
then saved evarobot model from Model Editor. And then I tried to summon that model in a new gazebo world. My aim is to summon Evarobot in a world my own.