Showing posts with label FIRST. Show all posts
Showing posts with label FIRST. Show all posts

Sunday, January 31, 2010

FIRST Robotics - 3 weeks to go

Sorry I missed last week, I was OBRE (Overcome By Robotic Events).



FIRST (For Inspiration and Recognition of Science and Technology) The build should be in full swing! If the robot building team hasn't started implementing the design, you need to get to it.

The software team, should have a prioritized list of what they need to implement and be trying to get it going. If you're doing the software, remember that the robot design, how things are going to work are changing. As the robot's being built, they ARE going to change things. Some parts of the design just won't work and so it will change. You need to be flexible and be prepared to throw away code.

The individual functions should be implemented in Sub-Vi's for LabVIEW and subroutines for Java or C++. For instance, the "kick" Functions should be implemented so that the SubVi/Subroutine only does what the robot needs to do to kick the ball.I.e Pull back kicker, release kicker. In the Teleoperated portion of the code, you should detect the button push and call the kick routine. This way, they change the way the kicker works, you only need to go to that function to change it.

This also helps when different groups are working on the code. One group can be incharge of kicking, one incharge of movement, one in charge of the sensors, etc.

One other import fact, and I've said it before, save off your code! when you have something working, save it somewhere so that if mess something up, you can go back to something that works.

Don't be afraid to try stuff in the code, just make sure you can get back to where you were.

Have Fun!

Friday, January 15, 2010

FIRST Robotics - 5 Weeks to Software



FIRST (For Inspiration and Recognition of Science and Technology) design is in full swing! The first week should have been full of brain storming and starting the design. By this time (the second week) the robot team should be prototyping, figuring out what works and what doesn't. Also all the sensors that need to be on the robot and where they go. The software team should be figuring out how the sensor's, actuators, and motors work. One hint, put all the sensor's you can on the robot, whether your know if you're going to use them or not. It's better that they're on the robot rather than trying to get them on later.

This week the software team needs to make a list of the tasks the robot needs to do. Brainstorm the software requirements. Then they need to be prioritized the list based on what's most important for the robot to do. The list may consist of things like acquiring the target and moving the robot square for a shot at the goal as the top priority.

You need to make sure the software tasks that are highest priority are done first. Things needed for the teleop mode need to be done first since most of the robots time is in teleop mode. Also see what can be used in both autonomous and teleop mode. But don't forget about the software for autonomous.

Before you modify the basic code, make a copy of whatever code is working. Always keep a backup of the latest, working software so that when something gets screwed up, which it always does when you're trying new things, you have code to go back to. When you make a backup, put a date in the backup name so that you know what code was developed when.

Do not be surprised when you have to scrape what you're trying and go back to the last working code. But don't be afraid to try stuff, that how you learn.

After this week you should have a list of prioritized software tasks, and some experiments with sensors, the camera, actuators, and motors going. Basically a plan what your going to do.

Good luck with your project.

Sunday, January 10, 2010

FIRST Robotics - 6 weeks to software

I'm putting off talking about Testing a while and talk about software and robotics.



FIRST (For Inspiration and Recognition of Science and Technology) just announced the competition game for the 2010 FRC (FIRST Robotics Competition). I talked with several Rookie teams at the kick-off and practice build and a lot of them need help, especially with software. I was thinking there needed to be a "FIRST's Beginners guide to a Robotics software in 6 weeks". The reality is the software is usually worked on after the robot has shipped and even during competition.

I have worked with Team 704 (Go Warriors!) for a year and I've been in software since I started learning about software in High School, before FIRST, before PC's. I have my own robots at home (NXT and basic stamp controlled) and have played with them for years.

So on to the important stuff, how to get started with your software for your Robot. After the game is announced (or was announced as of when this was posted), the first thing your team should be doing is brainstorming about what you want the robot to do and the design of the robot. At this stage, the kids/mentors doing the software should be working with everyone else to come up with a design.

However, if you're going to be doing software you should also be looking at the motors, controllers, and sensors. Especially look at how to use the software to retrieve information and control the sensors. How to control the motors and pneumatics. The more you know about them the better you'll be able to use them. You can also speak up during design about what can be used for control and operation.

One of your main resources on the web should be the National Instruments web site. It's full of tutorials, information, help, and has a good technical discussion board. Also, contact the NI sales representative for your area and see how accepting they are to the idea of helping you. They might not be able to help much, but then again, if they can help at a crucial time when you're stuck, it could be key.

