Skip to content

Commit

Permalink
MCS-2010 Added an integration test to ensure the soccer ball obstruct…
Browse files Browse the repository at this point in the history
…s the tool during a RotateObject.
  • Loading branch information
ThomasSchellenbergNextCentury committed Dec 11, 2023
1 parent cfa5ea5 commit ccc049f
Show file tree
Hide file tree
Showing 5 changed files with 903 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RotateObject,clockwise=False,objectId=tool
RotateObject,clockwise=False,objectId=tool
RotateObject,clockwise=False,objectId=tool
RotateObject,clockwise=True,objectId=tool
RotateObject,clockwise=False,objectId=tool
RotateObject,clockwise=False,objectId=tool
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 0,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 1,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 2,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 3,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 4,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 5,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 6,
"structural_objects_count": 0
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 0,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 1,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 2,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 3,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 4,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"rotation_y": null,
"step_number": 5,
"structural_objects_count": 0
},
{
"head_tilt": 10,
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "OBSTRUCTED",
"rotation_y": null,
"step_number": 6,
"structural_objects_count": 0
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
[
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 0.0,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "SUCCESSFUL",
"rotation_y": 0.0,
"step_number": 0,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 355,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "SUCCESSFUL",
"rotation_y": 0.0,
"step_number": 1,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 355,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "OBSTRUCTED",
"rotation_y": 0.0,
"step_number": 2,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 355,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "OBSTRUCTED",
"rotation_y": 0.0,
"step_number": 3,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 0.0,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "SUCCESSFUL",
"rotation_y": 0.0,
"step_number": 4,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 355,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "SUCCESSFUL",
"rotation_y": 0.0,
"step_number": 5,
"structural_objects_count": 5
},
{
"head_tilt": 10,
"objects": [
{
"id": "target_soccer_ball",
"mass": 2.0,
"position_x": 0.0,
"position_z": 10.0,
"rotation_y": 0.0,
"shape": "ball"
},
{
"id": "tool",
"mass": 6.0,
"position_x": 0.0,
"position_z": 7.4,
"rotation_y": 355,
"shape": "tool"
}
],
"objects_count": 2,
"position_x": 0.0,
"position_z": 7.0,
"return_status": "OBSTRUCTED",
"rotation_y": 0.0,
"step_number": 6,
"structural_objects_count": 5
}
]
Loading

0 comments on commit ccc049f

Please sign in to comment.