gkouros / rsband_local_planner

A ROS move_base local planner plugin for Car-Like robots with Ackermann or 4-Wheel-Steering.
BSD 3-Clause "New" or "Revised" License
161 stars 51 forks source link

Backward motion parameter #20

Closed KoushikRaghav closed 2 years ago

KoushikRaghav commented 2 years ago

What parameter should we use to enable backward motion?

gkouros commented 2 years ago

It's enabled already. To go backwards, the reeds-shepp planner needs to make a plan for moving backwards and then the path tracking controller will know what to do.

darshan-d022 commented 2 years ago

Hi, I have tried setting the min_lin_x param to a -ve value, still my cmd_vel doesnt publish -ve linear x values. Can you please let me know if there is any additional param to enable backwards motion?? Note: I have tried to change the min and max values in the .cfg file for min_lin_x param. Still doesnt make any change.

gkouros commented 2 years ago

Backward motion should work without any parameter changes. If it doesn't, it's probably a controller issue. You can observe the Twist commands RSBandPLanner outputs and whether linear.x gets negative values. If it does, then you should look into what happens in the controller receiving the Twist commands.

KoushikRaghav commented 2 years ago

Setting the param emergency_planning to false publishes negative linear x