Escolar Documentos
Profissional Documentos
Cultura Documentos
PAPAYAS
DOOLITTLE INSTITUTES MINI-URBAN CHALLENGE 2014
Team
Robot Design and Programing! Jacob Glueck! Rushad Antia! Stephen Xu
Team
Route Generator Programming! Alex Dano"! Mathematician! Paul Neves
Pathnder
Generates the shortest path which goes through multiple destinations! A traveling salesman problem
Pathnder
Algorithm: brute force! Start a single robot in the staring parking space! Make it follow the road! Every time a simulated robot reaches an intersection, split it into two robots! The program is threaded to make full use of a multi-core computer
Pathnder
Enter the necessary waypoints delimited by spaces: L01A L02A L03A L04A L05A L06A! Total Distance: 392.0! Route: [L00A, I00, I01, L01A, L01B, L01C, L01D, I02, I03, I04, I30, I29, I28, I31, I38, I41, L05A, L05B, L05C, I42, I43, L06A, L06B, L06C, I48, I46, I42, I39, I33, I29, I28, I27, I14, I15, I16, I19, L02A, L02B, L02C, I21, L04A, L04B, L04C, I22, I25, I26, L03A, L03B, L03C, I23, I30, I29, I28, I27, I14, I15, L00A]
Pathnder: Challenges
How to actually write the program.! We couldnt run it well on the school computers on one thread.
Robot Design
Designed in Lego Digital Designer (LDD)! Originally modeled after a shopping cart! Has motile sensors which can see the lines bordering the road and can move to see the lines which divide the parking spots
LDD DESIGN
REAR VIEW
LDD DESIGN
FRONT VIEW
Robot Design
Features:! Custom button pusher! Rear wheel drive ! 4 color sensors
BUTTON PUSHER
DATA INPUT
Uses four color sensors to determine the exact position of the line
SENSORS: CENTERED
PID line following! Proportional to the error! Integral accumulated error! Derivative trend of error
}
L
Robot: Challenges
Many null pointer exceptions! Created method stubs which returned null and never implemented them! Data read-in problem! Using negative array indices which causes data aborts! Calibrating the PID controller and getting proper color values