Thu 2: Introductory LectureThu 2: Project ManagementMon 6: Teamwork LectureTue 7: Progress MeetingWed 8: SessionThu 9: SessionMon 13: SessionTue 14: Progress Meeting + PEER ASSESMENTWed 15: SessionThu 16: SessionMon 20: SessionTue 21: Progress Meeting + PRESENTATION 1Wed 22: SessionThu 23: IDP COMPETITION 1Mon 27: Session- Tue 28: Progress Meeting + PRESENTATION 2
- Wed 29: COMPETITION 2
- Google Drive: https://drive.google.com/drive/folders/1ARmU0Phr4KM0iht5VVzTSHMOpqvWqKKI?usp=sharing
- Moodle: https://www.vle.cam.ac.uk/course/view.php?id=163282
- Spotify: https://open.spotify.com/playlist/7319K8yNM7Xe6g0ajQ0TMM?si=jNb81WRST5qzq9ByQZrZsg&pt=36b66da757990dbd584ce3efc22457c7
Description | Symbol | Value |
---|---|---|
Radius of the wheels | ||
Distance between the wheels (width of axle) | ||
Distance from the line sensor to the axle | ||
Distance between line sensors on the axle | ||
Motor frequency | ||
Velocity when moving forward | ||
Angular velocity when rotating | ||
Delay needed per unit distance moved | ||
Delay needed per degree rotated |
We don't use this.
We number the points. Point 1 is at the inital position. Point 2 is where the car will first reach the white line when moving forwoard from ttghe initiasl position. From there points are numbered from number 3 to 12 in a clockwise fashion.
- We exit going forward until we reach the white line. (P1 -> P2)
- We follow the line until P3. (P2 -> P3)
- We check every point in a clockwise order:
- 3.1. We use the line following algorithm to keep the robot on the line.
- 3.2. When the 2 sideways sensors detect a junction, we check if it matches the correct junction at that point. If we need to rotate (for example if we are at P3, P5 or P6), we rotate first.
- When we detect a cube, we light up the LEDs based on the magnetic sensor.
- We push it until the axle reaches the junction point. We rotate by 180 deg.
- We go down the same path with the cube in front. We use the same algorithm as in steps 1-3. (CUBE->P1)
- Once we reach point 1, we rotate by +- 90 deg, depending on the color of the block. We move forward by the distance between the two stations.
- We go back to the initial station. We rotate to the initial state.
- We repeat this whole process again.
- ???