public void OnLidarProcessedSegmentsReceived(object sender, SegmentExtendedListArgs e) { if (localWorldMap == null || localWorldMap.robotLocation == null) { return; } if (localWorldMap.RobotId == e.RobotId && e.SegmentList.Count > 0) { localWorldMap.lidarSegmentList = e.SegmentList; } }
private void OnLidarProcessedSegmentsReceived(object sender, SegmentExtendedListArgs e) { //On transmet l'event OnLidarProcessedSegments(sender, e); }
public virtual void OnLidarProcessedSegments(object sender, SegmentExtendedListArgs e) { OnLidarProcessedSegmentsEvent?.Invoke(this, e); }