Talk:Rodrigues’ rotation formula

From Rosetta Code
Revision as of 12:44, 30 September 2021 by Thundergnat (talk | contribs) (Thundergnat moved page Talk:Rodrigues’ Rotation Formula to Talk:Rodrigues’ rotation formula: Capitalization policy)

Background

I needed code with no dependencies to model the legs of a walking robot. "Spot" style creatures like from Boston Dynamics are very popular these days.

I prototype in perl, but my robot is likely to use C (on Arduino) or maybe circuit-python - undecided as yet - but that's the reason for the "no dependencies" requirement of course. Either way, there was plenty of *math* everywhere showing how to do what I need, but no actual *code* I could find (besides one confused stackexchange student question in Javascript).

Hopefully this can help everyone who needs to rotate things around in 3D...


Task incomplete – lacks test data

We need a few test rotations – simple and edge case input data – for each contribution to show a result for. Hout (talk) 21:36, 29 September 2021 (UTC)

  • Suggestion - make up some test cases with good coverage (e.g. include unit rotation vectors in one plane, as well as non-unit non-planar tests)