Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help in global planner #3

Open
samim-17 opened this issue Nov 12, 2024 · 4 comments
Open

help in global planner #3

samim-17 opened this issue Nov 12, 2024 · 4 comments

Comments

@samim-17
Copy link

samim-17 commented Nov 12, 2024

Hello
I cannot go forward using 2d nav goal when I have implemented your rrt global planner. I am currently trying to replace navfn global planner with your planner in the rtabmap_drone_example github repo. Currently my launch file look like this

<!-- navigation -->  
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
   <remap from="map" to="/rtabmap/grid_map"/>
   <remap from="odom" to="/rtabmap/odom"/>
   <param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" /> 
   <!-- <param name="base_global_planner" value="global_planner/GlobalPlanner"/>-->

   <rosparam file="$(find rtabmap_drone_example)/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
   <rosparam file="$(find rtabmap_drone_example)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
   <rosparam file="$(find rtabmap_drone_example)/param/global_costmap_params.yaml" command="load" /> 
   <rosparam file="$(find rtabmap_drone_example)/param/local_costmap_params.yaml" command="load" />
   <rosparam file="$(find rtabmap_drone_example)/param/base_local_planner_params.yaml" command="load" />
   <rosparam file="$(find robot_simulation)/launch/blocks/base_global_planner_rrt.yaml" command="load"/>
</node>

Screenshot from 2024-11-12 22-39-18

Does this need map to be already known or not ?
Please help ! ! !

@virajawate
Copy link
Owner

Hey I just saw your issue I will let you know over the weekend.

@virajawate
Copy link
Owner

Few things to point out. Please make sure about them,

  1. Publish all the data for sensors is in sync
  2. The global planner takes sample index of map from map_server

@samim-17
Copy link
Author

samim-17 commented Nov 13, 2024

How can I check these two things ? All the other default planner are working fine ( carrot and global_planner). Does this need a map to be known already ?

@samim-17
Copy link
Author

Hello any updates ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants