| 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 0x7fd034f9a9d0>>.
|| │ f: <bound method Planner.on_received_set_params of <planning.planner.Planner object at 0x7fd034f9a9d0>>
|| │ args: dict[2]
|| │ │ data:
|| │ │ PlanningSetup
|| │ │ │ environment:
|| │ │ │ List[PlacedPrimitive][4]
|| │ │ │ #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=3.0)
|| │ │ │ │ appearance: Appearance(fillcolor=brown)
|| │ │ │ #1 PlacedPrimitive
|| │ │ │ │ pose: FriendlyPose(x=0.0, y=0.0, theta_deg=0.0)
|| │ │ │ │ primitive: Rectangle(xmin=2.9, ymin=0.0, xmax=3.0, ymax=3.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=2.9, xmax=3.0, ymax=3.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=3.0, ymax=0.1)
|| │ │ │ │ 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=3.0, ymax=3.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 0x7fcf782fcf70>
|| │ 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
|