| message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/dt_protocols/checker.py", line 97, in run_checker
agent_ci.write_topic_and_expect_zero("set_params", inside.params)
File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 156, in write_topic_and_expect_zero
msgs = read_reply(self.fpout, timeout=timeout, nickname=self.nickname)
File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 333, in read_reply
others = read_until_over(fpout, timeout=timeout, nickname=nickname)
File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 360, in read_until_over
raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "checker" aborted:
error in checker |Exception while handling a message on topic "set_params".
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 21, in call_if_fun_exists
|| f(**kwargs)
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 77, in on_received_set_params
|| self._remove_object_edges_in_grid()
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 462, in _remove_object_edges_in_grid
|| grid_points = self.points_in_rectangle(center_x, center_y, -rectangle_theta, x_min, x_max, y_min, y_max)
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 521, in points_in_rectangle
|| return list(map(round, gridpoints[inside_rectangle] + [center_x, center_y]))
|| TypeError: type numpy.ndarray doesn't define __round__ method
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 418, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 591, in handle_message_node
|| call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 24, in call_if_fun_exists
|| raise ZTypeError(msg, f=f, args=kwargs, argspec=a) from e
|| zuper_commons.types.exceptions.ZTypeError: Cannot call function <bound method Planner.on_received_set_params of <planning.planner.Planner object at 0x7f77abd80a00>>.
|| │ f: <bound method Planner.on_received_set_params of <planning.planner.Planner object at 0x7f77abd80a00>>
|| │ args: dict[2]
|| │ │ data:
|| │ │ PlanningSetup
|| │ │ │ environment:
|| │ │ │ List[PlacedPrimitive][18]
|| │ │ │ #0 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=0.0, ymin=0.0, xmax=0.1, ymax=5.0)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #1 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=4.9, ymin=0.0, xmax=5.0, ymax=5.0)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #2 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=0.0, ymin=4.9, xmax=5.0, ymax=5.0)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #3 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=0.0, ymin=0.0, xmax=5.0, ymax=0.1)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #4 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 0.750091383034765
|| │ │ │ │ │ y: 3.528837226415566
|| │ │ │ │ │ theta_deg: 135.1368444840379
|| │ │ │ │ primitive: Circle(radius=0.598144939637368)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #5 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 2.424669702858892
|| │ │ │ │ │ y: 0.027030793517454077
|| │ │ │ │ │ theta_deg: 176.75568153573147
|| │ │ │ │ primitive: Circle(radius=0.424892337195259)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #6 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 3.9325662089121445
|| │ │ │ │ │ y: 3.5014715649431425
|| │ │ │ │ │ theta_deg: 186.2028898477752
|| │ │ │ │ primitive: Circle(radius=0.5745532916161572)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #7 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 4.659107108783459
|| │ │ │ │ │ y: 2.663364857586441
|| │ │ │ │ │ theta_deg: 232.23625239181266
|| │ │ │ │ primitive: Circle(radius=0.45562390810678155)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #8 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 3.487540897413566
|| │ │ │ │ │ y: 1.0367674527631294
|| │ │ │ │ │ theta_deg: 157.0667461953871
|| │ │ │ │ primitive: Circle(radius=0.35111039351553164)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #9 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 1.1174878124503085
|| │ │ │ │ │ y: 1.467567486144683
|| │ │ │ │ │ theta_deg: 205.12660027119716
|| │ │ │ │ primitive: Circle(radius=0.6536195797004027)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #10 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 1.5934201240506618
|| │ │ │ │ │ y: 2.2952926204191986
|| │ │ │ │ │ theta_deg: 74.5827438489619
|| │ │ │ │ primitive: Circle(radius=0.712196337834373)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #11 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 4.930754367456202
|| │ │ │ │ │ y: 0.6535460800106385
|| │ │ │ │ │ theta_deg: 138.98505329308196
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.20892284598946514
|| │ │ │ │ │ ymin: -0.20083371491991614
|| │ │ │ │ │ xmax: 0.20892284598946514
|| │ │ │ │ │ ymax: 0.20083371491991614
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #12 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 3.417506758952891
|| │ │ │ │ │ y: 4.265329083864914
|| │ │ │ │ │ theta_deg: 329.22434970081946
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.33364566312473287
|| │ │ │ │ │ ymin: -0.37488691521771067
|| │ │ │ │ │ xmax: 0.33364566312473287
|| │ │ │ │ │ ymax: 0.37488691521771067
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #13 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 4.142436268523218
|| │ │ │ │ │ y: 2.683940910828718
|| │ │ │ │ │ theta_deg: 47.46771855742054
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.28708262384161465
|| │ │ │ │ │ ymin: -0.2744348427552515
|| │ │ │ │ │ xmax: 0.28708262384161465
|| │ │ │ │ │ ymax: 0.2744348427552515
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #14 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 1.7719366828718646
|| │ │ │ │ │ y: 1.9989792972535858
|| │ │ │ │ │ theta_deg: 81.60703309623904
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.2838230066931264
|| │ │ │ │ │ ymin: -0.3887960139564361
|| │ │ │ │ │ xmax: 0.2838230066931264
|| │ │ │ │ │ ymax: 0.3887960139564361
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #15 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 3.377515197881263
|| │ │ │ │ │ y: 4.966435472254766
|| │ │ │ │ │ theta_deg: 272.72488264598206
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.23812594899500014
|| │ │ │ │ │ ymin: -0.27875867847584923
|| │ │ │ │ │ xmax: 0.23812594899500014
|| │ │ │ │ │ ymax: 0.27875867847584923
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #16 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 1.6109088343174034
|| │ │ │ │ │ y: 4.06353990047425
|| │ │ │ │ │ theta_deg: 329.92266811902124
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.36352034603077954
|| │ │ │ │ │ ymin: -0.309941870037203
|| │ │ │ │ │ xmax: 0.36352034603077954
|| │ │ │ │ │ ymax: 0.309941870037203
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #17 PlacedPrimitive
|| │ │ │ │ pose:
|| │ │ │ │ FriendlyPose
|| │ │ │ │ │ x: 3.5504930935064367
|| │ │ │ │ │ y: 4.616483397809637
|| │ │ │ │ │ theta_deg: 283.25043438555076
|| │ │ │ │ primitive:
|| │ │ │ │ Rectangle
|| │ │ │ │ │ xmin: -0.21658283874789858
|| │ │ │ │ │ ymin: -0.2515106821837129
|| │ │ │ │ │ xmax: 0.21658283874789858
|| │ │ │ │ │ ymax: 0.2515106821837129
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ body:
|| │ │ │ List[PlacedPrimitive][2]
|| │ │ │ #0 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=-0.13, ymin=-0.045, xmax=0.07, ymax=0.045)
|| │ │ │ │ appearance: Appearance(fillcolor=blue, rel_zorder=1)
|| │ │ │ #1 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=-0.03, ymin=-0.065, xmax=0.03, ymax=0.065)
|| │ │ │ │ appearance: Appearance(fillcolor=black, rel_zorder=-1)
|| │ │ │ bounds: Rectangle(xmin=0.0, ymin=0.0, xmax=5.0, ymax=5.0)
|| │ │ │ max_linear_velocity_m_s: 0.4
|| │ │ │ min_linear_velocity_m_s: -0.3
|| │ │ │ max_angular_velocity_deg_s: 30.0
|| │ │ │ max_curvature: 5.0
|| │ │ │ tolerance_xy_m: 0.05
|| │ │ │ tolerance_theta_deg: 20.0
|| │ │ context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7f76eee20640>
|| │ argspec: <class 'inspect.FullArgSpec'>[7]
|| │ #0 [self, context, data]
|| │ #1 None
|| │ #2 None
|| │ #3 None
|| │ #4 []
|| │ #5 None
|| │ #6 {context: <class 'zuper_nodes_wrapper.interface.Context'>, data: PlanningSetup}
||
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges/cie_concrete.py", line 691, in scoring_context
yield cie
File "/usr/local/lib/python3.8/dist-packages/dt_planning/planning_checker.py", line 102, in planning_checker_main
sessions = run_checker(
File "/usr/local/lib/python3.8/dist-packages/dt_protocols/checker.py", line 115, in run_checker
raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: The remote node has violated protocol
|