The firmware guide walks through how to read the position (presumably relative to a spatial arrangement of DW1000 chips all distance-ranging or otherwise self-locating relative to one another, I’m just assuming). Oddly, I just get 4 0s back for x,y,z, and qf, no meaningful data. Perhaps someone has some thoughts on that, although it isn’t my primary question here.
In shell mode, I can run “av” to get back accelerometer values and these seem to actually contain meaningful data, as they indicate the orientation of the device as I rotate it around in the air calling av over and over again.
But I can’t find an API call for the motion sensor. I looked through dwm.h and through the API guide and I can’t find any way to read the accelerometer from C code, as demonstrated for position in the FW guide. The position example from the firmware guide is fairly straightforward (except for the confusion that that it just returns solid 0s), but I can’t find anything for the accelerometer.
What am I missing?