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

low level control velocity vs position control

asked 2023-04-28 23:54:50 -0600

PointCloud gravatar image

Hi folks! I'm getting into the low level control for my ROS2 Robot, which is a wheeled bot with rear driven differential drive. Using O-Drive motors and controller, I'm wondering what is more common to be used in an application? -> Velocity Control -> Position Control

Both clearly have their advantages and it appears if we "ignore" friction, wheel slip, etc (basically ideal world) then velocity control would be easier to implement, as it is simply converting cmd_vel to rotations of the wheels.

Well, I guess the same applies for Position Control, it's just another conversion.

Here a summary of questions:

  1. What have you used in the past?
  2. What is more common?
  3. Would it be worthwhile to implement both and make it switchable? (but maybe upon reboot!?)

Please let me know, even if it a quick short reply. I'm struggling to decide, maybe not exactly knowing the road ahead, I don't want to be forced to go way back and adjust control mechanisms.

Thanks heaps!

edit retag flag offensive close merge delete

Comments

You should look over ros2 navigation and ros2_control before you start writing code. For differential-drive control, most of the code that you need should already exist.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-04-30 08:09:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-04-29 06:53:09 -0600

Mobile robots almost always use velocity control mode at low level (Position control at low level is neither reliable nor smooth in motion). Local planners/controller across the ROS/ROS2 ecosystem and even otherwise generate velocity commands based on the directives of a global planner. So, in short -

  1. Only ever used velocity control in mobile robots
  2. Same as 1
  3. Probably not worth it.
edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2023-04-28 23:54:50 -0600

Seen: 579 times

Last updated: Apr 29 '23