This project is undertaken to fulfill the requirements for the Robotics Experiment 2 course.
This robot utilizes 4 mechanum DC motors, equipped with a dynamixel servo lifter and line sensors tcrt5000 module. The robot is capable of following line patterns with customizable commands according to desired conditions.
servoAngkut(dtime)
servoTaruh(dtime)
servoReset(dtime)
motorDrivePID(speedL, speedR)
move(speedFL, speedFR, speedRL, speedRR)
StopMotors()
autolinefollow(duration, dbreaktime)
line(desiredMode, desiredSpeed, dbreaktime)
turn(action)
findline(speedL, speedR, dbreaktime)
dnext()
spinheading(sudut)
linedelay(speed, dtime, dbreaktime)
linefoll()
lineIntersect(n)
FWD(distanceCM, speed)
BWD(distanceCM, speed)
R(distanceCM, speed)
L(distanceCM, speed)
FWD_XR(distanceCM, speed)
FWD_XL(distanceCM, speed)
BWD_XR(distanceCM, speed)
BWD_XL(distanceCM, speed)
TR(distanceCM=25, speed=200)
TL(distanceCM=25, speed=200)
The attached project rules can be found at the following link: [https://github.com/alieffsl/Robotics-Lab-II-Line-Following/blob/main/Project%20Rules/README.md]