amslabtech / dwa_planner

ROS implementation of DWA(Dynamic Window Approach) Planner
https://amslabtech.github.io/dwa_planner/
BSD 3-Clause "New" or "Revised" License
447 stars 84 forks source link

some question about topic name #20

Closed eldenring998 closed 7 months ago

eldenring998 commented 2 years ago

I found that I can't change the topic name,I have modified the following code, first,in dwa_planner.cpp local_map_sub = nh.subscribe("/map", 1, &DWAPlanner::local_map_callback, this); second, in local_planner.launch <remap from="/local_map" to="/map"/> Although I have made the above changes, the algorithm still cannot communicate with the map_server, the topic name of map_server is /map instead of /local_map I don't know why this is, hope you can help

ToshikiNakamura0412 commented 7 months ago

Did you build again after making the changes?