message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/dt_protocols/checker.py", line 102, in run_checker
msg = agent_ci.write_topic_and_expect("query", q, expect="response")
File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 145, in write_topic_and_expect
ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout, profiler=profiler)
File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 243, in read_one
msgs = read_reply(self.fpout, timeout=timeout, waiting_for=waiting_for, 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 "query".
|
|| AttributeError: 'NoneType' object has no attribute 'deg2rad'
||
|| 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/utils.py", line 21, in call_if_fun_exists
|| f(**kwargs)
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 173, in on_received_query
|| step = self.connect_poses(b_coords, a_coords)
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 217, in connect_poses
|| end_se2 = SE2Transform([goal.x,goal.y],np.deg2rad(goal.theta_deg))
|| TypeError: loop of ufunc does not support argument 0 of type NoneType which has no callable deg2rad 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_query of <planning.planner.Planner object at 0x7f198a2e2f10>>.
|| │ f: <bound method Planner.on_received_query of <planning.planner.Planner object at 0x7f198a2e2f10>>
|| │ args: dict[2]
|| │ │ data:
|| │ │ PlanningQuery
|| │ │ │ start:
|| │ │ │ FriendlyPose
|| │ │ │ │ x: 2.851619739457407
|| │ │ │ │ y: 0.7677554835461414
|| │ │ │ │ theta_deg: 76.41653777498384
|| │ │ │ target:
|| │ │ │ FriendlyPose
|| │ │ │ │ x: 2.4756126187339715
|| │ │ │ │ y: 3.8700685383714606
|| │ │ │ │ theta_deg: 329.8242898730601
|| │ │ context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7f185ac34220>
|| │ 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: PlanningQuery}
||
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
|