Commit graph

650 commits

Author SHA1 Message Date
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
Romain Bazile 3ce7f6aa5e stepper: fix pump bug where it doesn't stop 2020-10-21 21:25:59 +02:00
Romain Bazile bb71cf7823 flow: add link between text field and slider for focus movement 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 3629cde800 hardware.json: add default setup 2020-10-21 21:25:59 +02:00
Romain Bazile 879621da11 config.json: add meaninful default 2020-10-21 21:25:59 +02:00
Romain Bazile 65e53adaeb flow: remove ability to swipe between tabs and tooltip improvement 2020-10-21 21:25:59 +02:00
Romain Bazile 3a6ede512b doc: expert setup changes for more details 2020-10-21 21:25:59 +02:00
Romain Bazile 5f1685063a doc: add more details on sd creation 2020-10-21 21:25:59 +02:00
Romain Bazile ed198ea79e Fix ecotaxa metada export, closes #27 2020-10-21 21:25:59 +02:00
Romain Bazile ef938bbca9 ui: add counter fields and fields initialize at 0 2020-10-21 21:25:59 +02:00
Romain Bazile 5a3097b87e Changelog addition 2020-10-21 21:25:59 +02:00
Romain Bazile b4c9e23905 Documentation update
Addition of ribbon assembly detail
Addition of sdcard creation guide
Update to the image
Make sure it's PlanktoScope everywhere
2020-10-14 13:06:03 +02:00
Romain Bazile f5763b48c0
Update the documentation for Read The Docs (#43)
Closes #47 .

* Update to documentation to use RTD with mkdocs locally

Initial setup for Read The Doc using mkdocs to build the documentation.
Most of the doc still needs to be rewritten (Expert Setup is the only
part using MD for now).

* README: remove the repo clone step

* Update to documentation to use RTD with mkdocs locally

Initial setup for Read The Doc using mkdocs to build the documentation.
Most of the doc still needs to be rewritten (Expert Setup is the only
part using MD for now).

* documentation edition guide

* Expert setup changes and main README changes

* software architecture stub

* basic doc structure in place

* mqtt message documentatin

* software architecture

* more images

* First README rewrite

* Add admonition configuration

* Various small updates

* how to get involved

* License! Martyr proposal

* Scripts README

* Assembly guide stub

* mkdocs: add assembly guide

* assembly guide: halfway there

* readme: transition to webp for lighter pictures

* README: add extension to path

* README: add assembly guide link

* assembly: complete guide

* add readthedocs config file

* add docs requirements.txt for pip
2020-10-07 12:44:17 +02:00
Romain Bazile ac27b3365b Features 2020-10-07 12:43:59 +02:00
Romain Bazile b2b1c1ac17 add docs requirements.txt for pip 2020-10-07 12:34:00 +02:00
Romain Bazile 23ac2f2fa0 add readthedocs config file 2020-10-07 12:30:49 +02:00
Romain Bazile 808082f665 assembly: complete guide 2020-10-07 12:25:50 +02:00
Romain Bazile 393d1b831d README: add assembly guide link 2020-10-07 12:25:50 +02:00
Romain Bazile cf7163e068 README: add extension to path 2020-10-07 12:25:50 +02:00
Romain Bazile 45dbc0ec55 readme: transition to webp for lighter pictures 2020-10-07 12:25:50 +02:00
Romain Bazile 012d797174 assembly guide: halfway there 2020-10-07 12:25:50 +02:00
Romain Bazile 466aa8ac1d mkdocs: add assembly guide 2020-10-07 12:25:50 +02:00
Romain Bazile e3e8c2d727 Assembly guide stub 2020-10-07 12:25:50 +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 cef0cba854 how to get involved 2020-10-07 12:25:50 +02:00
Romain Bazile 24eee73e2b Various small updates 2020-10-07 12:25:50 +02:00
Romain Bazile 2f55f396d8 Add admonition configuration 2020-10-07 12:25:50 +02:00