Wednesday, June 5, 2013
Week 10
Robot is complete! Here are some videos of it in action.
Saturday, June 1, 2013
Week 9
YAY! Search algorithm issues have been resolved. After several weeks of tweaking this part of the code for the robot we've finally got it acting in a manner that we'd like. The issue before is that the robot would sweep past the target several times before noticing it there or it would notice the target and when approaching the target the angle wouldn't be good and the robot would then miss the target and go back to searching again.
The Fix:
A piece of code was inserted that had the robot sweep the the right until it noticed and object and then to continue sweeping until no more object was found. A beep would then sound to indicate that the robot found the right most edge of the object. The robot would then begin to sweep in the opposite direction until it past the object and would sound a beep indicating it has located the left most edge of the target.
Now the robot would take that distance, divide by 2 and move that number back to the right. This positioned the robot nearly centered to object every time and then the robot would approach the object without missing it, perform a function as desired depending on the type of target and then continue its way throughout the building.
Now that we've got this underway the robot is complete and ready for presentation!
The Fix:
A piece of code was inserted that had the robot sweep the the right until it noticed and object and then to continue sweeping until no more object was found. A beep would then sound to indicate that the robot found the right most edge of the object. The robot would then begin to sweep in the opposite direction until it past the object and would sound a beep indicating it has located the left most edge of the target.
Now the robot would take that distance, divide by 2 and move that number back to the right. This positioned the robot nearly centered to object every time and then the robot would approach the object without missing it, perform a function as desired depending on the type of target and then continue its way throughout the building.
Now that we've got this underway the robot is complete and ready for presentation!
Week 8
New targets have been constructed to aid the robot in locating the targets better. A small target was taking to long to locate and the robot would sweep past it several times before noticing it was there.
The new targets are larger squares that were marked with different colors so the robot can determine which target is which and take the correct actions.
As mentioned last week our robot's search code is still not where we'd like it to be. While the robot can perform the functions intended inside the room it isn't performing as well as we'd like. The code for this area still needs some work and it is the only thing left for the completion of this project.
Over the next week we hope to have the rest of the bugs worked out of this part of the code and be ready for presentation!
The new targets are larger squares that were marked with different colors so the robot can determine which target is which and take the correct actions.
As mentioned last week our robot's search code is still not where we'd like it to be. While the robot can perform the functions intended inside the room it isn't performing as well as we'd like. The code for this area still needs some work and it is the only thing left for the completion of this project.
Over the next week we hope to have the rest of the bugs worked out of this part of the code and be ready for presentation!
Week 7
We've been running into issues with our code as of late and haven't quite been able to get the robot to react as intended once inside a room. From the testing we've done we have decided to make the target the robot is looking for bigger to help with this issue.
So far we've got the code pretty solid for navigating to the room and to begin the search algorithm. Once the robot gets in the room it takes far to long to locate and object, the search pattern is incredibly inefficient and we're working on bringing that up to speed.
The good new is that we have some ideas on how to fix it and will be trying out 2 different algorithms in the next coming weeks and see how that affects the robots performance.
So far we've got the code pretty solid for navigating to the room and to begin the search algorithm. Once the robot gets in the room it takes far to long to locate and object, the search pattern is incredibly inefficient and we're working on bringing that up to speed.
The good new is that we have some ideas on how to fix it and will be trying out 2 different algorithms in the next coming weeks and see how that affects the robots performance.
Friday, May 10, 2013
Week 6
With the robot programming underway and working pretty well, we needed to being construction of the building so that we can begin running more in-depth tests with the robot.
We began by cutting two pieces of wood into 4 quadrants that will act as the floor of the building and then began cutting foam board and using hot glue to attack the foam board to the wood floors. The foam board will be the walls of the building.
We used a thinner foam board for the perimeter walls and a thicker foam board for inner walls. With just hot glue, we were quite surprised how solid the construction felt and will continue this process an have the full floor plan laid out by the end of this weekend.
We also are expecting to at the very least have the robot enter one room and perform its search function to locate, identify, and either download/subdue the target. Once this is complete its just a matter of extending the program so that the robot will continue to the other rooms in the building and perform the same function.
We are expecting a well rehearsed prototype to show off by our next class.
We began by cutting two pieces of wood into 4 quadrants that will act as the floor of the building and then began cutting foam board and using hot glue to attack the foam board to the wood floors. The foam board will be the walls of the building.
We used a thinner foam board for the perimeter walls and a thicker foam board for inner walls. With just hot glue, we were quite surprised how solid the construction felt and will continue this process an have the full floor plan laid out by the end of this weekend.
We also are expecting to at the very least have the robot enter one room and perform its search function to locate, identify, and either download/subdue the target. Once this is complete its just a matter of extending the program so that the robot will continue to the other rooms in the building and perform the same function.
We are expecting a well rehearsed prototype to show off by our next class.
Week 5
Week 5 was a successful week working on the program of the robot. The line follow algorithm was already working well but we needed to integrate other functions into the program so that the robot could do more than just follow a line.
After a few iterations, we've got the robot able to follow a line into a room. Once in the room, the robot will begin to search for an object, find said object, and then identify the object. If the object is the intel (marked by something blue) the robot will then begin to "download" the information. If the object is hostile (marked by a red object) the robot will whack it with a hammer.
This set of functions is up and running pretty well as of now. We also discussed ways of having the robot find its way back to the line so that it can follow it onward into the other rooms. We're going to have the robot locate a wall in the room and begin following this wall until it finds the entrance to the room, where the line will be, and then get back on track with the line.
After a few iterations, we've got the robot able to follow a line into a room. Once in the room, the robot will begin to search for an object, find said object, and then identify the object. If the object is the intel (marked by something blue) the robot will then begin to "download" the information. If the object is hostile (marked by a red object) the robot will whack it with a hammer.
This set of functions is up and running pretty well as of now. We also discussed ways of having the robot find its way back to the line so that it can follow it onward into the other rooms. We're going to have the robot locate a wall in the room and begin following this wall until it finds the entrance to the room, where the line will be, and then get back on track with the line.
Saturday, April 27, 2013
Week 4
With the physical design completed, its time to turn to the programming of the robot. This is the more difficult task of the project. The robot will be performing several functions and the program needs to be written so that each function can execute without interfering with other functions.
So far the team is on schedule with the project and barring any setbacks should complete the project with all desired functions on time.
Week 3
Week 3 has come and gone and the final design for the SpyBot is complete. A few changes were made to the way we wanted to robot to perform its functions and this affected our overall design. We've decided that instead of physically extracting the sensitive information discovered while exploring the building, the SpyBot will now "download" the information. Upon locating a target, the robot will determine if the target is hostile or a piece of information relative to the mission. Hostile targets will be subdued with a hammer like weapon and sensitive information will be downloaded for retrieval at the extraction point.
In order to do this the physical design was simplified by only utilizing 1 NXT Brick to perform all functions.
In order to do this the physical design was simplified by only utilizing 1 NXT Brick to perform all functions.
Monday, April 15, 2013
Week 2
For the start of week 2 we submitted our design proposal which can be viewed by clicking on the design proposal button in the nav bar above this post.
Now it's time to get started on the fun stuff! Robot building time!! We received our two Lego NXT kits and began working on our physical design. Before diving too deep into building a robot we really had to think about what we wanted our robot to do and how we wanted it do that.
Ultrasonic Sensor: This sensor will send out an ultrasonic pulse that will bounce off of objects in front of the robot and return to the robot. This will allow the robot to know when there is an obstacle or wall in front of it. This will be useful for navigating around the building floor plan.
Color Sensor: Each main room in the building will have a different color; red, blue, green, yellow. The robot will utilize a color sensor to determine which room it is in and to know if it has already explored that room.
Light Sensor: This sensor will be used to help the robot find its way back out of the building. At the entrance to the building will be a stationary light. The robot will then use a combination of the light sensor and ultrasonic sensor to make its way back out of the building once the mission is complete.
Motor Usage: Two motors will be used for navigation to control each wheel independently. Independent wheel operation is key to having the robot be able to perform zero point turns in order to navigate the building more efficiently.
Color Sensor: A second color sensor will be used to determine if an object is to be either collected for extraction or destroyed on site.
Motor Usage. Two additional motors will be used here to control the collection and elimination mechanisms.
The preliminary robot design is still under construction. Expect some media (photos/video) once completed.
Now it's time to get started on the fun stuff! Robot building time!! We received our two Lego NXT kits and began working on our physical design. Before diving too deep into building a robot we really had to think about what we wanted our robot to do and how we wanted it do that.
Navigation:
We'll be using two Lego NXT bricks to build this robot. A single brick wouldn't offer enough sensor/motor inputs to accomplish everything we want this robot to do. One of these bricks will be utilized strictly for navigation purposes and will utilize the following sensors:Ultrasonic Sensor: This sensor will send out an ultrasonic pulse that will bounce off of objects in front of the robot and return to the robot. This will allow the robot to know when there is an obstacle or wall in front of it. This will be useful for navigating around the building floor plan.
Color Sensor: Each main room in the building will have a different color; red, blue, green, yellow. The robot will utilize a color sensor to determine which room it is in and to know if it has already explored that room.
Light Sensor: This sensor will be used to help the robot find its way back out of the building. At the entrance to the building will be a stationary light. The robot will then use a combination of the light sensor and ultrasonic sensor to make its way back out of the building once the mission is complete.
Motor Usage: Two motors will be used for navigation to control each wheel independently. Independent wheel operation is key to having the robot be able to perform zero point turns in order to navigate the building more efficiently.
Collection and Elimination:
The second Lego NXT Brick will be used to control the collection and elimination mechanisms on board the robot and will make use of some additional sensors and motors to help with these tasks.Color Sensor: A second color sensor will be used to determine if an object is to be either collected for extraction or destroyed on site.
Motor Usage. Two additional motors will be used here to control the collection and elimination mechanisms.
Now for the hands on!
Once we had a general idea of how the robot was to function while inside the building we had to start assembling the robot. We needed to make use of two Lego NXT bricks while being conscious of it's dimensions Too wide and the robot would have a difficult time navigating the halls and rooms of the building.The preliminary robot design is still under construction. Expect some media (photos/video) once completed.
Sunday, April 7, 2013
Week 1
Project Decision
First order of business in week 1 was to form our group and determine what project we were going to develop over the course of the next 10 weeks. We debated about different ideas we could incorporate into the development of the robot and a common theme of "shoot something" was tossed around. This lead to the decision to create a SpyBot.
We want to create a robot that is able to navigate a building and locate sensitive information. When it finds this information it will pick it up to bring back to the extraction point. During the robot's time navigating the building and locating this information, it is quite likely to rouse some suspension. When the robot encounters and identifies hostile targets, it will then eliminate these targets.
The overall function of our robot is to search a building for sensitive information and eliminate hostile targets along the way. In an order to do this, we had to split our team up and assign certain aspects of the overall project so that we could accomplish many things at once. Two people were tasked with designing and eventually creating the floor plan for the building that will be navigated through and the remaining three team members will be working on the development of the SpyBot.
The SpyBot is going to require an appropriate design that allows it to navigate the halls and rooms of the building quickly, being able enter doorways and avoid obstacles and running into walls. It will also need a method for detecting the sensitive information and then acquiring this information. The SpyBot will also need a way to identify hostile targets and have a means of eliminating them.
Project Assignments: Building Floor Plan Team
The building floor plan team is comprised of Joseph Grande and Jacob Sabu. Initial designs will be generated using AutoCAD and then later assembled with foam board. The floor plan design needs to large enough to have several rooms in which information and enemies can be randomly placed for the SpyBot to locate and needs proper hallway and room dimensions so that the SpyBot will fit. Without a initial design concept for the SpyBot, the initial floor plan will not include dimensions. Once the SpyBot concept is complete, proper dimensions can be assigned to the floor plan and then can be physically built.
Project Assignments: Designing the SpyBot
The SpyBot design has been assigned to Harsh Patel, Gina Medayil and John Rose. Using the design concepts decided upon during the Project Decision phase, the team will need to design a robot that has the correct physical attributes to get the job done. This includes being able to navigate hallways and rooms without running into walls or other obstacles and being able to identify its targets, the sensitive information and the hostiles.
Project Assignments: Design Proposal
One of the first things that needs to be completed for this project is our design proposal. The design proposal is an important document that outlines many aspects of what the team is building and how it is that we intend to accomplish our project. We need to provide a clear indication of what the team plans to deliver at the end of the 10 weeks, the technical activities that will be used in completing the project, as well as developing an appropriate timeline and budget. Team members were individually assigned sections from the proposal that best fits their part in the overall project.
Subscribe to:
Comments (Atom)