Go to advanced search

by clicky
Mon Jul 18, 2016 5:44 pm
Forum: Java
Topic: Using Pi4J to control an ESC and brushless motor
Replies: 18
Views: 5107

Re: Using Pi4J to control an ESC and brushless motor

I would wholeheartedly recommend using servioblaster (or piblaster) - with pi4j or otherwise... It is really easy to setup and even easier to control! Also, instead of using ESC for tests, grab cheap servo and experiment on it. Both servo and ESC work on same, servo signals so it is much safer playi...
by clicky
Wed Jun 29, 2016 9:24 am
Forum: Java
Topic: IDE for raspberry pi 3
Replies: 5
Views: 3319

Re: IDE for raspberry pi 3

I made this: http://remotevm.abstracthorizon.org/ specifically to do so: develop on my laptop and run on RPi... You add extra client jar to your eclipse project, start agent jar on your RPi and change your run profile in Eclipse to what is described here ( http://remotevm.abstracthorizon.org/eclipse...
by clicky
Mon Jun 06, 2016 7:25 am
Forum: Java
Topic: RFC522 RFID Reader
Replies: 5
Views: 5656

Re: RFC522 RFID Reader

MFRC522 is not made for Arduino - it is general purpose chip which on this board was configured to use SPI interface (if I got it right - at least by https://www.addicore.com/v/vspfiles/downloadables/Product%20Downloadables/RFID_RC522/RFIDQuickStartGuide.pdf or https://community.particle.io/t/gettin...
by clicky
Sat May 21, 2016 11:15 am
Forum: Java
Topic: Java OpenGL ES 2 bindings using JogAmp JOGL 2
Replies: 78
Views: 41651

Re: Java OpenGL ES 2 bindings using JogAmp JOGL 2

Here is quick bootstrap for LibGDX 1.7.1 for those who can't/don't want to go through the hassle of compiling libgdx jogl backend to be used with Raspberry Pi. I have uploaded two files to the dropbox: rpi-example.zip - example libgdx project: https://www.dropbox.com/s/m9qrqvqzr8dyhpi/rpi-example.zi...
by clicky
Fri May 13, 2016 9:11 pm
Forum: Java
Topic: Java OpenGL ES 2 bindings using JogAmp JOGL 2
Replies: 78
Views: 41651

Re: Java OpenGL ES 2 bindings using JogAmp JOGL 2

I have code that runs on RPi. I don't mind sharing pre-compiled libs for it (PM me here). It is, at this moment, stuck at 1.7.1 but at some point in future I don't mind investing some more time bumping it to whatever it is going to be next version, then. As for guide - search here - it is not that m...
by clicky
Fri Apr 29, 2016 8:39 pm
Forum: Java
Topic: OpenCV hardware acceleration
Replies: 4
Views: 2605

Re: OpenCV hardware acceleration

Could you, please, share links for C++ here? Maybe we can make some JNI java wrappers for it...
by clicky
Sat Apr 23, 2016 7:51 am
Forum: Java
Topic: java hidapi
Replies: 9
Views: 2112

Re: java hidapi

You seem to be on the right track but something is missing. Here's what I have for: $ ldconfig -p | grep hid libhidapi-libusb.so.0 (libc6,hard-float) => /usr/local/lib/libhidapi-libusb.so.0 libhidapi-libusb.so.0 (libc6,hard-float) => /usr/lib/libhidapi-libusb.so.0 libhidapi-libusb.so (libc6,hard-flo...
by clicky
Sat Apr 23, 2016 7:49 am
Forum: Java
Topic: PCF8591 Java
Replies: 7
Views: 2194

Re: PCF8591 Java

MarkHaysHarris777 wrote:ADC and the i2c is tricky.
I don't understand which part is tricky? If you are talking about the throughput/frequency of samples, maybe, but otherwise no idea what are you referring to. I've checked the links you supplied and still not sure why would it be?
by clicky
Wed Apr 20, 2016 3:52 pm
Forum: Java
Topic: java hidapi
Replies: 9
Views: 2112

Re: java hidapi

Question is which so you are after: one that's a JNI wrapper (probably inside of the jar) and hidapi itself. I admit I struggled to find how to install hidapi and did so many thing until it worked and now I am not 100% sure which brought libhidapi libs: /usr/local/lib/libhidapi-libusb.* and/or /usr/...
by clicky
Tue Jan 26, 2016 4:40 pm
Forum: Java
Topic: JavaFX Axes swapped
Replies: 5
Views: 2022

Re: JavaFX Axes swapped

Huh. It, kind of, doesn't work properly. Here's what I've done: screenX = screenX * 1280 / 960; if (screenX >= 1280) { screenX = 1279; } screenY = screenY * 800 / 750; if (screenY >= 800) { screenY = 799; } (my screen size is 1280x800) This is not good code and values of 960 for x and 750 for y coor...
by clicky
Thu Jan 21, 2016 4:08 pm
Forum: Java
Topic: JMonkeyEngine
Replies: 8
Views: 2031

Re: JMonkeyEngine

I have followed all from above link - whatever xranby did in here https://github.com/gouessej/libgdx.
by clicky
Tue Jan 19, 2016 4:30 pm
Forum: Java
Topic: JMonkeyEngine
Replies: 8
Views: 2031

Re: JMonkeyEngine

I've done some testing of RPi's capabilities with LibGDX (it is all OpenGL after all and 'engine' doesn't matter) where my daughter made a house (along with some interior) in Sketchup and I loaded in as a model (there were quite a few textures as one can imagine) and made little 'fly through' code w...
by clicky
Tue Jan 19, 2016 11:31 am
Forum: Java
Topic: JMonkeyEngine
Replies: 8
Views: 2031

Re: JMonkeyEngine

Out of interest - are you after 2D or 3D side of it?
by clicky
Mon Jan 18, 2016 4:32 pm
Forum: Java
Topic: Java & Maven on Raspberry Pi Zero
Replies: 1
Views: 861

Re: Java & Maven on Raspberry Pi Zero

I haven't really - but Pi Zero has similar (same?) CPU to RPi B+ and many people here use Java regularly on it. Maybe not for development, but our laptops are better for it anyway. Check these topics for several methods of doing it...
by clicky
Mon Jan 18, 2016 4:28 pm
Forum: Java
Topic: JMonkeyEngine
Replies: 8
Views: 2031

Re: JMonkeyEngine

I opted for LibGDX and it woks quite nice on RPi thanks to @xranby

viewtopic.php?f=81&t=112806&sid=749a4cd ... ebcd860781
by clicky
Sat Jan 02, 2016 12:14 pm
Forum: Java
Topic: Java API for Accessing the RPi Cam
Replies: 15
Views: 22130

Re: Java API for Accessing the RPi Cam

Oh, but that is just start. Sorry - I had so many ideas around Java + imaging on Raspberry Pi and it seems that you slowly started implementing it. When I get a moment I can write up here all the ideas and you can see how far you can/want to pushed them to.
by clicky
Thu Dec 31, 2015 5:23 pm
Forum: Java
Topic: Java API for Accessing the RPi Cam
Replies: 15
Views: 22130

Re: Java API for Accessing the RPi Cam

Really nice. :)

I can already see what are the next steps:

1. Allow spaces in the file name ;)
2. Stream jpg (and png, and other formats raspistill supports) directly from that process to a buffer in JVM mem.
3. Add raspivid in similar manner...
by clicky
Wed Dec 30, 2015 9:29 am
Forum: Java
Topic: Java Device I/O code
Replies: 9
Views: 3320

