Funny how writing the issue down can change how you view something.
I will say, I have a difficult time learning new concepts if the original intro is too abstruse. I can start in reality, then extrapolate to the theoretical, but I can’t start in the purely theoretical. With that in mind… here’s a proposal. For the next conversation, left / right is the directions as observed by the person standing on top of the skateboard.
- Look at the interim axle vector direction.
- Look at left side wheel. Is it a higher or lower “elevation” then right wheel?
- If left wheel is higher, rotate truck clockwise (when viewed down the truck hanger axis from board “down”.)
- If left wheel is lower, rotate truck counterclockwise.
- Adjust a test rotation in big increments until wheel relative heights change in the opposite heights.
- When that happens, cut the rotation cut increment in half, then go in the opposite rotation direction until it flips again…
- Test for near zero with every iteration. Obviously stop when the axle is level.
- repeat (via a recursive function?)
I think this idea has possibilities…