controller-youbot: call ros::init() error

asked 2018-03-08 07:57:59 -0500

dinesh gravatar image

I am trying to run run the controller-youbot package from this link. i have build this package succesfully. Now when i try to run the deployer as u can see below it shows some error. i don't know from which file or line of code this error is comming or where should i edit the code. So can anyone tell me how do i run this package. I have installed all the dependencyes for this package. I am running ros kinetic, ubuntu 16 with orocos toolchain 2.9.

robot@blackBird:~/youbot_catkin_ws/src/controller-youbot$ rttlua-gnulinux -i deployment/youbot.lua 
Real-time memory: 517888 bytes free of 524288 allocated.
0.062 [ Warning][ComponentLoader::import(path_list)] Component type name OCL::NetcdfReporting already used: overriding.
0.065 [ Warning][ComponentLoader::import(path_list)] Component type name OCL::LuaComponent already used: overriding.
0.065 [ Warning][ComponentLoader::import(path_list)] Component type name OCL::LuaTLSFComponent already used: 

overriding.
    0.067 [ Warning][ComponentLoader::import(path_list)] Component type name OCL::HelloWorld already used: overriding.
    OROCOS RTTLua 1.0-beta5 / Lua 5.1.5 (gnulinux)
    [FATAL] [1520517476.259597826]: 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] [1520517476.283024624]: [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 []
edit retag flag offensive close merge delete