best practice about creating new node from existing one
Hello,
ros-planning/moveit2/moveitros/moveitservo package look like much specific for panda arm. I would like to learn which is the better way to start with implement the package for a new robot.
Adding new robot related files to existing package ? or copy as a new name and change panda related lines to new robot before start well documented!! Setup on a new robot
Asked by aGan on 2022-08-29 03:56:21 UTC
Answers
moveit_servo holds indeed panda specific values.
Best practice would be to have a generic upstream package , that way you can git clone it and add your robot specific files. Then you can just do a git pull to get the latest changes. However this is in my opinion not realistic for moveit_servo because there are hardware parameters required. moveit_servo without panda reference wouldn't be a working simulation, or it would be over abstracted.
in this case (moveit2 is rolling, and this specific package is active on git) I'd keep the panda stuff, and add your robot configs in new files (i.e: "myrobot_simulated_config.yaml"). Then when you pull an from git you can easily compare diff between your local and remote. (for release/distribution clean it up and remove panda references)
Asked by crnewton on 2023-01-03 09:02:23 UTC
Comments
There's nothing about Servo that's specific to the Panda. It should work well for any serial manipulator. There are some config files in the repo that are based on the Panda -- these are for testing and tutorial purposes only.
If you want to use your own unique config files, you just need to make a new launch file to point toward the right package. These are the lines to change (for example):
It sounds like your other idea is basically to fork the Servo package then make modifications of the config files. That would work but then you'll be building a lot of code from source that you don't have to.
Asked by AndyZe on 2023-01-07 16:59:02 UTC
Comments