Definitely something to check out: Twister OS.
It runs on pretty much any Raspberry Pi 4, it comes loaded with tons of cool apps, and it possibly looks like a Mac Desktop 😀.
I'll look deeper into it, but it sounds already promising!
Definitely something to check out: Twister OS.
It runs on pretty much any Raspberry Pi 4, it comes loaded with tons of cool apps, and it possibly looks like a Mac Desktop 😀.
I'll look deeper into it, but it sounds already promising!
I was gradle'ng on the Raspberry Pi Zero as usual, and during a build, I had the following message:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
The full project is here, with the STL and OpenSCAD files for 3D printing, and the list of parts.
It comes with screen, keyboard, touchpad, speakers, camera, USB ports...
It plays movies, music, fully featured!! And for less than $100.
Original | Grayed |
Threshed | Resized |
threshold
part.
OpenCVSwingColor2BW.java
:
// threshold Mat threshed = new Mat(); Imgproc.threshold(gray, threshed, 150, // 127, 255, 0);Tweaking the
thresh
parameter (150
above) leads to different results.
image.dat
).
long
s.
long
has 64 bits, 2 long
s make 128 bits, that's all we need to encode one line of 128 leds on the screen.
OpenCVSwingColor2BW.java
for details.
Just received the dAISy HAT from Wegmatt, it just works!
Whoever can click can do it.
And this was the opportunity to keep working on the AISParser, and I have also added a custom TCP Forwarder to the Multiplexer, along with an AIS filter on the regular TCP Forwarder.
This way, you can forward NMEA data on one port, and AIS data on another one. This is not necessary, but it can be nice to have.
Here is an example of a yaml
driving the Multiplexer:
# # MUX definition. # name: "With a GPS and AIS" context: with.http.server: true http.port: 9999 init.cache: true channels: - type: serial # GPS port: /dev/ttyUSB0 baudrate: 4800 verbose: false - type: serial # AIS port: /dev/ttyS0 baudrate: 38400 verbose: false forwarders: - type: tcp port: 7002 properties: no.ais.properties - type: tcp subclass: nmea.forwarders.AISTCPServer port: 7003 computers: - cls: nmea.computers.AISManager properties: ais.mgr.properties
And OpenCPN is happy in both cases.
See more details here.