Skip to content

Commit 534f1dd

Browse files
committed
comment
1 parent 3de6686 commit 534f1dd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

map2d_ros_tools.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ def remove_python2_entries_from_sys_path():
2424
def default_refmap_update_callback(self_):
2525
pass
2626

27+
""" so many nodes end up implementing this functionality, it made sense to create
28+
a class for it.
29+
30+
This class loads and stores the reference map (for global planning, for example),
31+
and keeps track of the robot's pose in the map
32+
33+
with refmap_update_callback, the user can specify a task to perform each time the map is updated
34+
"""
2735
class ReferenceMapAndLocalizationManager(object):
2836
""" If a reference map is provided and a tf exists,
2937
keeps track of the tf for given frame in the reference map frame """

0 commit comments

Comments
 (0)