|
THS
|
Robots /
LisaBJonEGDiscussionPageThere should be a way to choose which color the robot will be following. Maybe a toggle switch or something that will switch between yellow and blue. What should we name the team? Jon's Team the teams team team rocket eggsecute Im just reminding you that it will be much easier to trouble shoot if you know where theres a bug. I find the cricket display especially helpful. i have an idea... instead of picking the egg up and manually driving it to the net, what if we could "shoot" the ball into the net from a distance. I was thinking about attaching something to the create and having it spin as fast as it can to hit the ball. we can activate and deactivate the shooting mode by hooking the device onto a servo (we could get it 90 degrees in air if we dont need it.) -jon how are you doing with your random movement code(this should only take a few minutes) -jon we need to come up with some way of detecting the eggs when the robot moves by them so my shooting program can initialize! -jon ok lisa, we need a better method of communication. Whats your im. mines jhoh10. We need to really get going on this lab. I've put in alot of work at umass lowell this weekend getting the physical contraptions assembled. I need some ideas about how the robot will sense the eggs around it. Once we find the eggs i can do everything from there. So you need to basically locate the eggs, and determine when and where the eggs are around it. You can use the rig that i assembled to put on light or distance sensors whatever you need. Just make sure the robot knows where the eggs are. Look at my pictures under my egg hunt in my student name and try to get some ideas. I cant do this lab all by myself! -Jon Heres what i think we should do for movement. I wanted the robot to lock on and go towards the egg, but since you cant do that we will move randomly. heres an example... (rand() % 12 * 100) this means that the robot generates a random number % 12 means that there are 12 sides to a dice that it rolls...x100 is the value for each side of the "dice". So the create will generate random number between 1 and 12 and then multiply it by 100 to get a random number between 100 and 1200. ( by 100s) you could also do (rand() % 1200) to get a random number from 1 to 1200, by ones, but it might take longer to compute. -Jon Your responsibility is to search around and find the egg, and rotate the ball/robot so that the ball is within shooting capabiliities. My responsibility is to take the ball which should be next to the robot, and shoot the ball into the goal. agreed? btw fill up the chart i made some changes. I can't seem to get my aim to work under my name... if I do, it's kitsuneluvuh (LBaumoel)... otherwise I'll try using my dad's; mitchab55. -_- -Lisa ok. how are you going to get the robot to stop at each ball, and get it into position to be moved by the shooting attachment? -jon distance sensors. I'd have to see the set up to figure out how the robot will move exactly, though. And I'm having a little trouble determining light and distance values for the eggs. -_- I am such a computer failure... Okay... I disabled one of the sensors and removed it from the program. The cricket display worked fine for longer than it had been, and then it started going haywire again. I'm about to try disabling the others... Okay, the fewer sensors enabled, the better the cricket works. It's still not perfect, though... I think I'll just try to fix up the code sending the values to realterm. Oh, and I am getting distinct values for the floor vs the egg. I think we might be able to iron out all the sensor bugs by tomorrow, definitely. Okay, I have my wall values for the robot. It's 4:41, and I'm going to leave at 5, 5:30 at the latest, and I'm taking the bot with me, alright? If you have any code you need to test, I'll be on IM, and you can just send it to me and I'll mssge you the results. k? |