Skip to content

This is the Github Repository to software of IDP team L104, which was developed between Lent Week 1 to Lent Week 4, 2024.

Notifications You must be signed in to change notification settings

harryeqs/IDP-L104

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDP-L104

This is the Github Repository to software of IDP team L104, which was developed between Lent Week 1 to Lent Week 4, 2024.

System Diagram

image
Figure 1: Connection between the Arduino and the sensors.

image
Figure 2: The ToF and Ultrasound sensors are placed in the front of the AGV for block and platform detection.

image
Figure 3: Position of line sensors viewed from bottom of the AGV. The front and back sensors are placed along the centre line of the AGV and the left and right sensors are placed along the axis of the wheels.

Code Structure

The code is composed of the following files:
main.ino: The main Arduino program uploaded in the final competition
BlockDetection.cpp and BlockDetection.h: Includes functions for block identification.
LEDControl.cpp and LEDControl.h: Includes functions for flashing the blue LED.
LineSensorCombinations.cpp and LineSensorCombinations.h: Includes all the possible line sensor combinations.
motorControl.cpp and motorControl.h: Includes functions that controls the motors for wheels, the lifting mechanism, and the servo for the claw.
Pathfinding.cpp and Pathfinding.h: Includes functions for following the assigned paths, finding the block, and finding the platform, as well as basic controls for the industrial zone.

Alogorithm flowchart

image

About

This is the Github Repository to software of IDP team L104, which was developed between Lent Week 1 to Lent Week 4, 2024.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published