Commit graph

125 commits

Author SHA1 Message Date
Romain Bazile ae13f07f45 fix typos 2020-12-03 17:28:54 +01:00
Romain Bazile b3d417e3b9 imager bug if object_date is not set 2020-12-03 16:45:01 +01:00
Romain Bazile d9aab5fc0b fix imager bug 2020-12-03 16:29:12 +01:00
Romain Bazile a03f3fb6aa imager: run thumbsup after every picture taken 2020-12-03 14:30:59 +01:00
Romain Bazile 841d9b8831 gallery: finishing installing thumbsup 2020-12-03 14:19:13 +01:00
Romain Bazile bbd3146f7c update: finable around npm crappy ownership issues 2020-12-03 13:59:23 +01:00
Romain Bazile aec7669ac6 update: add thumbsup install 2020-12-03 13:18:19 +01:00
Romain Bazile e2d6a21d0f thumbsup: add config 2020-12-03 13:13:09 +01:00
Romain Bazile a72b819b5a Flow: addition of log output, refactoring of GPS coordinates handling, refactoring of datetime management 2020-12-02 19:26:27 +01:00
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 ff59c0cac6 update the updater 2020-11-30 02:46:40 +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 63102172fc add sleep_before, closes #48 2020-11-29 14:28:31 +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 4f5c59c061 imager: remove minimum volume check (done in Node-Red now) 2020-11-27 11:31:18 +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 05dc317095 imager: add support for white balance 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 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 3ce7f6aa5e stepper: fix pump bug where it doesn't stop 2020-10-21 21:25:59 +02:00
Romain Bazile 2cf0ff8341 main.py: change default log rotation/retention settings 2020-10-21 21:25:59 +02:00
Romain Bazile e7ea63a43a Scripts README 2020-10-07 12:25:50 +02:00
Romain Bazile 140a3cf0de License! Martyr proposal 2020-10-07 12:25:50 +02:00
Romain Bazile e89cbdc2aa python: reminder to add tests 2020-10-07 12:22:52 +02:00