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

Simple local planner in Python?

asked 2021-01-04 06:46:23 -0600

ba_tma gravatar image

updated 2022-02-11 08:18:48 -0600

lucasw gravatar image

Hello everybody,

I would like to implement my own local planner using Python for exercise purposes. Therefore, I make no use of move_base and the ROS navigation stack at all and try to implement those parts (localization, global planner, local planner) in Python. Since algorithms like dwa or teb seem pretty advance to me and I am not too experienced in robotics and Python my question is the following: Is there any local planning algorithm in existence that is feasible to implement for beginners? Any 'light weight' versions of the local planners implemented in the ROS navigation stack?

Thanks in advance!

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2021-11-07 04:41:21 -0600

osilva gravatar image

An excellent resource to consider is Python Robotics:

Under Path Planning there are many examples. The examples are as simple as possible primarily in 2D but you can use them as a foundation.

edit flag offensive delete link more

answered 2021-01-04 14:25:13 -0600

Pure pursuit is a pretty simple one to try out and implement in python. It's all geometric based and could be implemented in < 200 lines for a basic beginner example.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-01-04 06:46:23 -0600

Seen: 1,024 times

Last updated: Feb 11 '22