Lorenz Meier
2cf8cdc63f
Event system: Initialize work item
2017-01-29 15:10:09 +01:00
Siddharth Bharat Purohit
975893a406
events: tempcal: get rid of commented code
2017-01-25 22:43:29 +01:00
Beat Küng
be512fdc4c
temperature_calibration: use device id from published topic
...
uorb topic instance does not necessarily match the gyro device path instance,
so we need to use the id from the topic.
2017-01-25 22:43:29 +01:00
Beat Küng
00d2fc936a
polyfit.hpp: fix code style (class member variables start with _)
2017-01-25 22:43:29 +01:00
Beat Küng
2fbb1aee84
temperature_calibration: fix poll (number of fds), remove usleep
...
useep() is not needed because we use the poll()
2017-01-25 22:43:29 +01:00
Beat Küng
54e9bda412
temperature_calibration: properly initialize gyro subscriptions & bounds checking
2017-01-25 22:43:29 +01:00
Beat Küng
e74e883c56
temperature_calibration: change some log levels to be more appropriate
2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
5c7dbe0f24
events: tempcal: run cal for all available gyros
2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
416a0aece2
events:polyfit: change to using int/unsigned instead of (u)intx_t types
2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
e390f672c9
events: tempcal: save temperature calibration result
2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
917a8f63f6
events: add temperature calibration scheme
2017-01-25 22:43:29 +01:00
Beat Küng
ab8ac8f63a
events: add new module events
...
It uses the LP worker queue to periodically check for vehicle commands (30hz),
useful for several housekeeping tasks.
Currently the only task is temperature calibration.
Commands can be started via command line or via vehicle_command (from
Mavlink)
TODO: need to spec & extend the mavlink command.
2017-01-25 22:43:29 +01:00