Skip to content

Commit

Permalink
added rules
Browse files Browse the repository at this point in the history
  • Loading branch information
adamek727 committed Jan 5, 2025
1 parent 71ff265 commit dd6f14a
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 5 deletions.
23 changes: 22 additions & 1 deletion src/1_labs/text/12_lab.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
# Lab 12 - Exam (Corridor Following)
# Lab 8 - Midterm Test (Corridor Following)

Up to 50 points can be earned through two practical demonstrations of task solutions during the semester.

8th week - Line Following (25 points)

12th week - Corridor Following (25 points)

## Corridor Following Rules

There are 3 tracks:
- Straight Corridor (5 points)
- Simple Loop (10 points)
- Complex Loop (10 points)

All tracks are in rectangular grid of 40x40cm

Full points are awarded only for completing the entire track.

Teams have 3 attempts per track, with a time limit of 3 minutes per attempt.

All 3 attempts have to be performed during a single lab.

## Test Tracks

Expand Down
34 changes: 32 additions & 2 deletions src/1_labs/text/13_exam.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Exam 13 - Maze Escape
# Final Exam - Maze Escape

The final exam is organized as a competition. Each team has 3 attempts to escape the maze with their robot, using the robot's full sensor capabilities. The score for the exam is based on the best of the three attempts.
- The robot starts inside the maze, randomly placed within a 2x2 cell area.
- There is always only one escape path from the maze.
- The maze contains no loops.

In total for final exam the team can earn up to 50 points
- Maze escape up to 40 points
- Git and project documentation quality up to 10 points

## Attempt Rules

- Teams have at least 45 minutes between attempts to modify their program.
- The code used during the competition must be uploaded to Git by 11:59 PM on the same day.
- The competition code must not contain specific information about the maze (e.g., paths, minotaur locations). Pre-known information, such as cell size, may be included.

- There are 3 randomly placed minotaurs and 1 treasure.
- Each encounter with a minotaur results in a 30-second penalty.
- Finding the treasure reduces the final time by 1 minute.

- The maze consists of 8x8 cells, with each cell measuring 40x40 cm. Black lines on the floor mark the boundaries between cells.
- ArUco tags will be placed on the maze ground, providing hints about the escape route, the presence of minotaurs, or the path to the treasure.
- The formula for calculating the score is: `y=min(max(kx+q),0,40)`

## Maze Visualization

![Maze](../images/maze.png)
Example of possible maze.
- Walls - red lines
- Escape path - green line
- Start - green cell
- Treasure (bonus) - blue cell
- Minotaur (penalty) - red cell

![Maze](../images/maze.png)
23 changes: 21 additions & 2 deletions src/1_labs/text/8_lab.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Lab 8 - Exam (Line Following)
# Lab 8 - Midterm Test (Line Following)

Lorem ipsum
Up to 50 points can be earned through two practical demonstrations of task solutions during the semester.

8th week - Line Following (25 points)

12th week - Corridor Following (25 points)

## Line Following Rules

There are 3 tracks:
- Straight Line (5 points)
- Simple Loop (10 points)
- Complex Loop (10 points)

All tracks are in rectangular grid of 40x40cm

Full points are awarded only for completing the entire track.

Teams have 3 attempts per track, with a time limit of 3 minutes per attempt.

All 3 attempts have to be performed during a single lab.

## Test Tracks

Expand Down

0 comments on commit dd6f14a

Please sign in to comment.