2024_10_08 - Dutton-Christian-Robotics/Learning-to-Code GitHub Wiki

Review

  • reading sensors
  • branching/conditional logic

Activities

  • How can we make DryRobot even dryer?
  • Copy over DryerRobot

Concepts

  • understanding driver controlled
    • analog controls
    • digital controls
  • available controls
    • left_stick_y, left_stick_x, right_stick_y, right_stick_x
      • quirks of the y axis
    • 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
  • Fill in the blanks!
  • Focus on need for "else"--what should go there?
  • Weaknesses
    • Only drive at one speed; we'll solve this one first
    • Each action "blocks" controls