Ask Your Question
3

Navigation-related Question

asked 2012-06-18 11:49:27 -0500

I was wondering if it is possible to limit the navigation stack to only rotate in place.

I am setting up the navstack on a tracked skid robot and I am having difficulties in converting the velocity command outputs from the stack into (right and left) linear track velocities. Especially when the cmd_vel is composed by both linear and angular velocities.

The robot is able to drive forward and backwards decently, as well as rotating in place. However when trying to drive forward while steering, the robot seems to have a lot of inertia with short angular velocities and a large slipping effect with higher angular velocities.

Thus, I wonder if it is possible to set the parameters to use the navigation stack only with simple movements like forward/backwards (only linear velocities) and in-place rotations (velocity commands only with angular component).

edit retag flag offensive close merge delete

Comments

1

you may limit your angular and linear acclerations and limit your maximum minimum speeds and you may add a simple pid algorithm in order to set your motors to desired velocities provided by cmd_vel, have you tried these options

cagatay gravatar imagecagatay ( 2012-06-18 13:43:49 -0500 )edit
2

hello cagatay, thank you for the answer. I've tried limiting the accelerations as well as max and min speeds, but had no luck. Actually, the pid option is what i am currently exploring, since I have to remap the velocities given by the navstack to a specific scale that the motors accept.

DavidPortugal gravatar imageDavidPortugal ( 2012-06-18 14:27:22 -0500 )edit
2

hey david, try control_toolbox for ros , it has pid algorithm, may work out for you

cagatay gravatar imagecagatay ( 2012-06-19 00:16:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-18 15:22:28 -0500

Ryan gravatar image

If you want to stick as closely to the navigation stack as possible, I would recommend modifying the base_local_planner package. It's the part of the nav stack that turns a path into a desired platform velocity.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-06-18 11:49:27 -0500

Seen: 390 times

Last updated: Jun 18 '12