accel_calib
Acceleration calibration driver. More...
Acceleration calibration driver.
The accel_calib driver receives acceleration data from a WSN interface, then calculates the calibrated values and returns them via another WSN interface.
- Compile-time dependencies
- none
- Provides
- Requires
- Configuration requests
- none
- Configuration file options
- node (integer tupple)
- These are the calibration values for -1G/+1G for the accelerometer sensor (see the appropriate data sheet on how to obtain it). Each sepparate board *MUST* be calibrated!
- The tuple means: [node_id group_id calibration_negative_1g_x_axis calibration_positive_1g_x_axis calibration_negative_1g_y_axis calibration_positive_1g_y_axis calibration_negative_1g_z_axis calibration_positive_1g_z_axis ]
- units (integer)
- Default: 1.
- Fill the data buffer with converted engineering units (e.g. m/s^2 - 1) or G (2) values.
- Example
driver ( name "accel_calib" requires ["wsn:0"] provides ["wsn:1"] # Calibrate node 0 from group 125 (default) with X={419,532} and Y={440,552} node [0 125 419 532 440 552 0 0] # Calibrate node 2 from group 125 (default) with X={447,557} and Y={410,520} node [2 125 447 557 410 520 0 0] # Use m/s^2 values units 1 )