Skip to content

Commit a927735

Browse files
authored
Fix type hint (#701)
2 parents b6411d0 + ae8bed5 commit a927735

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bitbots_behavior/bitbots_blackboard/bitbots_blackboard/capsules/costmap_capsule.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def __init__(self, node, blackboard):
4747

4848
self.base_costmap: Optional[np.ndarray] = None # generated once in constructor field features
4949
self.costmap: Optional[np.ndarray] = None # updated on the fly based on the base_costmap
50-
self.gradient_map: Optional[np.ndarray] = None # global heading map (static) only dependent on field structure
50+
self.gradient_map: Optional[list[np.ndarray]] = (
51+
None # global heading map (static) only dependent on field structure
52+
)
5153

5254
# Calculates the base costmap and gradient map based on it
5355
self.calc_base_costmap()

0 commit comments

Comments
 (0)