Model, simulation and implementation of a mechatronical system for use in a mimicked industrial environment using UWB localization. Task dispatch via Arrowhead. Reproducibly built via Nix.
BSD 3-Clause "New" or "Revised" License
1
stars
7
forks
source link
dwm: convert accelerometer register values to SI units #33
The accelerometer data we read out from the DWM via query("av") reportedly returns raw register values. These are useless to us. No documentation for conversion is avalable in official DWM documentation, but it should instead be looked up for the peripheral itself. We should be able to read raw configuration register via some query(twi) command. From these and the documentation we should be able to figure out how the raw registers are to be converted to the SI unit or m/s^2.
The accelerometer data we read out from the DWM via
query("av")
reportedly returns raw register values. These are useless to us. No documentation for conversion is avalable in official DWM documentation, but it should instead be looked up for the peripheral itself. We should be able to read raw configuration register via somequery(twi)
command. From these and the documentation we should be able to figure out how the raw registers are to be converted to the SI unit or m/s^2.