LCM over ad hoc wireless

206 views
Skip to first unread message

Brian Bingham

unread,
Jan 20, 2011, 5:14:37 PM1/20/11
to Lightweight Communications and Marshalling
I am having some trouble getting LCM messages passed over an ad hoc
wireless network.

I just started messing with two unbuntu machines connected via ad hoc
wireless. I wanted to see if anyone has successfully made this work.
If so, any hints would be greatly appreciated.

Brian

Abe Bachrach

unread,
Jan 20, 2011, 6:52:42 PM1/20/11
to lcm-...@googlegroups.com
Hi Brian,
LCM was designed for high bandwidth wired networks where packet drops are very rare. As a result, it does not attempt to provide reliable transmission of data due to the overhead and extra complexity that that would entail. 

With wireless networks, you will not randomly loose enough packets, that it will not work very well.

When we wish to transmit data over wireless, we encapsulate the LCM message inside a TCP or UDP data stream. 

The code to do this is contained in our libbot repository, which unfortunately is not particularly well documented.
see the README for build instructions. Once you build, the program that you will be looking for is called
bot-lcm-tunnel

good luck!
-=Abe



--
You received this message because you are subscribed to the Google Groups "Lightweight Communications and Marshalling" group.
To post to this group, send email to lcm-...@googlegroups.com.
To unsubscribe from this group, send email to lcm-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lcm-users?hl=en.


brian bingham

unread,
Jan 20, 2011, 9:53:56 PM1/20/11
to lcm-...@googlegroups.com
Abe,

Thank you for the help. The libbot repository is great and the
documentation for the tunneling utility is actually pretty useful.

This solution works very well. Thank you for taking the time to reply.

Aloha,
Brian

Abe Bachrach

unread,
Jan 21, 2011, 12:44:36 AM1/21/11
to lcm-...@googlegroups.com
Glad it was helpful!

If you end up wanting to integrate it into your software system, I
would recommend adopting the Pods build system (yes I'm biased ;-)

We have tried to make it very convenient and easy for people to use,
and hope it will encourage/enable more sharing of code between
research groups!

-=Abe

Reply all
Reply to author
Forward
0 new messages