Re: Java Device I/O code

Interesting reasoning. I am with you with many points (I started with Java 1.0 originally and stayed with the language through last 20 years - reason more I really like projects like pi4j and libgdx). Same as you I never dismissed Python (which I only learned through kids gaming club I am helping in...
by clicky
Tue Dec 29, 2015 9:24 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 15335

Re: RPi libgdx game development framework

Hi Xerces, Just quickly to thank you again. I finally got chance to play with it and got it working on my RPi virtually without any issues. There are two tiny problems (I can, for now for around) and if you have ideas what to look for/how to fix do them let me know: - known issue (cannot find thread...
by clicky
Tue Dec 29, 2015 8:59 am
Forum: Java
Topic: Java Device I/O code
Replies: 9
Views: 3320

Re: Java Device I/O code

"I just needed something based on standard Java Device I/O."

I'm just curious to learn why?
by clicky
Mon Dec 14, 2015 8:44 pm
Forum: Java
Topic: Pi4J Now Supports Non-Privileged Access (no more root/sudo)
Replies: 1
Views: 1494

Re: Pi4J Now Supports Non-Privileged Access (no more root/su

Wow. Well done! Thanks!
by clicky
Fri Dec 11, 2015 6:18 pm
Forum: Java
Topic: Raspberry Pi with Java: Programming the Internet of Things
Replies: 3
Views: 3645

Re: Raspberry Pi with Java: Programming the Internet of Thin

I am failing to see the problem with Pi Zero, lightweight and Java connection. Nor, problem of Java not being 'lightweight'. Every problem has its own solution and not all are having Java as ideal solution. But, after all, there is quite a big number of problems where Java is really good solution (b...
by clicky
Sat Nov 21, 2015 8:53 am
Forum: Java
Topic: JavaFX Axes swapped
Replies: 5
Views: 2022

Re: JavaFX Axes swapped

Of, if you are like me, make calibration inside of your app and use uncalibrated input and do translation yourself. If you are making project for yourself and as one of stuff, you can even hardcode calibration values.
by clicky
Tue Nov 17, 2015 9:13 pm
Forum: Java
Topic: Show web page with java
Replies: 9
Views: 2693

Re: Show web page with java

http://lmgtfy.com/?q=swing+html

Don't forget to check second link, too. But, unlike Lobo it doesn't cater to the latest CSS and some newer HTML if I remember correctly.
by clicky
Tue Nov 17, 2015 8:19 am
Forum: Java
Topic: Show web page with java
Replies: 9
Views: 2693

Re: Show web page with java

Something like this: http://lmgtfy.com/?q=java+web+browser This seems promising: https://github.com/oswetto/Loboevolution Disclaimer - I didn't get chance to test it lately - but some 10-12 years ago Lobo was *it*. Or maybe: https://www.teamdev.com/jxbrowser Also, Swing itself has some limited HTML ...

Go to advanced search