Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ def __init__(self, node, blackboard):
self.map_margin: float = self._node.get_parameter("map_margin").value

# Ball state
# The ball in the map frame (default to the center of the field if ball is not seen yet)
self._ball: PointStamped = PointStamped(
header=Header(stamp=Time(clock_type=ClockType.ROS_TIME), frame_id=self.map_frame)
) # The ball in the map frame (default to the center of the field if ball is not seen yet)
header=Header(stamp=Time(clock_type=ClockType.ROS_TIME).to_msg(), frame_id=self.map_frame)
)
self._ball_covariance: np.ndarray = np.zeros((2, 2)) # Covariance of the ball

# Publisher for visualization in RViZ
Expand Down
Loading