Virtual Robotics
Fun Hour
May 15th, 2020
Host - Ellen Sun
Virtual Robotics Fun Hour
folding@home
We are contributing to folding@home to find cure for covid-19. You are welcome to join our team (Flyset: 256564) to contribute your idle computing power at home.
https://foldingathome.org/category/covid-19/
3D PPE Print Fundraiser
Winners of 5/8/2020 Rubriks Cube Competition
Please email your home address to technicbots.team@gmail.com for receiving in mail.
(Alex Z, Hank, Ethan, Andrew, Luke, Louwyn, Bryan, Alex W, William)
Online Resource
Ellen Sun
Raspberry Pi
Raspberry Pi
Software Project Example
Hardware Project Example
Builder Zone
Derek He
What is Swerve Drive
NASA’s Swerve Drive
Swerve Drive in FTC
Swerve Drive Pros
Swerve Drive Cons
CAD Topics - Simulation and Animation
Max Fan
REV Mini Bot
Simulation in CAD
Simulation Demo
Animation in CAD
Animating Demo
RoboCode Virtual Battle
Byron Li / David Hu / Victor
Eclipse Check In & Developing Tips
https://robowiki.net/wiki/Robocode/Eclipse
Robocode: Radar setup
setAdjustGunForRobotTurn(true); and
setAdjustRadarForGunTurn(true);
setTurnRadarRight(Double.POSITIVE_INFINITY); //this will spin the radar until it scans a robot
Robocode: Radar turning calculations
double radarTurn = getHeadingRadians() + e.getBearingRadians() - getRadarHeadingRadians();
This part basically returns what angle the scanned robot is to us
This part is the original angle of the radar. To find out how much we still need to move we just subtract it
setTurnRadarRightRadians(Utils.normalRelativeAngle(radarTurn) * 2); //the *2 increases the reliability because sometimes the robot will fail to turn and lose the lock
Improving your radar
The lock-on radar we just made is pretty neat, but it's nowhere near scratching the surface of radars. For one, we are doing 4-robots battles in our tournaments. Locking on to just one robot means we don’t have any info on the others! For ideas to improve your robot, check out
Robot Challenge #4
Create a new radar that constantly spins around. Every time you scan a robot, track its energy and name. Try to store the energy values of all the robots you scanned and track the differences between the old and new values. This is crucial to learning how to dodge bullets.
For help, look into this article
Sharing Robot Insights
Virtual Robot Tournament #3
Division 1 (Qualification Round)
Robot Name | Coder Name | Robot Score |
CHRISTINAA | christina zhu | |
Acid | Andrew | |
MojoJojoTheDestroyer | Selena | |
Bobminion | Michelle Bao | |
Virtual Robot Tournament #3
Division 2 (Qualification Round)
Robot Name | Coder Name | Robot Score |
Bot1 | David Hu | |
Rammer | Nathan Ma | |
Kitt | Adrian Lin | |
DUMMY | | |
Submit Your RoboCode for Virtual Battle
https://www.ibm.com/developerworks/java/library/j-robotips/
Past Session Slides, Recordings and Docs
Q & A
After 8:00, you are free to leave
Feel free to ask questions in chat or with your mic!
Questions/Suggestions
technicbots.team@gmail.com