The Jedi
Project Management:
Green:Daniela Red:Brittany
<<<<<<<
- I had a small issue with procrastination. I didn't realize quite how many errors I was going to run into and didn't allote enough time to fix these errors. This resulted in several nights with no sleep and of being bond to the robotics lab for hours. If I were to redo this project I would at least attempt the coding earlier to see what I had in store for me, instead of jumping into the project blind. As for my partner and I, I think that we did a good job of supporting eachother and evenly dividing the tasks. One coordination problem I ran into was actually combining the two codes, towards the end of the project we learned that by making function, it is much easier to combine two codes.
=======
- Most of the Programming was done seperately and we have stayed after school so that we could help eachother, experiment with our robot, and put code together.
>>>>>>>
Results:
- Egg Hunt code was done for the most part with the exception of the "find the light" function.
- Light sensors were capable of determining ball color and arm was sucessful in capturing ball.
- My robot ended up working at the very last moment. I was able to succesfully find and capture the egg.
- Unfortunately, Daniella and I could not compete in the egg hunt, however, we missed out on a great activity and can assure everyone out there that next time Artoo will be powered up, perfected, and running weeks before the deadline date.
Lessons Learned:
- It is necessary to first adjust the servos and double check that they are in the correct location
- Programming is very time consuming and VERY unpredictable.
- I learned how to use servos.
- The importance of time management.
- How to use a stopwatch to control time.
- The types of caffeine that can keep me up and concentrated (I personally prefer coffee to energy drinks)
Stregic Plan:
- At the start of the code there will be one button for a blue ball and one for a yellow ball to determine the task.
- Our robot, Artoo will be able to sense the location of the goal through the use of light sensors and the coding from lab 5.
- Artoo will function similar to wimp mode and move away from a bump however will not stop undtil a cliff has been sensed.
- When Artoo will find goal when it senses a very bright light.
- When a cliff is sensed, the servo motor will be cued to drop the egg.
- The code will stop running after two minute and will restart-it will wait for a button to be pressed for a certain color
Action Plan:
| Task
| Description
| Who
| Completed?
|
| Navigate Field Safely
| Use wimp-mode-like feature for manuvering around the field, with some variations (explained above)
| Both
| yes
|
| Find goal
| Use light sensors to find the direction while rotating and traveling in that direction
| Daniela
| no
|
| Drop Egg into goal
| Wait until the cliff sensor reads "1" to move the servo and drop the egg
| Daniela
| Yes
|
| Be able to find balls & trap them
| Find the different sensor values, for when a light sensors detects a yellow or blue egg. Use these sensor values to make the robot stop, activate the servos and capture the egg, and then proceed when it detects otherwise. Repeat.
| Brittany
| yes
|
| Stop Opperating after two minitues && Buttons
| Artoo will reenter main loop to wait for button to be pressed to continue another two minutes
| Daniela
| yes
|
| Initial movement
| Create goes to center of table and prepares for finding egg
| Daniela
| yes
|
| Define User Interface
| Artoo will show leds and beep to determine what part of the code he is in.
| Both
| yes
|
| Build Hardware
| Robot Arm & "V shaped holder"
| holder-B Arm-D
| yes
|
Daniela's Weekly Progress Reports
Daniela's Accomplishments for the week Jan 4
- Planning stage is now over,Basic light following code is ready. Now I need to edit the code in the loop where the create rotates to determine the highest value so that it works properly.
- For next week I plan to fixing this problem as well as expermenting with the servo motors. Also for next week Brittany and I will test different methods the servos can be used.
Daniela's Accomplishments for the week of Jan 11
- Light following needs to be edited so that the create can only be photophillic.
- Expermentation with servo motors- Brittany and I now know exactly how we are going to capture the eggs, using the removeable back piece of the create.
- For next week, I plan on finnishing Egg Hunt.
Brittany's Weekly Progress Reports
Week of January 4th
- Daniela and I worked out the bugs in our team "egg hunt" plan
- I figured out the values for the yellow/blue balls according to the photo sensors
- I worked on my wall fallowing code, so that we can implement it into our team code
- I reviewed the wimp mode code so we could possibly utilize that in our egg-hunting attack
- I have spent about 5 hours this week outside of class
Week of January 11th
- I have finished up my wall following code, I just need to tweak couple things (notabbly the bump switch)
- Daniella and I have figured out the plan to use wimp mode as a search pattern through-out the hunt. This week we have looked at the code and noted where the adjustments will need to be made to the wimp code to satisfy the requirements of the hunt.
- We have also spent this week testing the servo motors and its capabilities, we have made several different lego creations, and we are in the process of deciding which one will most effectively aid us as we venture out to capture eggs.
- I have spent at least 8.5 hours on robotics outside of class this week
Class Work
January 3rd
- Edit team plan
- Determine sensor readings for yellow and blue eggs
- Yellow Left: 510+ Right: Greater than 620
- Blue Left: 300 to 450 Right: greater than 500
- Room lighting Left:700 to 790 Right: 700 to 790
- Photosensors modified