Skip to content
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

Enabling non-namespace use of Gazebo robot #187

Closed
wants to merge 4 commits into from

Commits on Nov 8, 2021

  1. Add 'ns' argument to allow specifying the robotNamespace for Gazebo

    The robotNamespace is conceptually different from arm_id.
    While the latter just acts as a name prefix for links and joints,
    the <robotNamespace> tag specifies the name of the ROS namespace, which is used
    for key robot components like the joint_states topic, the controller_manager, etc.
    
    To allow for an empty namespace, the default needs to be specified as empty.
    Otherwise, i.e. having a non-empty default, specifying ns:="" on the commandline
    will fall back to the default despite an (empty) value was provided.
    rhaschke committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    86a30d1 View commit details
    Browse the repository at this point in the history
  2. Allow starting the Gazebo robot w/ and w/o a namespace.

    By default, we don't start in a namespace to match the real-robot behavior.
    Unfortunately, we cannot just specify an empty ns="" in roslaunch, but we
    need to distinguish the two cases empty/non-empty namespace.
    To avoid code duplication, the relevant code was factored out into panda_ns.launch.xml,
    which is include w/ or w/o a namespace.
    The file-ending is deliberatively choosen as .launch.xml to hide the file from bash completion.
    rhaschke committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    25ed4dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    daaad8b View commit details
    Browse the repository at this point in the history
  4. Avoid redundancy in node naming

    Instead of arm_id/arm_id_xxx use arm_id/xxx
    rhaschke committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    7480802 View commit details
    Browse the repository at this point in the history