[ros-users] FreeBSD patch for boxturtle

Ken Conley kwc at willowgarage.com
Mon Jun 14 17:05:16 UTC 2010


On Mon, Jun 14, 2010 at 9:54 AM, Rene Ladan <rene at freebsd.org> wrote:

>
> I've also tried adding FreeBSD to the _is_unix_like_platform() list in
> roslib/network.py but that made roscore incapable of starting (on a
> 64-bit little endian machine):
>

That will definitely require it's own branch of logic. That code is trying
to do the appropriate ioctl incantation to get the full interface list,
which is very platform specific. BSD/OSX/etc... have their own settings that
I'd happily accept a patch for.  It's a bit of a soft fail, regardless --
ROS by default tries to use the hostname instead of IP address, and the main
purpose of that logic is for generating warnings.

 - Ken



>
> % setenv ROS_IP 127.0.0.1
> % setenv ROS_MASTER_URI http://localhost:11311
> % roscore
> ... logging to
>
> /home/rene/.ros/log/1dfb35c5-77d3-11df-8f0b-00262d5ed8ee/roslaunch-acer.rene-ladan.nl-4312.log
>
> started roslaunch server http://127.0.0.1:26031/
>
> SUMMARY
> ========
>
> NODES
>
> Traceback (most recent call last):
>  File "/home/rene/ros/tools/roslaunch/src/roslaunch/__init__.py", line
> 198, in main
>    p.start()
>  File "/home/rene/ros/tools/roslaunch/src/roslaunch/parent.py", line
> 224, in start
>    self.runner.launch()
>  File "/home/rene/ros/tools/roslaunch/src/roslaunch/launch.py", line
> 633, in launch
>    self._setup()
>  File "/home/rene/ros/tools/roslaunch/src/roslaunch/launch.py", line
> 603, in _setup
>    self._setup_master()
>  File "/home/rene/ros/tools/roslaunch/src/roslaunch/launch.py", line
> 340, in _setup_master
>    local_addrs = roslib.network.get_local_addresses()
>  File "/home/rene/ros/core/roslib/src/roslib/network.py", line 188, in
> get_local_addresses
>    struct.pack('iL', max_bytes, buff.buffer_info()[0]))
> IOError: [Errno 25] Inappropriate ioctl for device
> ^C
> ^C
> Killed
>
> The fallback case seems to work fine.
>
> Regards,
> Rene
> --
> http://www.rene-ladan.nl/
>
> GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
> (subkeys.pgp.net)
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100614/a7a2c728/attachment-0003.html>


More information about the ros-users mailing list