Closed marrts closed 4 months ago
2.09439 radians
It's worth mentioning that this is an angle of 120 degrees, which will have some unique, weird properties
So this is a bug. The angle axis is pointing in opposite directions. Can you post the transform for the three inputs to create a unit test to track down the issue?
So I see I added the debug check but noticed there is an issue as the source and target converge but I didn't think it would cause issues with convergence but obviously I was wrong since you are seeing failures. I will post how to address this so you can test.
This seems to fix my issue, thanks!
I'm not entirely sure if this is a bug or expected behavior since I'm not super well versed in Jacobians, but I think this is a bug that isn't captured correctly.
In running trajopt I am getting a failure that looks like this: (also noticed opposite has a typo, but it made the error easy to track down lol)
This error is located here. Copied below for convenience.
Attaching a debugger I see my errors evaluate as:
These angles seem to be almost identical, just a singularity because of how the angle is represented.
Here are a couple of screenshots of the robot and the TCP at the approximate joint values where this calculation was being performed:
I know there was an effort to fix Jacobian related issues in #988 and I'm wondering if this scenario might have just been overlooked.