Control Library 0.1.4 review
DownloadControl Library is a small C++ library for writing control applications
|
|
Control Library is a small C++ library for writing control applications. It can be compiled for either generic Unix userspace or for kernelspace under RTLinux 3.2.
Control Library frees a programmer from having to write control applications in low-level C code under RTLinux, while allowing the control code to be tested in userspace before running it in kernelspace under RTLinux.
Here are some key features of "Control Library":
Thread support as C++ class(es)
Locking primitives in a C++ way
Synchronization (semaphores, conditions)
Timing primitives (getting the absolute time, timers, etc)
Reusable PWM (pulse-width modulation) algorithm
Reusable PID (proportional integral differential) control algorithm
Compiles for either userspace Linux or RTLinux kernel space
Platform-neutral API -- all platform specific calls reside in one .c file so adding a new embedded platform to this library is relatively straightforward
Makes development and testing easire -- it's easier to test under userspace then recompile for kernel space using the same API.
What's New in This Release:
This release adds a waitData() method for RTFifos in userspace context.
There are miscellaneous utility functions such as a C++/Kernel compatible Memcpy, Strdup, Strcpy, etc.
Control Library 0.1.4 keywords