Ask Your Question

which file implements the husky_velocity_controller?

asked 2019-08-26 08:13:58 -0500

lochlomond gravatar image

When I controll the husky simulator, the motion of husky is driven by the /husky_velocity_controller/cmd_vel, I send a cmd_vel topic as expected velocity, the robot moves. But from physics, we know there must be a controller that transform the cmd_vel signal into the force that drives the vehicle. Where can I find the implementation of this controller? in which file? Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-09-26 15:09:34 -0500

404RobotNotFound gravatar image

If you look here:

You can see it loads the type: "diff_drive_controller/DiffDriveController" for the velocity controller.

The source for that is in the ros_controllers package, here:

Specifically, if you want to see how it handles the cmd_vel topic it records the command and does the logic here:

edit flag offensive delete link more

answered 2019-08-28 22:15:32 -0500

bsheffield gravatar image
edit flag offensive delete link more


Thank you. this link just relates to config files, where is the explicit implementation?

lochlomond gravatar image lochlomond  ( 2019-08-28 22:39:27 -0500 )edit
bsheffield gravatar image bsheffield  ( 2019-08-29 04:13:39 -0500 )edit

isn't it just a choice of which to pass through?

lochlomond gravatar image lochlomond  ( 2019-08-29 06:23:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-08-26 08:13:58 -0500

Seen: 332 times

Last updated: Aug 28 '19