aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add precompiler guards to disable setRealtimeScheduling under macOSmacOSNao Pross2022-03-241-1/+20
| | | | | | This function seems to be unused in this repository, and does not compile under macOS because sched_setscheduler() is not present in the macOS implementation of the POSIX standard.
* Add Python error handling to video_images_getHEADmasterNao Pross2022-03-012-5/+18
| | | | | | | | | | | | | | | | | If for any reason the data stream from the camera is no longer available, without these checks the entire python interpreter crashes with a nice segmentation fault. These checks allow to handle the error from within Python with something like: try: o3000.video_images_get() except RuntimeError: ... restart o3000 driver Also, there is a change in the compilation flags to show more (useful) warnings, i.e. -Wall and hide the "unused variable" warning.
* Method to find arrayobject.h path on any distroNao Pross2022-02-112-27/+8
| | | | | | | | | | | Improved solution to the issue described in commit 1cfdf5c198f1c74c2f894067baf4670f5bca8e70 The new solution should be more OS-independent. Tested on MacOS 12.1 and Debian 10 Buster. Signed-off-by: Jonas Schmid <schmid@stettbacher.ch>
* Fix arrayobject.h path on Debian based distrosNao Pross2022-02-092-3/+28
| | | | | | | | | | | | | | | | | | | On Debian Linux and its derivatives such as Ubuntu and LinuxMint, Python packages installed through the package manager are kept in a different non-standard directory called 'dist-packages' instead of the normal 'site-packages' [1]. To detect the Linux distribution the 'platform' library (part of the Python stdlib) provides a function 'platform.freedesktop_os_release()' that parses a standard file '/etc/os-release' available in most Linux distributions [2]. However this function is rather new (Python >= 3.10) and unavailable in most python installations, so the core of its functionaly was reimplemented here. [1]: https://wiki.debian.org/Python#Deviations_from_upstream [2]: https://docs.python.org/3/library/platform.html#linux-platforms Signed-off-by: Jonas Schmid <schmid@stettbacher.ch>
* Add operator / linux username to the annotation file.jonas2020-10-131-1/+5
|
* Add further persons/workers to the selection list.jonas2020-10-131-6/+3
|
* Separate build and run commands correctly.jonas2020-10-131-1/+1
|
* Correct git clone url.jonas2020-10-121-1/+1
|
* Simple python application that uses the O-3000 driver and Color Imagejonas2020-10-126-0/+1234
| | | | Pipeline using a Python C-Extension.
* Add FreeBSD License (2-clause license) with disclaimer.jonas2020-10-121-0/+26
|
* Application description and build guide.jonas2020-10-121-0/+38