Skip to content

Tool orientation quaternion math should be checked

While you can convert a rot matrix into a quat with Eigen's q = quaterniond(rotmatrix), I don't think this happens during a copy operation:

https://git.barrett.com/software/libbarrett/-/blob/devel/include/barrett/systems/tool_orientation.h#L64

Also, we should understand the method we are using to obtain our PID controller's quat error, and get rid of the "dead zone":

https://git.barrett.com/software/libbarrett/-/blob/devel/include/barrett/systems/tool_orientation_controller.h#L99