-
Notifications
You must be signed in to change notification settings - Fork 68
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
Humble port #10
Humble port #10
Conversation
…naming spawner.py to spawner
Fixed naming issues with controller spawner
Replaced non-standard GCC extensions (not, and, or)
@marcbone, could you allow me to run the CI on this PR ? |
looking at the most recent changes. I guess the errors come from introducing the captures in the lambdas. Also the "not"s were also replaced in the strings. This should be reverted |
@marcbone @mcbed I think from Humble onwards ros2-control uses the https://github.com/PickNikRobotics/generate_parameter_library to generate parameters. Maybe this is part of the issue I am facing with this current set of code as the https://github.com/ros-controls/ros2_controllers/tree/humble/joint_trajectory_controller/src |
now all should build as CI failed because of format tests. @marcbone, can you run CI again ? |
@peterdavidfagan about the joint_trajectory_controller, the reason I copied it was that this PR was still open at that time. Also there was the issue that the controller would not keep its initial pose before you send him a goal. It would instead only send zero torques. I modified this to use the starting pose as goal pose when the controller is started. I am not sure whether this is now also in the upstream controller. You should check this before you start using it. |
This could still be an issue. Nevertheless, we are glad to fix this if we get a PR :) |
Happy to work on this, still reading the code and upramping but I would be happy to work towards submitting a PR with these changes. |
@peterdavidfagan If you want to work on this, this is the commit where I fixed it. |
@marcbone changes submitted in pr to the ros2_controllers repository. I've also add another pr for the current Humble port. Before running the controller on a real-robot do you have any guidance on avoiding damage to the motors etc.? @destogl is there a recommended way to test the changes I make to controller software in ros2_controllers? I presume I should run tests defined here. Note: I am also happy to open a separate pr that adds support for MoveItConfigsBuilder, I'll be developing this code anyway for our setup so happy to add this. |
@peterdavidfagan What I really like about the FCI is that you cannot damage the robot by sending out wrong commands (as long as you are not moving it into something like a chainsaw, or fullspeed into the ground). It will may make motions that look scary to you but the robot will reject any commands that would harm the motors. Just be quick with the user stop button if the robot tries to move itself into an object. What you also can do is to call "robot->setCollisionBehavior(...)" after this line and use very low values. This will make the robot stop faster if it collides with something (by detecting a collision earlier). |
Awesome thanks @marcbone this is really reassuring and what I was hoping to here.
I can confirm that there are no chainsaws in the vicinity of our robot, we do have a ground plane though :).
Thanks for this tip and the support in helping answer these queries. |
Migrate to ROS2 JTC
+1 Eagerly awaiting this merge. Thanks. |
We are working on it @craig-sony |
I have a working setup with a Panda on Humble. With the ported Have you seen this behavior on your setups? |
Yes! I have also started to notice this problem while using Moveit! and thought my motion planning was the issue. AFAIK the default move it controller also uses the JTC to actually perform the motion. |
We have released the source code of the humble port! We kept the original commits from @mcbed and extended with unit testing. Thanks a lot for your contribution! 💯 |
@BarisYazici Since this is incompatible with foxy, could you rename the |
We will push a new branch named |
Ported the packages as-is to work in Humble. Based on PR #7.