Java Programming - The Ponytail Posse
Java Programming
The Ponytail Posse - FTC #8808 9/12/15
Outline
? How to make teleop work "out of the box" ? How to make your own teleop ? Autonomous basics ? Source code control ? Resources
Making TeleOp Work Out of the Box
? K9TeleOp ? Initial robot configuration
K9TeleOp
? DC motor controls: left toggle controls the wheels ? Up = forward ? Down = backward ? Left = left ? Right = right
? Servo motor controls: A, B, X, Y buttons ? X and B = claw ? Y and A = arm
Servo
DC motors
Making Your Own TeleOp
1. Reconfigure robot 2. Duplicate K9TeleOp (right click refactor copy)
M1. axking Your Own TeleOp
2. x 3. Enter your new teleop in the FtcOpModeRegister
4. Link phone configuration to program through HardwareMap
HardwareMap
ROBOTC:
JAVA:
variable you use for programming
name you put in
the phone
After configuring the hardware on the phone, you need to access it in the program. HardwareMap is a link that allows the program to access the configuration.
HardwareMap Sensors
? hardwareMap.opticalDistanceSensor ? hardwareMap.touchSensor ? hardwareMap.accelerationSensor ? passSensor ? hardwareMap.gyroSensor ? hardwareMap.irSeekerSensor ? hardwareMap.lightSensor ? hardwareMap.ultrasonicSensor ? hardwareMap.voltageSensor
Example:
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- java programming the ponytail posse
- tutorial 2 simple java programming
- sample java program cisco
- ftc java programming kettering university
- a guide to programming in java mr barrett s class
- getting started with java for frc
- java problems university of cambridge
- learning computer programming using java with 101 examples
Related searches
- basic java programming examples
- java programming examples pdf
- java programming for beginners pdf
- learning java programming pdf
- basic java programming examples pdf
- java programming examples for beginners
- java programming questions for practice
- java programming tutorial for beginners
- java programming tutorial pdf
- java programming language book pdf
- java programming textbook pdf
- download free java programming book