personalrobotics / rewd_controllers

master
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Handle SO(2) trajectories #30

Open brianhou opened 5 years ago

brianhou commented 5 years ago

We need to handle wrapping from SO(2) trajectories for ADA. There are (at least) two related TODOs:

I think two strategies would be to:

  1. Keep track of the previous R1 state, and compute the correct delta
  2. Immediately convert an SO(2) trajectory to an R1 trajectory when it's received in JointTrajectoryControllerBase::goalCallback

2 seems a little bit cleaner to me, but does anyone have any preference or other ideas?