Skip to content

No output for wheel_cmd_velocities? [Question - Closed] #74

@Doctor-N0

Description

@Doctor-N0

First of all: amazing repo! Absolutely great work!

I was launching the navigation and base via

roslaunch diffbot_base  diffbot.launch
roslaunch diffbot_navigation diffbot.launch

to get a more in-depth understanding of ros_control, specifically the hardware_interface's write function. Luckily, the functions published the diff_drive_controller's output (which it received via the joint_velocity_commands_)

When I assign a drive command (e.g. angular velocity), the Gazebo Simulation works perfectly fine and the robot is spinning. However, the /diffbot/wheel_cmd_velocities yield only zero.

As seen in the screenshot below, only zeros are yielded if I run both (which makes sense, since the base is not connected to the cmd velocity, as seen in the node graph)

Screenshot from 2023-02-13 15-10-14

Edit: if I run diffbot_base diffbot.launch (without diffbot_navigation diffbot.launch), I receive the expected output)

Screenshot from 2023-02-13 16-03-07

Therefore, my question: Is it even POSSIBLE to run both, the navigation in gazebo AND the hardware_interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions