message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 338, in object_from_ipce_dataclass_instance
attrs[k] = object_from_ipce_(v, et_k, ieds=ieds, iedo=iedo)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 110, in object_from_ipce_
raise ZValueError(msg, expected=st, given_object=mj)
zuper_typing.exceptions.ZValueError: Type mismatch for a simple type.
│ expected: float
│ given_object: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 338, in object_from_ipce_dataclass_instance
attrs[k] = object_from_ipce_(v, et_k, ieds=ieds, iedo=iedo)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 169, in object_from_ipce_
return object_from_ipce_dataclass_instance(mj, K, ieds=ieds, iedo=iedo)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 350, in object_from_ipce_dataclass_instance
) from e
zuper_typing.exceptions.ZValueError: Cannot deserialize attribute 'motor_right' of PWMCommands.
│ K_annotations: {motor_left: float, motor_right: float}
│ expect_type: float
│ ann_K: float
│ K_name: `PWMCommands`
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 66, in object_from_ipce
res = object_from_ipce_(mj, expect_type, ieds=ieds, iedo=iedo)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 169, in object_from_ipce_
return object_from_ipce_dataclass_instance(mj, K, ieds=ieds, iedo=iedo)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 350, in object_from_ipce_dataclass_instance
) from e
zuper_typing.exceptions.ZValueError: Cannot deserialize attribute 'wheels' of Duckiebot1Commands.
│ K_annotations: dict
│ │ wheels:
│ │ dataclass aido_schemas.schemas.PWMCommands
│ │ field motor_left : float
│ │ field motor_right : float
│ │ LEDS:
│ │ dataclass aido_schemas.schemas.LEDSCommands
│ │ field center : dataclass aido_schemas.schemas.RGB
│ │ field r : float
│ │ field g : float
│ │ field b : float
│ │ field front_left : dataclass aido_schemas.schemas.RGB
│ │ field r : float
│ │ field g : float
│ │ field b : float
│ │ field front_right : dataclass aido_schemas.schemas.RGB
│ │ field r : float
│ │ field g : float
│ │ field b : float
│ │ field back_left : dataclass aido_schemas.schemas.RGB
│ │ field r : float
│ │ field g : float
│ │ field b : float
│ │ field back_right : dataclass aido_schemas.schemas.RGB
│ │ field r : float
│ │ field g : float
│ │ field b : float
│ expect_type: dataclass aido_schemas.schemas.PWMCommands
│ field motor_left : float
│ field motor_right : float
│ ann_K: dataclass aido_schemas.schemas.PWMCommands
│ field motor_left : float
│ field motor_right : float
│ K_name: `Duckiebot1Commands`
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "experiment_manager.py", line 299, in run_episode
r: MsgReceived = agent.write_topic_and_expect('get_commands', expect='commands')
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 96, in write_topic_and_expect
ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 215, in read_one
data = object_from_ipce(msg[FIELD_DATA], klass)
File "/usr/local/lib/python3.7/site-packages/zuper_ipce/conv_object_from_ipce.py", line 85, in object_from_ipce
raise ZValueError(msg, expect_type=expect_type) from e
zuper_typing.exceptions.ZValueError: Cannot deserialize object
│ expect_type: dataclass aido_schemas.schemas.Duckiebot1Commands
│ field wheels : dataclass aido_schemas.schemas.PWMCommands
│ field motor_left : float
│ field motor_right : float
│ field LEDS : dataclass aido_schemas.schemas.LEDSCommands
│ field center : dataclass aido_schemas.schemas.RGB
│ field r : float
│ field g : float
│ field b : float
│ field front_left : dataclass aido_schemas.schemas.RGB
│ field r : float
│ field g : float
│ field b : float
│ field front_right : dataclass aido_schemas.schemas.RGB
│ field r : float
│ field g : float
│ field b : float
│ field back_left : dataclass aido_schemas.schemas.RGB
│ field r : float
│ field g : float
│ field b : float
│ field back_right : dataclass aido_schemas.schemas.RGB
│ field r : float
│ field g : float
│ field b : float
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/duckietown_challenges/cie_concrete.py", line 675, in scoring_context
yield cie
File "experiment_manager.py", line 444, in <module>
wrap(cie)
File "experiment_manager.py", line 432, in wrap
main(cie, logdir, attempts)
File "experiment_manager.py", line 136, in main
physics_dt=config.physics_dt)
File "experiment_manager.py", line 303, in run_episode
raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Trouble with communication to the agent.
|