I have ROS lunar from source running in notebook, while running any simulation with gazebo 8 I have this error message:
SpawnModel script started
SpawnModel script started
[ INFO] [1510746273.283898971]: Loading freefloating_fluid plugin
[FATAL] [1510746273.284096302]: 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] [1510746273.287385416]: [registerPublisher] Failed to contact master at [:0]. Retrying...
[INFO] [1510746273.304076, 0.000000]: Loading model XML from ros parameter
[INFO] [1510746273.309921, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1510746273.330882, 0.000000]: Loading model XML from ros parameter
[INFO] [1510746273.333284, 0.000000]: Waiting for service /gazebo/spawn_sdf_model
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Any idea of how to solve it or how to debug it ?
I have /etc/hosts configured.
And my env ros env are: export ROS_MASTER_URI=http://localhost:11311;export ROS_HOSTNAME=localhost
Originally posted by Patrickelectric on ROS Answers with karma: 1 on 2017-11-15
Post score: 0
Original comments
Comment by jayess on 2017-11-16:
Can you please update your question with the entire terminal output?