Code Monkey home page Code Monkey logo

ev3dev-lang-java's Introduction

ev3dev-lang-java Build Status

This project isn't dead. Just "not very active" in development.

An ev3dev unified language binding for Java, that followed with the language wrapper specification.

If you are finding a document or a tutorial for a specific version, come to https://mob41.github.io/ev3dev-lang-java

Library

This library supports ev3dev kernel version 17:

  • v4.4.32-17-ev3dev-ev3 for EV3
  • v4.4.31-ti-rt-r67-17-ev3dev-bb.org for BeagleBone
  • v4.4.32-17-ev3dev-rpi for Raspberry Pi 0/1
  • v4.4.32-17-ev3dev-rpi2 for Raspberry Pi 2/3

All the drivers and functions listed in the language wrapper specification are all supported, but without confirming the stability of those devices.

Other motors listed in http://www.ev3dev.org/docs/motors are also supported. DCMotor handles rcx-motor motors.

Other sensors listed in http://www.ev3dev.org/docs/sensors are still in heavy development.

Still in heavy development, please don't expect all things to be working, see issue #15 for more details or tracking development stage.

Release

This library currently does not have any releases, but snapshots (nightly builds) instead.

You can download the latest snapshot from the OSSRH repository directly or via Maven:

  1. Add the Sonatype snapshot repository.

    <repositories>
    	<repository>
       		<id>oss-sonatype</id>
        	<name>oss-sonatype</name>
        	<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        	<snapshots>
         		<enabled>true</enabled>
        	</snapshots>
    	</repository>
    </repositories>
  2. Add the dependency.

    <dependency>
    	<groupId>org.ev3dev</groupId>
    	<artifactId>ev3dev-lang-java</artifactId>
    	<version>1.0.0-SNAPSHOT</version>
    </dependency>

Build your own

You can build your own library with some steps.

  1. Ensure you have Maven installed in your system

  2. Clone this repository

    git clone https://github.com/mob41/ev3dev-lang-java.git

  3. Switch to the repository directory

    cd ev3dev-lang-java

  4. Build!

    maven package

  5. Switch to the target directory

    cd target

  6. There should have ev3dev-lang-java-x.x.x-x.jar and ev3dev-lang-java-x.x.x-x-jar-with-dependencies.jar in the directory.

License

This project is based on the MIT License

MIT License

Copyright (c) 2016 Anthony Law

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ev3dev-lang-java's People

Contributors

mob41 avatar

Watchers

 avatar  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.