Giter VIP home page Giter VIP logo

myrobotlab's Introduction

myrobotlab

Open Source Java Framework for Robotics and Creative Machine Control

Project Website: http://www.myrobotlab.org (Stop by and say hello in the shoutbox!)

Installing Dependencies

Dependencies for MyRobotLab are downloaded when you run "java -jar myrobotlab.jar -install" They are managed via integration with Apache Ivy.

When doing development with MyRobotLab, you can import it as a Maven project and dependencies are managed through maven. Each service defines a static method called getMetaData(). This method is used to generate the pom.xml file and also to create the .myrobotlab/serviceData.json file which is used by Ivy.

Running MyRobotLab

You will need Java 8 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)

Make sure java is in your path. open a terminal window and change to the directory where you've downloaded the myroblab.jar

To start MyRobotLab you can do so by running

java -jar myrobotlab.jar

If you want to start MyRobotLab and execute a python script on startup, you can use the following command:

java -jar myrobotlab.jar -service runtime Runtime python Python gui SwingGui -invoke python execFile MyScript.py

To pass additional arguments to the JVM on startup (such as increasing the java memory / heap size you can use the -jvm arg :

java -jar myrobotlab.jar -jvm "-Xmx512m -Xms512m"

To start a list of named services on startup, you can use the -service command line arg with a list of service name/type pairs.

java -jar myrobotlab.jar -service runtime Runtime python Python gui SwingGui wegbui WebGui

The above would start runtime, python, the swing gui and lastly the webgui.

Building Project

MyRobotLab builds using the Apache Maven java build system.

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

Clone the myrobotlab project

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

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.

myrobotlab's People

Contributors

supertick avatar kwatters avatar moz4r avatar matsmrl avatar calamity01 avatar lundev avatar alessandruino avatar beetlejuicefr avatar hairygael avatar kmcgerald avatar dmeehl avatar giovannimirulla avatar autonomicperfectionist avatar scruffy-bob avatar scottbyrns avatar coder6421 avatar dependabot[bot] avatar steveh110 avatar wilcovantoorn avatar markusorngren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.