SainsburyWellcomeCentre / aeon_experiments

Experiment workflows for Project Aeon
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Compute rotary feedback using normalized twist angle difference #526

Closed glopesdev closed 7 months ago

glopesdev commented 7 months ago

This PR fixes twist angle difference computation to avoid singularities in specific rotation axes. The main difference is computing the twist angle component correctly and ensuring that angle difference is normalized between the range -pi to pi.

Commutator motor feedback sign is updated to ensure negative feedback. Inspired by the swing-twist decomposition breakdown by minorlogic.