You need to work with the kids to figure out which programming language to use. With kids with little or no experience in programming I would suggest using the LabVIEW graphical language, it's drag and drop programming. If you have kids who are experienced in programming, find out what languages they know. If you have a couple kids who have been through a C++ or Java class, you might think about doing your project in one of those languages.

The main thing is to play with the sensors. Get the camera out, make a pattern on a wall of the target and see if you can detect it, lock on it, move it out of focus and back in. Walk between the camera and image and re-acquire.

See how the gyro works, how the accelerometer works, how the limit switches work with, all with your cRio controller. This first week should be learning what the kids know, how the languages are used, and about the sensors and controllers and how they work.

But also be in on the design and thinking of where you need sensor's, what sensor's and controllers you need, and the general build of the Robot.

Sunday, April 26, 2009

Post Robotic relaxation



Everything is calming down now after the FIRST Championships. I'm trying to capture some lessons learned and keep some thoughts and idea's for next time. If anyone has any fund raising idea's I'd like to hear about them. The money was probably the biggest hurdle.

We, team 704, does have pictures from Atlanta. One thing I'm doing now is buying a new and better camera with stabalization. A lot of my pictures came out fuzzy.

Below are some pictures on the team 704 odyssey that, mostly, I took. Also another link to the Google pic

Robot waiting to take over the world Team 704 in Atlanta

Saturday, April 18, 2009

FIRST Championships

This has been an exhausting weekend at the FIRST Robotics Championship in Atlanta Georgia. We arrived Wednesday night but it all started early Thursday morning. We got in un-crated the robot. We ran some practice rounds and started scouting teams as well as warming up the Robot.



More fun was on Friday morning...the real thing started...qualifying rounds. We started out strong, three wins in a row. Unfortunately the win streak didn't last. We had some poor luck of the draw, our alliance was with some weaker robots and we were against 3 robots that all wound up in the final rounds. Our alliance lost. We lost one more Friday when two robots were blocking us and our alliance robots weren't coming to help break us loose.

Saturday looked promising at first, at least until we lost our first round...then our second round. There were no good explanations except not much cooperation between alliance teams.

Alas, at the finals team selection, our team number was not called. The race for the Championship was over for us.

It was an exciting weekend. The high school kids had a lot of energy and some of it translated to me. I had a lot of energy...more or less. Over all it was fun and tiring, it's most certainly a labor of love.

Thursday, April 9, 2009

Headed for the FIRST Championships!

Team 704, the SGP Robotics club, is headed from Atlanta GA for the FIRST Robotics Championships! This will be SGP's first trip to the big game!



We have the airplane tickets, another team will be taking some of our equipment to Atlanta in their trailer, and the excitement is mounting. I'm very excited! I contacted the Lockheed Martin internal newsletter about doing a story on the FIRST Championship. It's an event where there are potentially hundreds of future employees!

I was so excited I pulled out my NXT robot and started playing with it. I've also updated my personal web page with the robotics stuff from Dallas and Lone Star tournaments.

Thursday, March 26, 2009

Building Robots to take over the world

I apologize for not writing lately. I've been busy lately working with the South Grand Prairie Robotics team. I tell everyone it's to build robots to take over the world but it's really to build a robot for the FIRST Robotics Challenge.



The FIRST Robotics Challenge is (FRC) is a great organization where high school kids are given a game, a “kit”, and 6 weeks to build a robot to play the game.

The game is called Lunacy. Basically, you try to put your balls in your opponantes trailer. Every robot has a trailer behind it and so while you're trying to dump in someone's trailer, they're trying to dump in someone elses trailer.

The kit is a set of parts to build a basic Robot with enough programming to have a joy stick control it. From there, each team needs to figure out how to dump balls in opponents trailer, what to do in autonomous mode (the first 15 seconds of the match)

FIRST is a national challenge sponsored by a lot of technical companies who will need engineers in the future and want to get the kids interested now. They are a very organized group who have regional robot tournaments in various parts of the country.

The team I'm working with is Team 704, associated with the South Grand Prairie High school Robotics team. Each team, once a number is assigned, keeps that number and the numbers aren't re-used. If a team disbands, the number is no longer used. Team 704 has been going since 2001 sponsored by physics teacher extraordinaire Phil Harris.



I'll write more later. I just want close by saying that high school kids who are even vagually interested in robots should go to usFirst.org and find a team in your area. If you're an adult (who is a kid at heart) you can help mentor a team. (Even though they're using LabVIEW)