Les Newell
2017-06-30 21:46:48 UTC
Is it possible for a real time HAL module to read config values from
disk? I guess I could do it the ugly way and have two modules, one in
user space to read the disk and pass values to the mealtime module.
My lathe is pretty worn near the headstock so it tends to turn tapers
when working near the chuck. I want to write a kinematics module to
compensate for this taper, basically adding an offset to X depending on
the Z position. To do this I need to pass values to the kinematics
module in a similar way to leadscrew compensation.
In the previous setup I had a simple kinematics-ish module just before X
PID but it was a hack and didn't work very well, with all of the values
hard coded. It also did ugly things when homing.
Les
disk? I guess I could do it the ugly way and have two modules, one in
user space to read the disk and pass values to the mealtime module.
My lathe is pretty worn near the headstock so it tends to turn tapers
when working near the chuck. I want to write a kinematics module to
compensate for this taper, basically adding an offset to X depending on
the Z position. To do this I need to pass values to the kinematics
module in a similar way to leadscrew compensation.
In the previous setup I had a simple kinematics-ish module just before X
PID but it was a hack and didn't work very well, with all of the values
hard coded. It also did ugly things when homing.
Les