Robo4J RaspberryPi Lego controller using Logitech GamePad F710
- you need to have your GamePad connected to your RapsberryPi device
- go to project folder release
- upload following files
properties values are according to the 'raspstill' util documentation
- clone and install robo4j project from Robo4J Github organisation
- Robo4J will be installed into the local maven repository
- command inside the project root folder:
$ gradle clean build install
- clone Robo4J-rpi-camera-client example from Github
- go the the directory and create FatJar file
- command:
$ gralde clean fatJar
- upload jar file to raspberryPi
- you can use scp command:
$ scp ./robo4j-rpi-camera-client-alpha-0.3.jar pi@x.x.x.x:/home/pi
- run example on raspberryPi client
$ java -jar robo4j-rpi-camera-client-alpha-0.3.jar
- image is available over http get request
- open your favorite browser
- type link: http://:8025/imageProvider?image.jpg
- imageProvider is the unit reponsible for providing taken image
- URI option: image.jpg is the access to the taken image
Notes: RaspberryPi must have successfully installed camera module otherwise default image will be displayed
Example of Running example on raspberryPi:
INFO: cameraCommand:raspistill -br 60 -ex nightpreview -co 30 -w 640 -t 1 -tl 100 -h 480 -n -e jpg --nopreview -o -
State before start:
RoboSystem state Uninitialized
================================================
httpClient Initialized
httpServer Initialized
imageController Initialized
imageProvider Initialized
scheduleController Initialized
State after start:
RoboSystem state Started
================================================
httpClient Started
httpServer Started
imageController Started
imageProvider Started
scheduleController Started
Press enter to quit!
The Robo4j framework uses Gradle to build. It's required to create fatJar file and run.
- Java JDK 8
- Robo4j.io :: version: alpha-0.3
Follow @robo4j or authors: @miragemiko , @hirt on Twitter. In-depth articles can be found at Robo4j.io or miragemiko blog
The Robo4j.io Framework is released under version 3.0 of the General Public License.