Lego controlled with cloudfoundy via websockets

This is a short test about our platform based on cloudfoundry that publish data from lego to an html5 webpage via websockets. The lego packet follows this stream:

  1. A console app read data using lejos and send them via upd to a clodfoundry java app.
  2. The java app writes the packet to a ranbbitmq queue.
  3. A nodejs app reads the packet and send it via websocket using sockjs.
  4. The webapp read the packet and updates the svg using jquery.

Commands to lego follow the same path.

Enjoy the video 🙂

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s