Skip to content

Robo4J/robo4j

Repository files navigation

Robo4j-master

Robo4J

Robo4J provides an easy way of getting started with building custom hardware and creating software for it running on the JVM.

  • Robo4j.io is a robotics framework running on the JVM
  • Robo4j.io provides a library of hardware abstractions for RaspberryPi and Lego EV3 out of the box
  • Robo4j.io provides a library of configurable units that allows hardware to be enabled and configured through XML
  • Robo4j.io provides a threading model controlled by annotations

The current Robo4j.io version is 0.6-SNAPSHOT




Requirements

Git, Maven, OpenJDK 21

If you are looking for a JDK 21 ARM hard float build for Raspbian, we recommend looking into Liberica JDK or Azul Zulu.

Documentation

See current Robo4j documentation.

Note: Under construction.

Building from Source

The Robo4j framework uses build Maven management tool.

The following will build all components:

./mvn install

The individual bundles will be available under robo4j/<component>/build/libs. To install the bundles and make them available to downstream dependencies, run the following:

$ mvn clean install

Note: If you are not using Robo4J as the standard user (pi) on a Raspberry Pi, you will have to specify the path to the local maven repository in the file libraries.gradle, variable: mavenRepository

Note: Robo4J currently requires OpenJDK 21. Ensure that you build and run with OpenJDK 21.

Staying in Touch

Follow @robo4j or authors: @miragemiko, @hirt on Twitter.

In-depth articles can be found at Robo4j.io, miragemiko blog or marcus blog

License

Robo4J is released under General Public License v3.