Closed marcos-pereira closed 4 years ago
Hello, @marcos-pereira,
If I'm not mistaken you are referring to the changes done in https://github.com/dqrobotics/matlab/commit/dc11509645ecc0516187e00e1bad2699f0113ca8 which are not part of any major release yet.
I'll make the changes on the dev branch eventually, but it might take a while.
Cheers, Murilo
Hi, @mmmarinho ,
That's correct.
May I consider implementing it myself and doing a pull request? In the case I have some doubt, I could ask here. I would work on that in the following days.
Best regards, Marcos
Hello, @marcos-pereira,
You are welcome to try changing the code yourself and testing it out. However, I won't be able to accept your pull request into the main repository.
The reason for this is that changing the CPP code is only 5% of the work, I also need to change the Python bindings and add integrated testing to cover all new methods in Matlab, in Python, and then square out any bugs in Python and in CPP. Otherwise, every small change in the main repository will cause an influx of issues that I want to avoid.
In the (hopefully near) future, @bvadorno and I will come up with specific rules to those who want to contribute to the main repositories. As of now, your contributions are still very much welcome in the "examples" repositories.
Kind regards, Murilo
Hello, @marcos-pereira,
I used your example to test the new code and it should be working fine. Let me know if something comes up.
Just remember that I'm pushing the changes to the development PPA.
Kind regards, Murilo
Hi, @mmmarinho ,
Thank you very much for the quick response! I will be testing it in the following weeks.
Cheers,
Marcos
Hello @mmmarinho, would it be possible to add the DistanceToPlane control objective to the C++ implementation?
Describe the missing/unexpected functionality The DistanceToPlane control objective is missing on the C++ implementation.
Matlab behavior (if applicable) No execution errors occur.
MATLAB SCRIPT
MATLAB OUTPUT
C++ behavior (if applicable) The control objective DistanceToPlane is not found. The method set_max_stability_counter is not found. The method set_target_primitive is not found.
C++ Code
CMakeLists.txt
C++ OUTPUT The compilation throws the following errors.
Environment:
Additional context The DistanceToPlane control objective was recently added to the DQ Robotics in Matlab. The DistanceToPlane is defined on the DQ_KinematicController.m, but it is not defined on the DQ_KinematicController.h.