-
Notifications
You must be signed in to change notification settings - Fork 4
Added a new example to test the pose_jacobian_derivative method. #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @juanjqo, Thank you for that. That's an interesting test, but as a gold standard, you should compare the results with the MATLAB version. Best, |
|
(To be clear, ideally, there would be a test that automatically generates the result using the MATLAB version and compare the results between the output of the MATLAB implementation and the C++ implementation.) |
|
Hi @bvadorno! At this moment, there is no Matlab implementation of the method pose_jacobian_derivative() in the class DQ_Kinematics, only for C++C++ (in this dqrobotics/cpp#48). In the example, I'm comparing the results of the pose jacobian derivatives of the classes DQ_HolonomicBase, DQ_DifferentialDriveRobot, and DQ_SerialManipulator. I was thinking first of comparing the results with the numerical differentiation. Once the C++ version is working I could implement the method in Matlab and create a test as you suggested. I could include a comparison between my numerical differentiation implementation and the Matlab version diff()/T in Matlab. What do you think? Best regards, Juancho (B: reverted to its initial form to ensure context.) |
|
Well, unless my memory fails me, or I'm living in an alternate reality, I implemented the pose_jacobian_derivative in MATLAB, which is what we published on RAM. Maybe we are talking about different things? Bruno |
|
@bvadorno The pose jacobian derivative method is currently available in the class DQ_Serial Manipulator but not in the class DQ_Kinematics. Juancho |
|
Hi Juancho, Thank you for the clarification. Your initial message, which you edited, gave the impression that there was no implementation whatsoever of the Jacobian derivative in MATLAB, and that was very puzzling. I strongly suggest only editing messages to include corrections of minor typos, but never to change the context of the conversation. That might be a source of great confusion. If possible, revert the edited message to its initial form. Regarding this Pull Request, since there is a proposal for changing the architecture, please update the class diagram, highlighting the changes, specifically the abstract methods that you are proposing. @mmmarinho , may you provide @juanjqo with the class diagrams that we used for RAM? I’m with limited access to the internet and my computer, and it might take a while if I need to do it. Best, |
|
@dqrobotics/developers Hi Bruno, I edited the message to its initial form. Furthermore, I added (in my PR ) a UML diagram highlighting the changes. Please let me know if something else is required. Best regards, Juancho |
…e error and the threshold in which big negative errors were considered accurated.
@dqrobotics/developers
Hi @mmmarinho,
This example tests the pose_jacobian_derivative() method.
The example compares the results between the DQ_Kinematics::pose_jacobian_derivative() and the ones obtained using numerical differentiation.
The implementation of the numerical differentiation method is based on the four-point central finite differences (Numerical Methods for Engineers and Scientists, 3rd Edition by Amos Gilat, P318).