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

diffbot ros2_control_demos: how to configure output value for "hw_commands_"? Default output is 66.6666

asked 2021-10-12 23:56:04 -0500

shahrol.baharom gravatar image

updated 2021-10-21 22:15:35 -0500

Hi, In the ros2_control_demos program: I test the (diffbot) diff-drive demo, and monitor the "hw_commands_" variable, while I publish the maximum val in cmd_val x = 1 this cause the value of "hw_commands_" is set to 66.0.

image description

The value of cmd_val is: image description

I just wonder where the value is set? if we need to set this value where to set/configure it? Please help.....

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-29 08:42:59 -0500

updated 2022-03-04 09:27:30 -0500

Hi,

I guess that you are using some old version or publishing to a wrong topic, your velocity commands for DiffBot. Did you follow the exact manual from here?

If you are using your custom command for publishing velocities, please check that the topic name is "/cmd_vel".

P.S. I will check the code one more time and have no idea where this value could come from. I am using "master"-branch.

EDIT:

I see that you are using foxy. We didn't backport the "master" functionality to Foxy, so if possible please use newest "Galactic" or "Rolling" version.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-10-12 23:56:04 -0500

Seen: 111 times

Last updated: Mar 04 '22