2024_10_03 - Dutton-Christian-Robotics/Learning-to-Code GitHub Wiki
- 630 minutes left (show timer on iPad?)
Review
Activities
- Copy/Paste DryRobot code with sensors
- Try to make the robot redirect after encountering wall
Concepts
- One more round of DRY: one drive method
- understanding driver controlled
- analog controls
- digital controls
- available controls
- left_stick_y, left_stick_x, right_stick_y, right_stick_x
- left_trigger, right_trigger
- left_bumper, right_bumper
- dpad_up, dpad_down, dpad_left, dpad_right
- x, y, a, b
Activities
- Copy Basic Driver Controlled
- Explain opModeIsActive
- Explain if / else if / else
- Focus on need for "else"
- Weaknesses
- Only drive at one speed; we'll solve this one first
- Each action "blocks" controls