Hi I'm using Chronos 1.4 32GB Build: 0.4.0~beta38 in a research project and I'm really satisfied with the API. As I use Matlab to control the whole operation. Now I'm able to start - stop recording, changing parameters and even make black calibration. But I'm still facing some problems:
- I can't get the available storage in my SD card. I can't get any useful data from externalStorage parameter and this information is not even exist in the web UI (image 1). Although I can find the available size in the camera UI (image 2).
- Parameter disableRingBuffer which is responsible for not overwriting when the buffer is full and automatically stop recording dose not work when changed to true.
- Bug: I can start recording while the camera is saving a video. That could lead to unexpected behavior.
- To fix bug number 3 is there any parameter, that would store the camera status so i can check it before do any operation?
Thank you.
1.
You'll have to switch to the unstable software release to get the size and free space of the storage devices.
The easiest way to switch to the unstable repository is probably to flash an SD card with the latest unstable image. Compressed SD card images can be found here:
http://debian.krontech.ca/builds/A guide on how to flash the card can be found here:
http://forum.krontech.ca/index.php?topic=531.0With the latest software on unstable, you should be able to get the capacity and free space of a storage device by sending a GET request for that device.
For the first partition on an SD card, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?mmcblk1p1
For the first partition on an USB stick, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?sda1
2. and 3.
Thanks, I've reported these bugs. The Unstable release will receive fixes before the Voyager (stable) release does.
4.
You can check videoState here to see if the camera is currently saving:
https://github.com/krontech/pychronos#display-parameters