r/java • u/[deleted] • Mar 03 '22
Visualizing Robots with JavaFX
https://www.youtube.com/watch?v=E9csKYFPwaM2
u/agentoutlier Mar 03 '22
I was looking at the robots and was like damn that would be awesome to play around with my son but probably kind of expensive. Maybe something we can save up for. looks at prices... I guess back to hot gluing shitty dc motors and servos to lego technic sets....
2
u/OddEstimate1627 Mar 03 '22 edited Mar 03 '22
We're a small company with a focus on custom R&D and high-end research (e.g. NDT, CMU's HUMRS, or NASA's Superball v2). We have considered building actuators for the hobbyist segment a few times, but at the moment it's not feasible without severe sacrifices in both quality and functionality. The result wouldn't be much better than what's already out there.
That being said, the Software including APIs and iOS / Android apps are available for free, so there is actually quite a bit that you could play around with.
1
u/agentoutlier Mar 03 '22
Yeah there is lots of hobby kits but none of them are very modular.
Seeing the "modular" part got me excited because if you want to do something outside of a kit its best just to rip out the servos and motors and attach them to legos.... plus we have lots of legos.
<begin rant>
Lego could actually build and sell high quality hobby robotic stuff but they clearly rather sell Star Wars and other branded crap. Oh and the stuff they do sell that is robot like is ridiculously priced.
We recently just got an erector set robot thingy which is promising. I think it's compatible with erector set.
2
u/Thesandman55 Mar 03 '22
The precision you get with lego gears and robotic parts is second to none in the toy market, but the chinese have actually gotten really with their precision to where some brands are fully cross compatible with lego now. Honestly, the wait times might take for ever but I recommend looking into chinese brands
0
Mar 03 '22
Running JavaFX on windows 10 or 11? I heard several people having problems with running FX on windows 11. Not supported anymore?
1
Mar 03 '22
Not my project, so I can't confirm what they are running it on. I'm still on Windows 10, haven't tried 11.
5
u/OddEstimate1627 Mar 03 '22
It's a cross-platform UI supporting the major OS. The video is running OpenJFX16 on JDK17 on Windows 10.
I just tested it on Windows 11 and didn't notice a difference. All the 2D / 3D features worked, and I didn't see any noticeable differences in network latency or the OS scheduler either.
1
Mar 03 '22
How did you install javafx on W11? Using the sdk and lib directory or a jdk version with fx already there? I cannot test it by myself on my mbam1 because their is no aarch64 implementation for W11 for FX unfortunately.
5
u/OddEstimate1627 Mar 03 '22
I used the jlink runtime image bundled with the application. The image was built by adding the OpenJFX16 jmods to non-JFX Zulu 17 runtime.
3
1
4
u/OddEstimate1627 Mar 03 '22
FWIW I added some info on the implementation to the original post on the r/JavaFX sub