Skip to content

diff_drive_controller generates wrong odom and robot base frame names #482

Closed
@lukicdarkoo

Description

@lukicdarkoo

Since the last sync (https://discourse.ros.org/t/new-packages-for-ros-2-humble-hawksbill-2022-12-16/28806) there are two issues:

  1. Default frame name of the robot base frame is odom. This used to be base_link and it was a meaningful name. I don't think we should change defaults within the single ROS distro. I guess the problem is here:
  2. Namespaces are passed as prefixes to the odom and robot base frame names. I think I read somewhere that adding prefixes to frame names in multi-robot systems is a bad practice. Anyways, like in the first issue, the behavior shouldn't change within a single ROS distro.
    Even adding a leading slash to the frame names didn't make prefixes go away. My temporary solution is to use the snapshot version:
    wget -O /tmp/diff_drive_controller.deb http://snapshots.ros.org/humble/2022-11-23/ubuntu/pool/main/r/ros-humble-diff-drive-controller/ros-humble-diff-drive-controller_2.12.0-1jammy.20221108.202153_amd64.deb && \
    sudo apt install -y /tmp/diff_drive_controller.deb && \
    rm -f /tmp/diff_drive_controller.deb

It looks like the changes are made on purpose in #461. I am not sure whether it is a good decision, especially considering that the change breaks the previous behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions