Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.05 KB

ENGR110-SCARA

Java CI

Details

The project includes firmware to simulate and control a robotic arm. The arm was controlled using a RasberryPi through PWM.

Maven

This project is a refactored and production version of a first year engineering project. The Maven framework has been added to the project. This allows the project to easily be installed and tested on other machines.

N.B. This maven commands must be run in the JavaSimulation directory.

Configuration

Before we install the jar, we must add the ecs100 3rd party jar.

$ mvn install:install-file -Dfile=../ecs100.jar -DgroupId=nz.ac.ecs -DartifactId=ecs100 -Dversion=1.0 -Dpackaging=jar

Installation

This command creates two jars in the target folder.

$ mvn clean install

Run

To run the application we need to use the jar with dependencies.

The scara-X.Y-jar-with-dependencies.jar is located in the target folder.

$ java -jar target/scara-2.0-jar-with-dependencies.jar