-
Notifications
You must be signed in to change notification settings - Fork 16
This PR implements setter and getters methods for the DH parameters #69
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
…ons in the header
…tions in the header
…rDH enum class from DQ_Kinematics to DQ_SerialManipulator
Hi @juanjqo. Thanks for this. I noticed you changed this to draft so I hope this comment helps, I don't mean to imply I think this is the finished product. My memory is fuzzy but I remember I think this architecture you proposed would be great (and cleaner) in |
Hi @mmmarinho, thanks for your feedback. I am going to implement the required modifications taking into account your comments. |
…to the DH parameters. This class is now a standalone class.
…rameter and get_parameters methods to check if this fixes the compilation on Ubuntu.
Thanks, @juanjqo. Cool stuff. I think we’re just missing this case you listed in the MATLAB version. I’m replicating it below. robot.set_parameters("THETA", [1 1 1 1 1 1 1])
robot.get_parameter ("THETA", 2) ;
robot.set_parameter ("THETA", 2, 0.01) We can support this in This will cause an implicit conversion when a |
PS: before you throw a keyboard at me, here’s an example we can start from: |
…tructors, as discussed in dqrobotics#69.
Hi @mmmarinho, I updated the auto robot = FrankaEmikaPandaRobot::kinematics();
robot.set_parameter("THETA", 2, 0.01);
std::cout<<robot.get_parameter("THETA", 2)<<std::endl; PS: There is a good chance that I misunderstood your instructions. Please tell me if my modifications are close to what you were thinking. Kind regards, Juancho |
@juanjqo seems good to me! Could I please ask you to document in doxygen style all the methods, including the new constructions etc? You’ve done it for most but maybe not for all. Apologies if my phone isn’t showing it correctly. |
@mmmarinho I added the documentation for the constructors. =) |
Hi @dqrobotics/developers,
This PR implements setter and getter methods for the DH parameters in the
DQ_SerialManipulatorDH
andDQ_SerialManipulatorMDH
classes, which are already available in the MATLAB version. This PR aims to complete one of the pending tasks for the 23.04 release.List of Modifications:
DQ_ParameterDH
in the.DQ_SerialManipulator
classDQ_SerialManipulatorDH
andDQ_SerialManipulatorMDH
classes now have the methodsUsage:
Example:
I proposed an example in dqrobotics/cpp-examples#20.
Kind regards,
Juancho