public void OnStrategyHeatMapReceived(object sender, EventArgsLibrary.HeatMapArgs e) { if (robotId == e.RobotId) { StrategyHeatmap = e.HeatMap; CalculateOptimalWayPoint(); } }
public void OnHeatMapReceived(object sender, EventArgsLibrary.HeatMapArgs e) { if (localWorldMap == null) { return; } if (RobotId == e.RobotId) { localWorldMap.heatMap = e.HeatMap; } }