Skip to content

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sessions

  • Thu 2: Introductory Lecture
  • Thu 2: Project Management
  • Mon 6: Teamwork Lecture
  • Tue 7: Progress Meeting
  • Wed 8: Session
  • Thu 9: Session
  • Mon 13: Session
  • Tue 14: Progress Meeting + PEER ASSESMENT
  • Wed 15: Session
  • Thu 16: Session
  • Mon 20: Session
  • Tue 21: Progress Meeting + PRESENTATION 1
  • Wed 22: Session
  • Thu 23: IDP COMPETITION 1
  • Mon 27: Session
  • Tue 28: Progress Meeting + PRESENTATION 2
  • Wed 29: COMPETITION 2

Links

Values for motors

Description Symbol Value
Radius of the wheels $r_W$ $3.5cm$
Distance between the wheels (width of axle) $D_W$ $23cm$
Distance from the line sensor to the axle $a_L$ $??$
Distance between line sensors on the axle $a_A$ $??$
Motor frequency $f_M$ $? RPM = ? Hz$
Velocity when moving forward $u$ $2\pi f_M r_W$
Angular velocity when rotating $\omega$ $2 \pi f_M r_W / D_W$
Delay needed per unit distance moved $1/u$ $? ms/m$
Delay needed per degree rotated $1/\omega$ $? ms/\degree$

First Algorithm

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.

  1. We exit going forward until we reach the white line. (P1 -> P2)
  2. We follow the line until P3. (P2 -> P3)
  3. 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.
  4. When we detect a cube, we light up the LEDs based on the magnetic sensor.
  5. We push it until the axle reaches the junction point. We rotate by 180 deg.
  6. We go down the same path with the cube in front. We use the same algorithm as in steps 1-3. (CUBE->P1)
  7. 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.
  8. We go back to the initial station. We rotate to the initial state.
  9. We repeat this whole process again.

Ideas

  • ???

About

IDP

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages