Fail to run hector_gazebo_plugins OSX 10.9
So i finally just got hydro installed on osx 10.9 yesterday, and now i want to put in some gazebo plugins (gps for now). I downloaded the source for hectorgazeboplugins, built them, and then modified the husky model in .gazebo/models/husky folder and just added the novatel gps plugin at the very end.
Without the plugin, everything is fine, but once i put in the plugin, the gazebo terminal is spitting these errors out:
2014-09-19 11:27:18.974 gzclient[9332:507] invalid drawable
2014-09-19 11:27:20.737 gzclient[9332:507] invalid drawable
[FATAL] [1411144045.512843000]: You must call ros::init() before creating the first NodeHandle
Couldn't find an AF_INET address for []
[DEBUG] [1411144045.513123000]: Adding tcp socket [35] to pollset
[DEBUG] [1411144045.513165000]: UDPROS server listening on port [58271]
Couldn't find an AF_INET address for []
[ERROR] [1411144045.513380000]: [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 []
........
Also when i launch it, a window pops up saying gzclient has failed.
I looked around around and saw that people where saying that gazebo itself does not call ros::init(), but the plugin itself. I couldn't find anywhere in the source where it had a ros::init() command, so then i thought maybe i don't have some dependencies installed.
cd ~/edt/igvc_ws
rosdep install --from-paths src --ignore-src --rosdistro hydro -y
And i get home-brew errors saying there is no such formula:
Krystian:~/edt/scipio$ rosdep install --from-paths src --ignore-src --rosdistro hydro -y
Error: No available formula for hector_models
Please tap it and then try again: brew tap ros/hydro
Error: No available formula for clearpath_base
Please tap it and then try again: brew tap ros/hydro
Error: No available formula for convex_decomposition
Please tap it and then try again: brew tap ros/hydro
Error: No available formula for ivcon
Please tap it and then try again: brew tap ros/hydro
executing command [brew install ros/hydro/hector_models]
Error: No available formula for hector_models
Please tap it and then try again: brew tap ros/hydro
Searching taps...
ERROR: the following rosdeps failed to install
homebrew: command [brew install ros/hydro/hector_models] failed
Does anybody know/had experience with using hector gazebo plugins for osx 10.9 and what do i need to do? I need this GPS, IMU, and laser scanner.
Asked by l0g1x on 2014-09-19 12:04:28 UTC
Comments
Do you remember If you found what the problem was? I am having exactly the same error message when I try to connect 4diac to ros
Asked by SofiaGr on 2017-10-12 16:05:42 UTC