Duckietown Challenges Home Challenges Submissions

Submission 27935

Submission27935
Competingyes
Challengelx22-collision-check-vali
Useruser9209
Date submitted
Last status update
Completecomplete
DetailsEvaluation is complete.
Sisters
Result💔
Jobsstep1: 191755
Next
User labelcollision-check-exercise
Admin priority50
Blessingn/a
User priority50

Evaluation jobs for this submission

See previous jobs for previous versions of challenges
Job IDstepstatusup to datedate starteddate completeddurationmessage
191755step1failedyes0:00:48
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_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/collision-detection/packages/collision_checker/collision_checker.py", line 30, in on_received_query
                 ||     collided = check_collision(
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 51, in check_collision
                 ||     collided = check_collision_list(rototranslated_robot, environment)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 62, in check_collision_list
                 ||     if check_collision_shape(robot, envObject):
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 74, in check_collision_shape
                 ||     return rectangle_circle_collision(a, b)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 137, in rectangle_circle_collision
                 ||     vertices = get_rectangle_vertices(rect)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 94, in get_rectangle_vertices
                 ||     theta = math.radians(rect.pose.theta)  # Convert degrees to radians
                 || NameError: name 'math' is not defined
                 ||

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_collision/collision_checker.py", line 107, in collision_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
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.
No reset possible
191754step1failedyes0:00:49
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_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/collision-detection/packages/collision_checker/collision_checker.py", line 30, in on_received_query
                 ||     collided = check_collision(
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 51, in check_collision
                 ||     collided = check_collision_list(rototranslated_robot, environment)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 62, in check_collision_list
                 ||     if check_collision_shape(robot, envObject):
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 74, in check_collision_shape
                 ||     return rectangle_circle_collision(a, b)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 137, in rectangle_circle_collision
                 ||     vertices = get_rectangle_vertices(rect)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 94, in get_rectangle_vertices
                 ||     theta = math.radians(rect.pose.theta)  # Convert degrees to radians
                 || NameError: name 'math' is not defined
                 ||

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_collision/collision_checker.py", line 107, in collision_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
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.
No reset possible
191753step1failedyes0:01:11
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_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/collision-detection/packages/collision_checker/collision_checker.py", line 30, in on_received_query
                 ||     collided = check_collision(
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 51, in check_collision
                 ||     collided = check_collision_list(rototranslated_robot, environment)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 62, in check_collision_list
                 ||     if check_collision_shape(robot, envObject):
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 74, in check_collision_shape
                 ||     return rectangle_circle_collision(a, b)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 137, in rectangle_circle_collision
                 ||     vertices = get_rectangle_vertices(rect)
                 ||   File "/code/catkin_ws/src/collision-detection/packages/collision_checker/collision_checker.py", line 94, in get_rectangle_vertices
                 ||     theta = math.radians(rect.pose.theta)  # Convert degrees to radians
                 || NameError: name 'math' is not defined
                 ||

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_collision/collision_checker.py", line 107, in collision_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
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.
No reset possible