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

Is there a way to adapt diff_drive_controller for four wheel robot?

asked 2022-12-28 02:22:08 -0500

Edvard gravatar image

updated 2022-12-29 08:17:39 -0500

Mike Scheutzow gravatar image

Hi. Sorry for all mistakes, English is not my native language. I have a two wheeled robot that works fine. I want to remake it to be four wheeled one. I know that there is four_wheel_steering_controller and ackerman_controller but I want to try this with diff_drive controller. For unknown for know reason after adapting urdf and control.yaml files with reference to husky robot (as far as I understand, they managed to make it work the way I want it to work) my robot can move but can't turn. So at some point it will hit the wall or any other obstacle. Appreciate any hints.

edit retag flag offensive close merge delete

Comments

Is failure in simulation or with a real robot?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-12-28 06:46:28 -0500 )edit

In simulation.

Edvard gravatar image Edvard  ( 2022-12-28 23:30:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-29 08:16:21 -0500

Mike Scheutzow gravatar image

In simulation, I have seen this problem caused by the amount of friction between the wheels and the ground. You need to check the values for both the forward direction and the perpendicular direction (i.e. the robot's y-axis.) The values can't be too small and they can't be too large.

edit flag offensive delete link more

Comments

Thank you for help. It work's now.

Edvard gravatar image Edvard  ( 2023-01-26 00:47:17 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-12-28 02:22:08 -0500

Seen: 58 times

Last updated: Dec 29 '22