Tuesday, June 14, 2016

Robo4j.io alfa-0.2 release - documentation : part1


   The Robo4j alfa-0.2 release is another big step for Robo4.j framework. It contains 1st version of robo4-brick-client. 
   The Robo4j brick-client is standalone module which uses native robot hardware. The module contains also stand alone server which is able to communicate with rest the of the word.    The communication with the robo4j-brick-client uses JSON lightweight data-interchange format. The current implementation allows to send basic robot platform orient commands. 
Such commands allow to process simple movements (move, back, right, left) with the Robo4j Alfa Robot unit
   Before you can use the build-in features of the robo4j-brick-client you need to run application itself directly on the Levo EV3 brick. It means that client needs to becompiled as fatJar and uploaded on the brick by busing, for example, the following command:
$scp ./Robo4jBrick.jar brick_user@brick_ip:/home/root/lejos/samples
example of accessing Robo4j brick-client from command-line using cURL:
$curl  -X GET  http://brick_ip:8022?left=10\&right=10
Before we go little more into the details it's worthwhile to mention that POST service is also available.
The POST request will be in future preferred over the SSL communication layer.
$curl -H "Content-Type: application/json" -X 
POST -d '{"command" : "right=10;left=10"}' http://brick_ip:8022

  You've seen the main visible change in alfa-0.2 release. But it's not everything, the robot hardware specific apart has been move to the package robo4j-lego module and robo4j Agent structure has been improved. 
  Robo4j alfa-0.2 also comes up with robo4j-commons which is the set of commonly used utils and features across the whole Robo4j project.
  Last visible improvement it Robo4j template engine PageParser. This engine is currently responsible for generation robo4j-line help and robo4j-brick-client web pages.
Videos and more is coming 
Stay tuned!

   


6 comments:

  1. Handling finances properly can be simplified with the help of the right professionals. A reliable tax consultancy provides insight that goes beyond filing, offering structured planning and personalized solutions.

    ReplyDelete
  2. Tenants often underestimate the importance of securing their belongings in rented spaces. Investing in renters insurance gives assurance against unexpected damages or theft. It also provides liability coverage in case of accidents within the rental property.

    ReplyDelete
  3. Trust in public programs grows when people have access to honest and understandable information. With social security transparency initiatives, citizens are given a clear view of their contributions and entitlements.

    ReplyDelete
  4. Protecting the edges of a roof is just as important as covering the main surface. It prevents rainwater and pests from weakening the structure. That’s why knowing how to install fascia boards is a useful skill for any homeowner or DIY enthusiast. The process involves cutting boards to fit the rafters, attaching them securely, and ensuring they align with the roofline.

    ReplyDelete
  5. E-commerce success begins with the right foundation and a clear plan. Gaining knowledge of how to build a shopify store from scratch empowers business owners to create a platform that suits their goals.

    ReplyDelete
  6. Cultural garments are admired for their ability to embody simplicity while radiating sophistication. The thobe remains one of the most iconic examples, offering timeless elegance and modesty. Its long, flowing cut ensures comfort, making it ideal for both everyday wear and special occasions.

    ReplyDelete