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

Timed Navigation using Simple Nav Goal

asked 2018-07-12 03:45:35 -0500

MandeepSingh gravatar image

updated 2018-07-12 06:09:15 -0500

Hi all,

I am using DWAPlanner for local planner, when giving a simple nav goal it takes a some time to it to generate plan. I dont want this lag when I want tot trigger my robot motion. Can I somehow pre-compute the path and then just trigger the bot to move afterwards.

I am using move_base_simple/goal topic for giving goal.

Any help would be appreciated.

Thanks Mandeep Singh

edit retag flag offensive close merge delete

Comments

How are you giving the goal? using RViz "2D Nav Goal" or somewhere in the code

pavel92 gravatar image pavel92  ( 2018-07-12 04:10:30 -0500 )edit

I am giving goal by publishing on topic move_base_simple/goal.

MandeepSingh gravatar image MandeepSingh  ( 2018-07-12 06:08:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-12 08:04:26 -0500

Choco93 gravatar image

updated 2018-07-12 08:04:47 -0500

If you increase the value of resolution to have bigger cell size, then plan generation should be fast,but that depends on your application, you might need smaller resolution for better accuracy.

If you don't want to mess with move_base and planners then you can simply remap velocity in move_base and make a simple node that takes command velocities, and publish them to another topic (remapped topic in move_base) when you call a service.

Of course this is just one method, that I think is easy, there can be more.

edit flag offensive delete link more

Comments

Yeah I was thinking something like that only. Thanks !

MandeepSingh gravatar image MandeepSingh  ( 2018-07-12 22:18:25 -0500 )edit

You are welcome :)

Choco93 gravatar image Choco93  ( 2018-07-13 01:15:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-12 03:45:35 -0500

Seen: 182 times

Last updated: Jul 12 '18