-
Notifications
You must be signed in to change notification settings - Fork 0
Task list : 12 15_12 20
-
Other robot code [Everyone]
-
Start looking into vision tracking [Mohammed]
- Vision tracking camera : http://charmedlabs.com/default/pixy-cmucam5/ [Mohammed]
- Vision tracking basics :
-
Using PID controllers [Mahim, Leslie, Arlenis] http://www.simbotics.org/files/pdf/programming-pid.pdf
-
Github with Eclipse [ Sharom ] https://maxrohde.com/2012/05/25/eclipse-and-github-tutorial/ You will also research the errors people are facing on google and try to debug it with/for them.
I want you to send me your completed code ( For the Rectangle class ONLY ) as an attachment on Remind by Monday evening. This is mandatory. Whoever does not complete this will be moved out of R2D2.
-
Write a class called 'Rectangle' to calculate the area and perimeter of a rectangle.
-
Let there be 2 methods in the class called "calculateArea" and "calculatePerimeter"
-
Each method will take 2 arguments of type "double" called 'length' and 'width'
-
You will need to know the mathematical formula for calculating area and perimeter of a rectangle. Google it if you dont know!
-
Add another method - the "main method" to your class with the following definition
{This is the region where your methods will be called } -
Call your 2 methods 'calculateArea' and 'calculatePerimeter' FROM this main method and print out the values of area and perimeter
-
-
Complete the tele-op part of your subsystems by referring to the old robot code at https://github.com/frc4571/FRC2014Robot
- If you aren't done with Codeacademy ( https://www.codecademy.com/learn/learn-java ) finish that up. If you ARE done with codeacademy, finish the Udacity Java course ( https://in.udacity.com/course/intro-to-java-programming--cs046/ )