Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion utils/map/mowareareader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# v0.1 nekraus
# v0.2 javaboon
# v0.3 eddi 20230423
# v0.4 biemond
# - changes: switch from polygon PathPatch
# - obstacle integration
# state: x,y-points in one ore more mow areas including 0 to n obstacles can be moved and saved to a new map (output.bag)
Expand Down Expand Up @@ -170,7 +171,7 @@ def on_mouse_move(self, event):
bag = rosbag.Bag('map.bag')
with rosbag.Bag('output.bag', 'w') as outbag:
for topic, msg, t in bag.read_messages():
if topic == 'mowing_areas':
if topic in ['mowing_areas', 'navigation_areas']:
x_list_area = []
y_list_area = []
verts=[]
Expand Down