a1g0rithm / myrobotlab

Open Source Java Framework for Robotics and Creative Machine Control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myrobotlab

Open Source Framework for Robotics and Creative Machine Control

Project Website: http://myrobotlab.org

Base Requirements

You will need Java 11 or newer. If you are only running MyRobotLab you need the JRE (Java Runtime Environment.) If you are going to be building from source, you'll need the JDK (Java Development Kit) Oracle or OpenJDK will work

Download the myrobotlab.jar

Download

latest Nixie 1.1.X

stable Manticore 1.0.2693

Running MyRobotLab

After downloading and unzipping myrobtlab.zip into a new folder, start the appropriate script

Linux or MacOS

myrobotlab.sh

Windows

myrobotlab.bat

The first time the script runs it will automatically install all services and their dependencies, then it will launch myrobotlab. The subsequent starting of myrobotlab will skip the installation stage. If a browser does not automatically start you can go to http://localhost:8888 to see the web user interface.

Building Project

MyRobotLab core is written in Java. Its web ui is written in AngularJs and html.
And a few services (e.g. InMoov2) are in a different repo. The can be developed seperately so 3 build instruction sets are described.

All development environments require git and cloning the source.

Cloning Repo

create a directory to clone the repositories in (assuming you're on windows and cloning to the c:\dev directory)

mkdir c:\dev
cd dev
git clone https://github.com/MyRobotLab/myrobotlab.git
cd c:\dev\myrobotlab

Java Core

If you want to be making core changes, you will need to install a Java developement environment

Install Java 11

https://www.oracle.com/java/technologies/downloads/#java11

Building with Eclipse

Download Eclipse for Java Developers At: https://www.eclipse.org/downloads/packages/

Building with Maven

MyRobotLab builds using the Apache Maven java build system.

Download Maven At: https://maven.apache.org/download.cgi

To compile and build a myrobotlab.jar first : ensure that "mvn" (maven version 3.3+ is installed and in the path)

mvn clean install

This should produce a local build for you "myrobotlab.jar" file will be located at

myrobotlab/target/myrobotlab.jar

If you want to compile and skip the tests, you can use the standard maven approach

mvn clean install -DskipTests

Contributing

All development is done on the develop branch. To contribute code, the typical approach is to create an issue about the feature/bug you're working on.

From Github create a branch based off the "develop" branch with a descriptive name (and associated Issue number if available) Locally switch to the new branch Make code changes Commit & Push (frequently!) When code is ready, submit a pull request to the develop branch! Enjoy the code review, address issues and concern in the code review Reviewer merges pull request to develop. Reviewer deletes branch.

About

Open Source Java Framework for Robotics and Creative Machine Control

License:Apache License 2.0


Languages

Language:Java 72.0%Language:JavaScript 18.3%Language:HTML 3.6%Language:C++ 2.8%Language:Python 1.9%Language:CSS 1.0%Language:SCSS 0.2%Language:Propeller Spin 0.1%Language:C 0.1%Language:Shell 0.0%Language:Batchfile 0.0%Language:GLSL 0.0%