ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

what is the purpose of zeroconf and avahi?

asked 2014-03-09 06:03:46 -0600

Recently, I discovered a process on my ubuntu that was eating away at both processor time and memory, 18% and 10% respectively. Avahi-daemon and I got rid of it along with pulseaudio. It seems to me that there is no need for avahi-daemon which is a zeroconf derivative in itself. If this process caused issues, isn't well maintained, and eats up precious resources then why is it being utilized in ROS? All the way to Hydro, I see zeroconf. I read the discription provided by the ROS wiki, and checked Archlinux for zeroconf and avahi. I still don't see what purpose it serves because I don't see it being a dependency for anything other than ros-hydro-turtlebot-bringup.

What purpose does zeroconf and avahi serve when the amount of resources it consumes is detrimental in a resource scarce scenario such as most robot systems, e.g. 7-DOF manipulators, vision-based path planning/navigation, etc?

I am trying to understand what, why, and how of this package/stack. I feel like it should be deprecated.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2014-08-13 07:50:51 -0600

Vegeta gravatar image

Later versions of Ubuntu include support for Zeroconf, a technique that allows machines on the same subnet to reference each other using local hostnames instead of IP addresses. So you can use this method if your desktop computer and robot are connected to the same router on a home or office network—a common scenario for both hobby and research robots.

You can use zeroconf to communicate between two systems (say, robot and desktop) to ssh into using just their hostnames.

For eg. If you type $hostname and you get something like "my_robot" you can use this instead of the IP address to communicate between the two pcs. Instead of IP address of both PC just using "my_robot.local" will be helpful.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-03-09 06:03:46 -0600

Seen: 920 times

Last updated: Aug 13 '14