From 05b0c412c8fc79804546f17a87ebae45e5c3fa64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 8 May 2017 09:43:30 +0200 Subject: [PATCH] sensors: extend module doc a bit --- src/modules/sensors/sensors.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index ca4a5d38da..a091b05b92 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -699,8 +699,9 @@ The provided functionality includes: to the configured channels & mode switches, low-pass filter, and then publish as `rc_channels` and `manual_control_setpoint`. - Read the output from the ADC driver (via ioctl interface) and publish `battery_status`. -- Make sure the sensor drivers get the updated calibration parameters (scale & offset) when the parameters change. - The sensor drivers use the ioctl interface for parameter updates. +- Make sure the sensor drivers get the updated calibration parameters (scale & offset) when the parameters change or + on startup. The sensor drivers use the ioctl interface for parameter updates. For this to work properly, the + sensor drivers must already be running when `sensors` is started. - Do preflight sensor consistency checks and publish the `sensor_preflight` topic. ### Implementation