Нема описа
Kiveisha Yevgeniy 8d25ecacdd mpu9150: added new sensor (acceleromter, gyro and compass) пре 10 година
cmake/modules ipk: add cpack ipk generation пре 10 година
docs max31855: add sensor and documentation on creation of a UPM sensor пре 10 година
examples mpu9150: added new sensor (acceleromter, gyro and compass) пре 10 година
src mpu9150: added new sensor (acceleromter, gyro and compass) пре 10 година
.gitignore .gitignore: add git ignore file пре 10 година
CMakeLists.txt upm: depend on libmaa 0.3.1 пре 10 година
COPYING COPYING: add MIT license пре 10 година
Doxyfile.in max31855: add sensor and documentation on creation of a UPM sensor пре 10 година
README.md docs: Added intial documentation for UPM and start of a porting walkthrough пре 10 година

README.md

UPM - Sensor/Actuator repository for Maa

UPM is a high level repository for sensors that use maa. Each sensor links to libmaa and are not meant to be interlinked although some groups of sensors may be. Each sensor contains a header which allows to interface with it. Typically a sensor is represented as a class and instanciated.

The constructor is expected to initialise the sensor and paramters may be used to provide identification/pin location on the board.

Typically an update() function will be called in order to get new data from the sensor in order to reduce load when doing multiple reads to sensor data.

Example

A sensor/acturo is expected to work as such (here is the servo ES08A api): @snippet es08a.cxx Interesting

However implementation and API design is compeltely up to the developer, some enumerable sensors for example may provide much clever instanciation. Displays may also create more complex structures in order to interface with them.

Building UPM

See @ref building

Making your own UPM module

@ref porting has more information on making new UPM modules