Useful Mentor Info - RobotGirls/FTC-Team-25 GitHub Wiki

Adding a new ssh key to your github account

How to Copy Road Runner v1.0 into 5218-FtcRobotController or 25-FtcRobotController

  • At the beginning of a new season, fork the FTC's SDK FtcRobotController Repo into RobotGirls' 5218-FtcRobotController and 25-FtcRobotController
  • Then git clone <team-number>-FtcRobotController into your laptop's ~/Desktop/FIRST directory
  • Then go to the FTC Road Runner Installation Documentation web page
    • Then per the FTC Road Runner Installation Documentation git clone the RR quickstart repo into your ~/Desktop/FIRST directory
    • Then copy the teamcode files from the road-runner-quickstart directory to the -FtcRobotController teamcode directory (NOTE: you can either do this directly into the FtcRobotController 'master' branch or create a git issue for the road runner integration into FtcRobotController and put the changes into the git issue branch of <team-number>-FtcRobotController. If you use the git issue branch, don't forget to merge it back to the 'master' branch once you are satisfied that you have properly integrated the Road Runner teamcode files into <team-number>-FtcRobotController
      • cd ~/Desktop/FIRST/road-runner-quickstart/TeamCode/src/main/java/org/firstinspires/ftc/teamcode
      • cp -pR * ~/Desktop/FIRST/<team-number>-FtcRobotController/TeamCode/src/main/java/org/firstinspires/ftc/teamcode
  • Then bring up Android Studio and "open" and provide the path to your <team-number>-FtcRobotController directory (which is likely in ~/Desktop/FIRST/<team-number>-FtcRobotController)
  • Next update the TeamCode build.gradle file following the instructions in FTC Road Runner Installation Documentation
  • Then in Android Studio, run gradle sync and ensure that its builds successfully.

Perform Tuning for your Robot per the Road Runner Tuning Guide

Set the logo and USB direction of your IMU using the instructions on the .

  • According to the FTC Universal IMU documentation
    • In September 2022, REV Robotics began shipping Control Hubs with a different internal Inertial Measurement Unit (IMU). The new IMU chip is designated BHI260AP, replacing the existing Hub’s IMU chip BNO055
    • The Software SDK version 8.1 introduced a universal interface that supports both the BHI260AP and BNO055 IMU. This basic tutorial introduces some new features:
      • robot configuration allows selection of IMU type
      • universal classes and methods supporting both IMU types
      • three ways to specify Hub mounting orientation on the robot
    • Teams wanting to use the newer IMU are required to:
      • use SDK 8.1 or newer
        • IMPORTANT: the FTC SDK that was copied over to RobotGirls on 9/21/2024 is Version 10.1 (20240919-122750)
      • update the Control Hub OS to 1.1.3 or newer.