message: correct goal definition for merging rss example
diff: @@ -22,6 +22,7 @@ from bark.core.world.opendrive import *
  from bark.core.world.goal_definition import *
  from bark.core.models.behavior import *
  from bark.core.commons import SetVerboseLevel
  +from bark.core.geometry import *
  try:
  from bark.core.world.evaluation import EvaluatorRSS
  @@ -32,9 +33,6 @@ except:
  # parameters
  param_server = ParameterServer()
  -# scenario
  -
  -
  class CustomLaneCorridorConfig(LaneCorridorConfig):
  def __init__(self,
  params=None,
  @@ -45,7 +43,9 @@ class CustomLaneCorridorConfig(LaneCorridorConfig):
  road_corr = world.map.GetRoadCorridor(
  self._road_ids, XodrDrivingDirection.forward)
  lane_corr = self._road_corridor.lane_corridors[0]
  - return GoalDefinitionPolygon(lane_corr.polygon)
  + goal_polygon = Polygon2d([0, 0, 0], [Point2d(-1, -1), Point2d(-1, 1), Point2d(1, 1), Point2d(1, -1)])
  + goal_polygon = goal_polygon.Translate(Point2d(lane_corr.center_line.ToArray()[-1, 0], lane_corr.center_line.ToArray()[-1, 1]))
  + return GoalDefinitionPolygon(goal_polygon)
  param_server["BehaviorIDMClassic"]["BrakeForLaneEnd"] = True
  @@ -64,7 +64,7 @@ param_server["World"]["FracLateralOffset"] = 2.0
  param_server["Visualization"]["Agents"]["DrawEvalGoals"] = False
  param_server["Visualization"]["Evaluation"]["DrawEgoRSSSafetyResponses"] = True
  -SetVerboseLevel(0)
  +SetVerboseLevel(4)
  # configure both lanes of the highway. the right lane has one controlled agent
  left_lane = CustomLaneCorridorConfig(params=param_server,
  