ubuntu18.04 编译rtt-lwr

32 篇文章 0 订阅
12 篇文章 1 订阅

https://rtt-lwr.readthedocs.io/en/latest/install/install-18.04-melodic.html

一路通过。

cound't find AF_INET address #4

 Open

roboticsai opened this issue on Mar 22, 2018 · 2 comments

Comments

 

 

roboticsai commented on Mar 22, 2018

after i run the rttlua-gnulinux -i deployment/youbot.lua i am getting below error. I have

Real-time memory: 517888 bytes free of 524288 allocated.
OROCOS RTTLua 1.0-beta5 / Lua 5.1.5 (gnulinux)
Use Ctrl-d to quit.

require("rttlib")
rttlib.color = true
tc = rtt.getTC()
depl = tc:getPeer("Deployer")
depl:import("rtt_tf")
depl:loadComponent("tf", "rtt_tf::RTT_TF")
tf = depl:getPeer("tf")
tf:configure()
[FATAL] [1521727485.462971209]: 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] [1521727485.496535916]: [registerPublisher] Failed to contact master at [:0]. Retrying...
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []

 

 

Member

meyerj commented on Mar 22, 2018

Either add

depl:import("rtt_rosnode")

to start the ROS node (calls ros::init() internally) or use the "ROS-aware" import function provided by package rtt_ros:

depl:import("rtt_ros")
rtt.provides("ros"):import("rtt_tf")

The import operation of rtt_ros follows the <plugin_depend> dependencies declared in the respective package.xml files, which for rtt_tf would include rtt_rosnode through rtt_roscomm.

Note that the current version of rtt_tf is broken since ROS hydro: orocos/rtt_ros_integration#68

heart 1

 

 

Author

roboticsai commented on Mar 23, 2018

Ok, thanks for helping, now its working, so many things to learn o god :>.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值