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".
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 42, in ipce_from_object
|| res = ipce_from_object_(ob, suggest_type, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 76, in ipce_from_object_
|| raise ZTypeError(msg, st=st, ob=ob, T=type(ob))
|| zuper_commons.types.exceptions.ZTypeError: Expected this to be @suggest_type.
|| │ st: float
|| │ ob: 0
|| │ T: int
||
|| 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_ipce/conv_ipce_from_object.py", line 219, in ipce_from_object_dataclass_instance
|| res[k] = ipce_from_object(v, T, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 45, in ipce_from_object
|| raise ZTypeError(msg, ob=ob, T=type(ob)) from e
|| zuper_commons.types.exceptions.ZTypeError: ipce_from_object() for type @t failed.
|| │ ob: 0
|| │ T: int
||
|| 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_ipce/conv_ipce_from_object.py", line 219, in ipce_from_object_dataclass_instance
|| res[k] = ipce_from_object(v, T, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 42, in ipce_from_object
|| res = ipce_from_object_(ob, suggest_type, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 63, in ipce_from_object_
|| return ipce_from_object_(ob, T, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 83, in ipce_from_object_
|| return ipce_from_object_list(ob, st, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 156, in ipce_from_object_list
|| return [rec(_) for _ in ob]
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 156, in <listcomp>
|| return [rec(_) for _ in ob]
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 154, in rec
|| return ipce_from_object(x, V, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 42, in ipce_from_object
|| res = ipce_from_object_(ob, suggest_type, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 109, in ipce_from_object_
|| return ipce_from_object_dataclass_instance(ob, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 236, in ipce_from_object_dataclass_instance
|| raise ZValueError(msg, expected=T, ob=ob) from e
|| zuper_commons.types.exceptions.ZValueError: Could not serialize an object. Problem occurred with the attribute 'velocity_x_m_s'. It is supposed to be of type @expected.
|| │ expected: float
|| │ ob: PlanStep
|| │ │ duration: 0.45278207416720495
|| │ │ velocity_x_m_s: 0
|| │ │ angular_velocity_deg_s: -30.0
||
|| 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 21, in call_if_fun_exists
|| f(**kwargs)
|| File "/code/catkin_ws/src/planning/packages/planning/planner.py", line 99, in on_received_query
|| context.write("response", result)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 108, in write
|| self._write(topic, data, timing, with_schema)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 156, in _write
|| data = ipce_from_object(data, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 42, in ipce_from_object
|| res = ipce_from_object_(ob, suggest_type, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 109, in ipce_from_object_
|| return ipce_from_object_dataclass_instance(ob, globals_=globals_, ieso=ieso)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_ipce/conv_ipce_from_object.py", line 236, in ipce_from_object_dataclass_instance
|| raise ZValueError(msg, expected=T, ob=ob) from e
|| zuper_commons.types.exceptions.ZValueError: Could not serialize an object. Problem occurred with the attribute 'plan'. It is supposed to be of type @expected.
|| │ expected: Optional[List[PlanStep]]
|| │ ob: PlanningResult
|| │ │ feasible: True
|| │ │ plan:
|| │ │ list[8]
|| │ │ #0 PlanStep
|| │ │ │ duration: 0.45278207416720495
|| │ │ │ velocity_x_m_s: 0
|| │ │ │ angular_velocity_deg_s: -30.0
|| │ │ #1 PlanStep
|| │ │ │ duration: 2.5
|| │ │ │ velocity_x_m_s: 0.4
|| │ │ │ angular_velocity_deg_s: 0
|| │ │ #2 PlanStep
|| │ │ │ duration: 0.45278207416720495
|| │ │ │ velocity_x_m_s: 0
|| │ │ │ angular_velocity_deg_s: -30.0
|| │ │ #3 PlanStep
|| │ │ │ duration: 2.5
|| │ │ │ velocity_x_m_s: 0.4
|| │ │ │ angular_velocity_deg_s: 0
|| │ │ #4 PlanStep
|| │ │ │ duration: 1.9527820741672055
|| │ │ │ velocity_x_m_s: 0
|| │ │ │ angular_velocity_deg_s: -30.0
|| │ │ #5 PlanStep
|| │ │ │ duration: 3.5355339059327378
|| │ │ │ velocity_x_m_s: 0.4
|| │ │ │ angular_velocity_deg_s: 0
|| │ │ #6 PlanStep
|| │ │ │ duration: 11.180339887498949
|| │ │ │ velocity_x_m_s: 0.4
|| │ │ │ angular_velocity_deg_s: 0
|| │ │ #7 PlanStep
|| │ │ │ duration: 5.505857004231331
|| │ │ │ velocity_x_m_s: 0
|| │ │ │ angular_velocity_deg_s: -30.0
||
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
|