Ask Your Question
0

edit the package navigation

asked 2014-08-20 23:21:25 -0500

Lau gravatar image

updated 2014-08-20 23:34:19 -0500

Hello ! I used navigation package in my robot , but now I want to modify some code in the base_local_planner of navigation . I know that I cannot edit the source file install in /opt/ros/hydro/share , so I downloaded package here .

Before I edit the code , I ran my simulation robot in rviz and give a 2D navigation to it . I ran the $rospack find move_base to ensure that it link to the package I have download , and it shows /home/llm/chaoying/src/navigation-hydro-devel.2/move_base . But the robot went a wrong way and can not arrive the goal which is not same when I used the original move_base in /opt/ros/hydro/share . I want to know why ? Are the two package's code different ?

image description image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-08-21 09:53:57 -0500

David Lu gravatar image

If you have downloaded and compiled the code from github ( https://github.com/ros-planning/navig... ) and used the default branch (hydro-devel) the code should be the same.

It is hard to tell what your problem is from your description and pictures. Things to check: 1) Is the robot properly localized? 2) Does the global path go directly to your goal?

edit flag offensive delete link more

Comments

I have solved this problem , thank you for your advice !

Lau gravatar image Lau  ( 2014-08-23 08:47:00 -0500 )edit

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: 2014-08-20 23:21:25 -0500

Seen: 125 times

Last updated: Aug 21 '14