Commit graph

728 commits

Author SHA1 Message Date
Romain Bazile 13307476e2 imager add uuid for each acquisition and check for id reuse 2020-12-02 19:25:59 +01:00
Romain Bazile 8e70723310 add usb backup UI 2020-12-01 21:12:29 +01:00
Romain Bazile 054244f32c display: center text 2020-11-30 12:05:35 +01:00
Romain Bazile 9a0fef4411 first display use release, show machine name 2020-11-30 11:52:27 +01:00
Romain Bazile cbed5e4d18 main: add ready light 2020-11-30 11:45:59 +01:00
Romain Bazile c82868a79d flow: fan control update 2020-11-30 11:45:34 +01:00
Romain Bazile ff59c0cac6 update the updater 2020-11-30 02:46:40 +01:00
Romain Bazile 24c6c1fbc6 flow: update name order 2020-11-30 01:52:15 +01:00
Romain Bazile ad8082ae2b add .gitignore 2020-11-30 01:49:48 +01:00
Romain Bazile 51ff3b7375 update the light library
also replaces smbus by smbus2 to allow for cleaner setups
2020-11-30 00:17:30 +01:00
Romain Bazile 156286a8da add sample_gear_net_opening and sample_concentrated_sample_volume
improve #44
2020-11-29 23:48:54 +01:00
Romain Bazile 3307d8e5b1 change default fan 2020-11-29 19:07:29 +01:00
Romain Bazile 6fe5fed16c remove process_id field from segmenter page 2020-11-29 19:04:01 +01:00
Romain Bazile 4ac373bd1f flox fix imaged volume initialisation 2020-11-29 18:57:18 +01:00
Romain Bazile 63102172fc add sleep_before, closes #48 2020-11-29 14:28:31 +01:00
Romain Bazile 6a3c3e0355 flow: update metadata export, cleanup net handling, add acq_imaged_volume 2020-11-29 13:26:24 +01:00
Romain Bazile f04c2bcab6 add larger gain control range (up to 8.0) 2020-11-28 22:25:59 +01:00
Romain Bazile dcec3d01e4 retrieve camera name 2020-11-27 18:57:43 +01:00
Romain Bazile 594eeb5690 add white balance switch 2020-11-27 18:39:09 +01:00
Romain Bazile ebdf7876ce update: final update to flow 2020-11-27 12:53:54 +01:00
Romain Bazile fd741afc5a update: add git stash drop 2020-11-27 12:45:49 +01:00
Romain Bazile ac2d44a24e addition of white balance gain slider 2020-11-27 12:45:22 +01:00
Romain Bazile dd66f1adf0 update: improvement to the script 2020-11-27 11:58:01 +01:00
Romain Bazile f1b49e672b main.json: update to update code ;-) 2020-11-27 11:53:21 +01:00
Romain Bazile 741f3b3000 config: change default 2020-11-27 11:31:54 +01:00
Romain Bazile 4f5c59c061 imager: remove minimum volume check (done in Node-Red now) 2020-11-27 11:31:18 +01:00
Romain Bazile 91c258a332 main update to flow 2020-11-27 11:30:57 +01:00
Romain Bazile bcb1e245f0 usb_backup: fix typo and add purge of files 2020-11-27 11:30:49 +01:00
Romain Bazile a62891eb6a light: catch exceptions 2020-11-27 11:30:29 +01:00
Romain Bazile 1cf3d1df12 Fix bugs all around 2020-11-25 17:01:14 +01:00
Romain Bazile 9466cdb3fa config: update default and flow update bug 2020-11-25 11:00:20 +01:00
Romain Bazile 05dc317095 imager: add support for white balance 2020-11-24 17:31:11 +01:00
Romain Bazile bd3ee26080 Main.json: UI upgrade 2020-11-24 17:31:11 +01:00
Romain Bazile b57de2220d main.json: add machine name and output disable for steppers 2020-11-24 17:31:11 +01:00
Romain Bazile 3bb27b9e15 integrity: this and udev rule closes #15 2020-11-20 18:03:55 +01:00
Romain Bazile 6009e07cd6 first release of the integrity check mechanism 2020-11-20 18:03:55 +01:00
Romain Bazile ae29f8597e Main: print the machine name 2020-11-16 17:53:23 +01:00
Romain Bazile f27c9823a1 Integration of raspimjpeg
The source code of the modified version of raspimjpeg used by the PlanktoScope is hosted [here](https://github.com/PlanktonPlanet/userland/tree/master/host_applications/linux/apps/raspicam).

We moved away from picamera to improve the stability of the system. This commit should closes the elusive #51 and #54.

After a lot of tests, it was clear that even a forked version of picamera was not going to solve our problem while also improving on our capturing speed.

The modified version of RaspiMJPEG does that.
RaspiMJPEG streams the image flux to /dev/shm/mjpeg/cam.jpg . This is passively reloaded by the streaming server (still written in python).

RaspiMJPEG is controlled through a special file called a Pipe which is used to send it commands.
The list is available [here](https://github.com/PlanktonPlanet/userland/tree/master/host_applications/linux/apps/raspicam/Config.md).

The raspimjpeg binary is distributed directly in this repository, in the folder `scripts/raspimjpeg/bin/`.
2020-11-16 17:53:23 +01:00
Romain Bazile fcb57ed075 segmenter: import libraries when needed to make startup faster 2020-11-16 17:53:23 +01:00
Romain Bazile 98c51828e0 stepper: reduce method size 2020-11-16 17:53:23 +01:00
Romain Bazile 12712c241e imager: reduce methods size 2020-11-16 17:53:23 +01:00
Romain Bazile 77b73de537 update documentation to include the necessary installation of a mdns client 2020-11-14 09:45:14 +01:00
Romain Bazile 4bcc9f1153 switch off bandit error that are not pertinent 2020-11-14 09:45:14 +01:00
Romain Bazile 736a09ff5f imager: catch BrokenPipeError 2020-11-14 09:45:14 +01:00
Romain Bazile 83f45d6c2f add microstep configuration option 2020-11-14 09:45:14 +01:00
Romain Bazile b66776a5fb sourcery.ai cleanup 2020-11-14 09:45:14 +01:00
Romain Bazile a5a76979b9 addition of uuidname module 2020-11-14 09:45:14 +01:00
Romain Bazile 1530c71fb0 Python: add/remove todos 2020-10-21 21:25:59 +02:00
Romain Bazile 06d9facb3d segmenter: fix morphocut error with objects files in img folder 2020-10-21 21:25:59 +02:00
Romain Bazile 5fb9d510dc flow: fix display bugs around the segmentation 2020-10-21 21:25:59 +02:00