You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a new feature coming in ArduPilot which allows fft-able data to be contained in many dataflash files, rather than just those with raw IMU sampling data enabled.
There is a new format field type, a. It is an array of 32 16-bit signed integers.
There are two new messages, ISBH and ISBD. One contains header information for a batch sample, the other the data for the batch sample. Many ISBDs are expected for a single ISBH message, and one is related to the other using the N field.
The ISBH message contains type and instance fields, with type specifying an IMU sensor type (gyro or accel) and instance the instance number of that sensor on the flight controller.
Version
These patches are as yet unmerged into master. https://github.com/peterbarker/ardupilot/tree/fft is the WIP for support. We do not expect the format of the messages to change before that's merged in.
Platform
[ * ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Sub
Note that this tool takes the average of all of the per-sensor/instance FFTs to produce the graphs, however animating each sensor/instance, or producing overlays on e.g. a motor-output graph might be other good uses for this data.
The text was updated successfully, but these errors were encountered:
Issue details
We have a new feature coming in ArduPilot which allows fft-able data to be contained in many dataflash files, rather than just those with raw IMU sampling data enabled.
There is a new format field type,
a
. It is an array of 32 16-bit signed integers.There are two new messages,
ISBH
andISBD
. One contains header information for a batch sample, the other the data for the batch sample. ManyISBD
s are expected for a singleISBH
message, and one is related to the other using theN
field.The
ISBH
message containstype
andinstance
fields, withtype
specifying an IMU sensor type (gyro or accel) andinstance
the instance number of that sensor on the flight controller.Version
These patches are as yet unmerged into master. https://github.com/peterbarker/ardupilot/tree/fft is the WIP for support. We do not expect the format of the messages to change before that's merged in.
Platform
[ * ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Sub
Logs
df-isb-fft-sample.bin.zip
mavfft_isb.py
(https://github.com/ArduPilot/pymavlink/blob/master/tools/mavfft_isb.py) interprets these messages to produce pretty pictures:Note that this tool takes the average of all of the per-sensor/instance FFTs to produce the graphs, however animating each sensor/instance, or producing overlays on e.g. a motor-output graph might be other good uses for this data.
The text was updated successfully, but these errors were encountered: