After getting through all that training, it's finally time to get back to work on the VEX robot!
Except that my laptop decided to be a jerk and not allow me to install the drivers...

After a lot of wasted time I finally got switched over to class computer! Woohoo! Oh and I got a battery pack (the other one wasn't necessary)!
Today's challenge is a bit of a toughie, it's to go through this tape maze by programming the VEX bot to power either side-motor. This will dictate whether the robot is propelled forward, turns wide, or sharply shifts itself in place.
The only things to keep in mind are the distance between each move in the program. Or rather, how long we should have the motors on for...
This first leg of the maze is long, so there's that to keep in mind...
Then there's the turn and longer leg, turn, short forward, turn, 2nd short, turn, and then short to the finish.
After a bit of just field testing what the distances were, this was the result:
Alright! Next up is doing the maze with the encoders. To keep this short, it's basically a sensor that is utilized in such a clever way that it reads the amount of times the axle spins. This can, in turn be used to measure wheel spinning and thus, distance.
Now let's see what the maze is like after only 2 trials! I couldn't quite get the robot to stick to a straight line, but it made the maze just fine! (There was a better run than this one that I didn't catch on tape, honest!)
Now that we've got that, we can begin to make the VEX move at a more precise pace!
No comments:
Post a Comment