MillenniumMachines / MillenniumOS

An "Operations System" for RepRapFirmware. Cheap and easy manual and automatic work-piece probing, toolsetting and more, for the Millennium Machines Milo.
https://mos.diycnc.xyz
GNU General Public License v3.0
20 stars 8 forks source link

Implement storage of multiple WCS probing details #79

Closed benagricola closed 4 months ago

benagricola commented 5 months ago

Rather than storing the center or corner of a probed workpiece in a single variable, we now store these in a set of vectors based on their WCS number. This way, this data can be referred to later if there are multiple WCS in use.

This is important for implementing rotation compensation and likely other things, but also has a significant negative impact on memory usage which makes it very unlikely to work on current STM32F4 chips until their memory allocation behaviour is changed.

We also change the mosDD<n> variables to be a vector again - this also has a negative impact on memory usage.

benagricola commented 4 months ago

Implemented as multiple separate PR's with more appropriate details.