Skip to content
/ RRB4J Public

Java implementation of RasPiRobotBoard3 (RRB3) library

License

Notifications You must be signed in to change notification settings

R-Gerard/RRB4J

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RRB4J

Java implementation of RasPiRobotBoard3 (RRB3) library.

RRB4J is built on top of Pi4J:

For information about the MonkMakes RRB3, see: https://www.monkmakes.com/rrb3/

Released builds are available from Maven Central.

Maven Coordinates

Use the following coordinates to include RRB4J in your project:

<dependency>
  <groupId>com.callidusrobotics.rrb4j</groupId>
  <artifactId>raspirobotboard</artifactId>
  <version>${rrb4j.version}</version>
</dependency>

Setup

You'll need Apache Maven to compile RRB4J from source.

You'll need Pi4J to run your application with RRB4J.

Maven

Install Apache Maven. The preferred method is to use the Maven Version Manager (mvnvm):

curl -s https://bitbucket.org/mjensen/mvnvm/raw/master/mvn > /usr/bin/mvn && chmod 0755 /usr/bin/mvn

Pi4J

Install Pi4J:

curl -s get.pi4j.com/install | sudo bash

Compiling

mvn clean install

Running

To run the sample application on a platform supported by Pi4J:

sudo java -jar target/raspirobotboard3-1.0.0-SNAPSHOT-jar-with-dependencies.jar

Overriding the default voltage settings:

sudo java -jar target/raspirobotboard3-1.0.0-SNAPSHOT-jar-with-dependencies.jar $BATTERY_VOLTAGE $MOTOR_VOLTAGE

About

Java implementation of RasPiRobotBoard3 (RRB3) library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages