Skip to content

Commit

Permalink
fix multi_floor_manager to lock access to state variables (follow up of
Browse files Browse the repository at this point in the history
#13)

Signed-off-by: Masayuki Murata <[email protected]>
  • Loading branch information
muratams committed Mar 15, 2024
1 parent f6ff994 commit aaa42b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mf_localization/script/multi_floor_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2471,7 +2471,7 @@ def transform(self, pose_stamped, target, timeout=None):
multi_floor_manager.send_static_transforms()

# global position
global_position_timer = node.create_timer(global_position_interval, multi_floor_manager.global_position_callback, callback_group=MutuallyExclusiveCallbackGroup())
global_position_timer = node.create_timer(global_position_interval, multi_floor_manager.global_position_callback, callback_group=state_update_callback_group)

# detect optimization
multi_floor_manager.map2odom = None
Expand Down

0 comments on commit aaa42b8

Please sign in to comment.