message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/code.py", line 581, in run_episode
agent_ci.write_topic_and_expect_zero("observations", obs_plus)
File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 143, in write_topic_and_expect_zero
msgs = read_reply(self.fpout, timeout=timeout, nickname=self.nickname)
File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 304, in read_reply
others = read_until_over(fpout, timeout=timeout, nickname=nickname)
File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 331, in read_until_over
raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "ego0" aborted:
error in ego0 |Exception while handling a message on topic "observations".
|
|| 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 "/agent/solution/agent.py", line 65, in on_received_observations
|| context.info("received first observations", data=data)
|| TypeError: info() got an unexpected keyword argument 'data'
||
|| 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 355, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 531, 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 BraitenbergAgent.on_received_observations of <__main__.BraitenbergAgent object at 0x7fbbc40cc880>>.
|| │ f: <bound method BraitenbergAgent.on_received_observations of <__main__.BraitenbergAgent object at 0x7fbbc40cc880>>
|| │ args: dict[2]
|| │ │ data:
|| │ │ DB20Observations
|| │ │ │ camera: JPGImage(jpg_data=58263 bytes b'\xff\xd8\xff\xe0\x00\x10JFIF')
|| │ │ │ odometry:
|| │ │ │ DB20Odometry
|| │ │ │ │ resolution_rad: 0.046542113386515455
|| │ │ │ │ axis_left_rad: 0.0
|| │ │ │ │ axis_right_rad: 0.0
|| │ │ context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7fbbb1b0e7f0>
|| │ argspec: <class 'inspect.FullArgSpec'>[7]
|| │ #0 [self, context, data]
|| │ #1 None
|| │ #2 None
|| │ #3 None
|| │ #4 []
|| │ #5 None
|| │ #6 dict[2]
|| │ │ context: <class 'zuper_nodes_wrapper.interface.Context'>
|| │ │ data:
|| │ │ dataclass aido_schemas.schemas.DB20Observations
|| │ │ field camera : dataclass aido_schemas.protocol_simulator.JPGImage
|| │ │ field jpg_data : bytes
|| │ │ __doc__
|| │ │ An image in JPG format.
|| │ │
|| │ │ jpg_data
|| │ │ field odometry : dataclass aido_schemas.schemas.DB20Odometry
|| │ │ field resolution_rad : float
|| │ │ field axis_left_rad : float
|| │ │ field axis_right_rad : float
||
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/duckietown_challenges/cie_concrete.py", line 681, in scoring_context
yield cie
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/experiment_manager.py", line 60, in go
wrap(cie)
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/experiment_manager.py", line 33, in wrap
asyncio.run(main(cie, logdir, attempts), debug=True)
File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/code.py", line 312, in main
length_s = await run_episode(
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/code.py", line 593, in run_episode
raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Trouble with communication to the agent.
|