Ask Your Question
0

Is it possible to use navigation stack for local navigation only?

asked 2015-11-22 06:25:59 -0500

Oevli gravatar image

Hello

Im a currently involved in making a skid steered robot - which has the aim to drive through multiple rows of corn (there will be no obstacles blocking any rows at any time).

The robot is using a Hokuyo Urg laser scanner for obstacle identification.

I have been looking through the navigation stack package and it seems like this package offers a lot more than I really need. I think I can cut my needs down to the following:

1) Get sensor data 2) Process sensor data in order to identify obstacles 3) Calculate optimal direction and speed based on identified obstacles 4) Calculate wheel velocities in order to obtain 3) 5) Calculate and send PWM signal to motors in order to optain 4)

Is it possible to "limit" navigation stack to do this, or will I be better of with a different approach?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-11-23 05:57:45 -0500

Akif gravatar image

If you have the map of the environment already you can use amcl only for localization.

If you do not have map, you can use gmapping for SLAM.

Either way, navigation stack provides you 2), 3) and half of 4) in your question. You should make your sensor readings ready in your system (possibly via /scan topic), this is not a responsibility of navigation stack. Then, it will process sensor data and identify obstacles, planner will generate optimal paths regarding obstacles and finally move_base will output necessary vehicle velocities (longitudinal, lateral and yaw velocities). After this point you should calculate wheel velocities according to your vehicle model and generate PWM signals with your hardware. This part is not covered by nav stack.

Therefore to my opinion, you do not need to limit nav stack. Instead you should supply missing parts and configure nav stack correctly for your purpose.

You may need to go over nav tutorials for implementation.

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

Stats

Asked: 2015-11-22 06:25:59 -0500

Seen: 172 times

Last updated: Nov 23 '15