Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
938 stars 532 forks source link

Semi-real-time accelerometer readouts in the OM #726

Open T3P3 opened 1 year ago

T3P3 commented 1 year ago

Need to decide on how to present this information and pass over the CAN-Fd bus. As the rate of readings for a data capture is higher than a sustained rate that the OM could be updated, what would be most useful?

Potential, mean reading for last sampling period and max reading for last sampling period. where sampling period is ~ temperature update period.

btoms20 commented 1 year ago

Are there any plans to implement this and/or #590 in the near future? It would be cool to be able to query the OM for these values.

The values in the OM could be periodically updated like @T3P3 stated. Execute a M956 every X Hz, average the results, and store them in the OM instead of writing them to a CSV.

I know non-realtime data would have little value to most 3D printers but for certain use cases it could be pretty useful.

I'm currently using a Toolboard 1LC at the end effector of a 6 axis robot arm and I would love to be able to fine tune the end effectors pose using the current XYZ values from the accelerometer.