Skip to content

Port Setup Assistant collisions_updater.cpp #724

Closed

Description

@MarqRazz

Is your feature request related to a problem? Please describe.
We have been using ROS1 to generate moveit_configs for our ROS2 applications and lately have been running into the issue that the number of links in the scene has changed from when we first created it. To get around this we have been manually maintaining the SRDF but this is becoming tedious and I know that we are not disabling all of the options that the setup_assistant would normally apply.

I would like to have an engineer start porting collisions_updater.cpp so that it can be manually called to update the ACM that is stored in the robots SRDF file.

In ROS1 this was possible by running the command:
rosrun moveit_setup_assistant collisions_updater --urdf <urdf/xacro> --xacro-args <optional_xacro_args> --srdf <path_to_srdf> --trials 100000

I know that the ROS2 setup_assistant work is trying to get started and want to help contribute and get the tool ported. I would like to use this issues to discuss any requests or problems we might have while we migrate the program.

Describe the solution you'd like
I would like to port collisions_updater.cpp to ROS2 and have the option to call it from the command line as follows:
ros2 run moveit_setup_assistant collisions_updater --urdf <urdf/xacro> --xacro-args <optional_xacro_args> --srdf <path_to_srdf> --trials 100000

Activity

  1. added
    enhancement
    on Oct 5, 2021
  2. tylerjw commented on Oct 12, 2021

    @tylerjw
    Member

    We are on the 4th PR for this one feature. Please just re-use your branch next time you update it. It is so much easier to review your changes if you just use one PR @brennand.

    As we talked about it in the meeting today, here is the approach we want for this PR:

    • comment out the sections of the setup assistant you are not porting from the CMakeLists.txt
    • do not edit any files that are not part of your port

    I recognize that this is a separate tool that can be run independently of MSA. We might move it in the future but for the sake of the git history please make the port one PR. Then if we want to move it somewhere else in the repo, do that in a separate PR.

  3. tylerjw commented on Oct 13, 2021

    @tylerjw
    Member

    Closing as this feature was merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions