Repository navigation
Conversation
|
I do recognize the numbers |
The default joint axes put four struts' twist past a quarter turn at home, where the screw correction folds back, and they don't fit the default struts: strut 0's base axis lies close to the strut. No default can be right, since the axes are the machine's joints, so default them to 0. A strut with an axis at 0 already gets no correction; with a screw lead set, say so once. No configuration in the tree sets a lead. Say in kins(9) that the correction holds while each strut's twist stays within a quarter turn, and give the old defaults in the upgrade notes. The lead tests set the old axes, so the fold stays covered, and the forward check gains a run with a lead and no axes. Closes LinuxCNC#4902
2a37fd0 to
7cb608e
Compare
|
Fair point, and I couldn't make them not magic: a unit vector needs That goes further than the defaults suggested in #4902; the description explains why. |
|
Yes, I know you can't put sqrt in the initializer. But that is not important here. |
From #4902: the screw correction keeps its fold past a quarter turn of twist, and kins(9) says so. The joint axes lose their defaults.
The default axes put four of the six struts past a quarter turn at home (55.4°, 90.7°, -101.7°, 128.2°, -27.1° and 131.6°), and don't fit the default struts: strut 0's base axis lies close to the strut. The axes are the machine's joints, which genhexkins can't know, so they now default to 0. A strut with an axis at 0 already gets no correction; with a screw lead set, genhexkins says so once. No configuration in the tree sets a lead. The upgrade notes give the old values.
The lead tests now set the old axes, keeping the fold covered:
hexfwdcheck-screw.haland the lead cases of kins-jacobian and kins-params. The forward check gains a run with a lead and no axes: every correction is 0, and the message comes once.Each check fails when what it covers is broken: the no-axes run with no message or one on every call, the forward check without its step limit, and the kins-jacobian lead case with the fold's sign dropped from the correction's rates. genhexkins-forward, kins-jacobian, kins-params and kins-switch-unsolved pass.
🤖 Generated with Claude Code