ev3dev-lang-java /examples
This repository store a set of examples ready to use with the ev3dev-lang-java libraries.
Checking it out
Before proceeding further, you need to change the brick connection parameters
in the config.gradle file in the main directory.
You can build the project and upload all programs with their dependencies with these commands:
./gradlew uploadGradleLibraries
./gradlew deployYou can then run them from the ev3dev menu in the examples subdirectory.
Alternatively, you can also work only with one project at a time:
./gradlew :opencv:deploy # only upload 'opencv' project
./gradlew :opencv:run # only run already uploaded build of 'opencv' project
./gradlew :opencv:deployRun # only upload and run 'opencv' projectTo change the class to be run in some example project, modify its config.gradle file.
If you run want to run the program from ev3dev menu, you will have to reupload it.
To remove all samples from the brick, just run:
./gradlew undeployContents
Take a look the following examples to discover some features included with this Java project.
EV3Dev-lang-Java:
- ev3dev.misc
- BumperCar
- BumperCar2
- ev3dev.robotics.tts
- TTSDemo
- TTSDemo2
- ev3dev.actuators
- LCDDrawIconsTest
- LCDDrawImagesTest
- LCDDrawLinesTest
- LCDDrawRectanglesTest
- LCDFontTest
- LCDTest
- LCDWriteTextTest
- SoundDemo
- ev3dev.actuators.ev3
- LEDExample
- ev3dev.actuators.lego.motors
- LargeMotorDemo
- LargeMotorDemo2
- MediumMotorDemo
- MotorEventTest
- MultipleMotorsDemo
- MultipleMotorsStopDemo
- RegulatedMotorRotateDemo
- RegulatedMotorRotateDemo
- RegulatedMotorRotateToDemo
- UnregulatedMotorDemo
- UnregulatedMotorDemo2
- UnregulatedMutilpleMotorDemo
- ev3dev.sensors
- BatteryDemo
- ButtonExample
- ev3dev.sensors.ev3
- ColorSensorDemo
- ColorSensorDemo2
- ColorSensorDemo3
- ColorSensorMultipleDemo
- GyroSensorDemo
- GyroSensorDemo2
- GyroSensorDemo3
- IRSensorDemo
- IRSensorDemo2
- IRSensorDemo3
- TouchSensorDemo
- USSensorDemo
- USSensorDemo2
- ev3dev.hardware
- PlatformTest
lejos-commons:
- lejos.commons.subsumption
- BumperCar
- DriveForward
- HitWall
lejos-navigation:
- lejos.robotics.navigation
- PilotConfig
- PilotConfig2
- DifferentialPilotStopTest
- DifferentialPilotTest1
- DifferentialPilotTest9
- MoveControllerTest1
- MoveControllerTest2
- NavigatorTest1
- NavigatorTest2
- NavigatorTest3
- NavigatorTest4
- lejos.robotics.objectdetection
- FeatureAvoider
- FeatureAvoider2
- FeatureAvoider3