ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

best practice about creating new node from existing one

asked 2022-08-29 03:56:21 -0600

aGan gravatar image

Hello,

ros-planning/moveit2/moveit_ros/moveit_servo 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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2023-01-03 08:02:23 -0600

crnewton gravatar image

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)

edit flag offensive delete link more
-1

answered 2023-01-07 15:59:02 -0600

AndyZe gravatar image

updated 2023-01-07 16:01:00 -0600

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):

https://github.com/ros-planning/movei...

https://github.com/ros-planning/movei...

https://github.com/ros-planning/movei...

https://github.com/ros-planning/movei...

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.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-08-29 03:56:21 -0600

Seen: 489 times

Last updated: Jan 07 '23