Page 3 of 3

Re: Can leJOS run on ev3dev?

Posted: Sun Jun 18, 2017 12:35 pm
by esmetaman
Ev3dev-lang-java v0.6.1 is out.
http://ev3dev-lang-java.github.io/#/

The new version includes:

- Adding support for Profiling Tools
- Enabling Stop modes for BrickPi+ & PiStorms
- Add Button, LED & LCD Support for EV3
- [POC] ROS2Java test on Ubuntu
- Development of Battery Monitor
- Adding lejos-navigation

Many videos about the usage of the new library lejos-navigation running on a EV3 Brick with EV3Dev with no changes from Original LeJOS Repository.
https://www.youtube.com/playlist?list=P ... H5p157LZX3

After summer, new release with ROS Support. I will try to be compatible with LeJOS & EV3Dev-java. I have to review the interfaces available on lejos.robotics to reach the goal and run the development on both environments. :D

Sub projects:
https://github.com/ev3dev-lang-java/ev3dev-lang-java
https://github.com/ev3dev-lang-java/lejos-commons
https://github.com/ev3dev-lang-java/lejos-navigation
https://github.com/ev3dev-lang-java/RPLidar4J
https://github.com/ev3dev-lang-java/batteryMonitor
https://github.com/ev3dev-lang-java/installer

Cheers

Juan Antonio

Re: Can leJOS run on ev3dev?

Posted: Sat Aug 12, 2017 7:19 pm
by esmetaman
New features included on release 0.7.0 is coming:

Support for Arduino and 9 axes motion shield (BNO055) using an USB Integration:
https://github.com/ev3dev-lang-java/usb ... ee/develop

Video:
https://www.youtube.com/watch?v=OY2B7B0Qi2Y

Example:

Code: Select all

package examples;

import ev3dev.actuators.Sound;
import ev3dev.arduino.sensors.bn055.BNO055;
import ev3dev.arduino.sensors.bn055.BNO055Listener;
import ev3dev.arduino.sensors.bn055.model.BNO055Response;
import ev3dev.arduino.sensors.bn055.model.Euler;
import ev3dev.arduino.sensors.bn055.model.Euler;
import ev3dev.sensors.Battery;
import ev3dev.sensors.Button;
import lombok.extern.slf4j.Slf4j;

public @Slf4j class BNO055TurnTest {

   public static void main(String[] args) throws Exception {

      final String port = "/dev/ttyACM0";
      final BNO055 bno055 = new BNO055(port);
      bno055.init();

      log.debug("{}", Battery.getInstance().getVoltage());

      bno055.addListener(new BNO055Listener() {

         @Override
         public void dataReceived(final BNO055Response response) {

            if(response.getEuler() != null){

               final Euler euler = response.getEuler();

               log.debug("Heading: {}", euler.getHeading());

               if( (euler.getHeading() > 90.0f) &&
                  (euler.getHeading() <= 100.00f)) {

                  //Sound.getInstance().beep();
                  log.info("REACHED");
               }
            }
         }

      });

      Button.waitForAnyPress();
      log.debug("{}", Battery.getInstance().getVoltage());
      bno055.close();
      log.info("Closing connection with Arduino");

   }
}

Support for RPLIDAR A2 using an USB connection
https://github.com/ev3dev-lang-java/RPL ... ee/develop

Cheers

Re: Can leJOS run on ev3dev?

Posted: Thu Sep 07, 2017 7:29 pm
by esmetaman
ev3dev-lang-java 0.7.0 is out.

## 0.7.0 2017-09-06

- Upgrade lejos-commons to 0.6.0
- Docker Support
- Upgrade Wrapper
- Upgrade Fat Jar generation
- Adding Port support
- Support for BrickPi3
- Add Support Absolute IMU
- Add Support for NXTCam V5
- Initial Test support

Maven artifact:
https://jitpack.io/#ev3dev-lang-java/ev ... java/0.7.0

Juan Antonio

Re: Can leJOS run on ev3dev?

Posted: Tue Mar 13, 2018 8:04 am
by esmetaman
For 2018, this issue try to collect all possible suggestion to improve in the project.
https://github.com/ev3dev-lang-java/ev3 ... issues/413

Any comment is welcome.

Juan Antonio