have been doing more research on the new ball.
the rules do not allow the ball that is actually in use to be used:
2.2. Ball Suppliers.
2.2.1. The official balls for all RCJA tournaments will be:
IR Roboball MK2 made by Wiltronics http://www.wiltronics.com.au/catalogue/shop.php?cid=339
EK RoboSoccer RCJ-05 ball available from Modern Teaching Aids (http://www.teaching.com.au/lego_robocup.asp )
the ball in use is the RCJ-05 ball made by EK in japan ( http://www.elekit.co.jp/material/english_product_html/RCJ-05.php?page=2&ssi=2,3,19 )
this ball uses a step wave at 40 Hz. it's peak wavelength is 940nm.
this means to find it with a regular light sensor you would need to poll the sensor twice with a 0.040sec delay between the polling code as follows:
IF port_1 > 35:
run ball_found_module
ELSE:
WAIT 0.040 sec
IF port_1 >35:
run ball_found_program
ENDIF
ENDIF
Saturday, August 28, 2010
Friday, August 27, 2010
Thoughts after state
having finished Second in state with a robot that was built 3 days before and code that was no where near finished i think i need to address some of the short comings:
firstly the failure of the compass sensor. had i been able to effectively use the compass sensor in my program, i could have stop a number of own goals being scored. unfortunately, it never worked. i need to work on a way of prototyping the algorithm i want to use, which means running it by people who understand maths much better than i do and working out exactly how to run calculation with a maximum value of 360.
the second major problem was the horrendous lag created in the program, with the robot jerking and stuttering, and generally not running very smoothly. i have a feeling that this actually cost me the grand final more than anything else... a smooth running robot is more effective than one that stutters uncontrollably and has trouble finding the ball.
the third major issue i had was detecting the range of a pulsing ball. while the IR Seeker V2 would always find the ball it could not tell you distances enough. this meant that there where major issues of the ball being in directly in front of the robot and it not being able to find the ball, instead the robot doing a little dance. it would get "stuck out of phase" polling the ball outside the 40Hz pulse and missing it.
if i can address these major issues, then we'd have a strong entrance into the nationals. on the other hand, if i can find a way of addressing all these issues and adding both communication protocols and positioning values into the program... i think we could win not only standard but premier with the same robots...
firstly the failure of the compass sensor. had i been able to effectively use the compass sensor in my program, i could have stop a number of own goals being scored. unfortunately, it never worked. i need to work on a way of prototyping the algorithm i want to use, which means running it by people who understand maths much better than i do and working out exactly how to run calculation with a maximum value of 360.
the second major problem was the horrendous lag created in the program, with the robot jerking and stuttering, and generally not running very smoothly. i have a feeling that this actually cost me the grand final more than anything else... a smooth running robot is more effective than one that stutters uncontrollably and has trouble finding the ball.
the third major issue i had was detecting the range of a pulsing ball. while the IR Seeker V2 would always find the ball it could not tell you distances enough. this meant that there where major issues of the ball being in directly in front of the robot and it not being able to find the ball, instead the robot doing a little dance. it would get "stuck out of phase" polling the ball outside the 40Hz pulse and missing it.
if i can address these major issues, then we'd have a strong entrance into the nationals. on the other hand, if i can find a way of addressing all these issues and adding both communication protocols and positioning values into the program... i think we could win not only standard but premier with the same robots...
to do list
the purpose of this Blog is to document progress and ideas. first thing i want to log is a too do list.
- redesign the robots... standardized the design (will help when working on communication). this includes deciding on a drive train and developing an effective back spinner or kicker.
- attempt to learn robot C (but possibly not as i want to get the communication working between the robots...). if not, find the most effective language which allows for effective blue tooth communication.
- work on getting a compass sensor working to stop scoring own goals and make shooting goals easier
- get the downwards pointing light sensor working- will allow the robot to follow lines laid out on the mat and angle for goals, etc
- design a set of heuristic rules for communication between the robots
- design an effective set of communication procedures (optimistically getting the robots to pass the ball around goal keepers, getting the currently attacking robot out of the way, etc)
- complete a set of live tests (against ourselves and other schools)
- learning the current rules
- fighting school to let us go to nationals
- convincing school to buy new sensors.
- working with other schools for friendly matches
- finding transport to national competition.
- not letting it effect my HSC too much (yeah right.)
Subscribe to:
Comments (Atom)