Difference between revisions of "FTC Power Up a Motor 20230911"
From wikidb
(→Check Points) |
(→Additional References) |
||
Line 77: | Line 77: | ||
** [https://www.youtube.com/watch?v=cRcdGPaZ70Y&list=PLEuGrYl8iBm7wW9gyxpLDhBJAOWDZid1P&index=3 registering and Installing an Op Mode - Java] | ** [https://www.youtube.com/watch?v=cRcdGPaZ70Y&list=PLEuGrYl8iBm7wW9gyxpLDhBJAOWDZid1P&index=3 registering and Installing an Op Mode - Java] | ||
* [https://first-tech-challenge.github.io/SkyStone/index.html FTC API reference] | * [https://first-tech-challenge.github.io/SkyStone/index.html FTC API reference] | ||
− | * [https://github.com/FIRST-Tech-Challenge/FtcRobotController FTC SDK version | + | * [https://github.com/FIRST-Tech-Challenge/FtcRobotController FTC SDK version 9.0] |
* [https://www.youtube.com/watch?v=IEWxGbj0SII How To Set Up A Github Repository For FTC] | * [https://www.youtube.com/watch?v=IEWxGbj0SII How To Set Up A Github Repository For FTC] |
Revision as of 10:37, 11 September 2023
Contents
Core Resources
- OnBot Java Guide Chapters14, 15 and 16 (pages 78 to 99) are focused on Creating and Running an Op Mode in OnBot Java.
Lab 1: Power Up
Why
- Master basic operations
Check Points
- Power up the FTC Training Robot
- Run the TestMotor app o
Power Up
- Power up Control Hub - wait for green LED
- Power up the Driver Station - run the FTC Driver Station app
- Run the Test Motor on the competition field
Demo Code
Finding Code on GitHub
Is the Demo Code on the Robot
- Make sure the robot is on
- Make sure the Robot Controller cell phone is on
- Make sure the "FTC Robot Controller" app is running
- Make sure your laptop Wifi is connected to the Robots Wifi
- Start a Web Browser on the laptop
- Connect to 192.168.49.1:8080 - if you are using a Expansion Hub
- 192.168.43.1:8080 - if you are using a Control Hub
- Select the OnBotJava tab
- Is TestMotorEpp.java in the Project Files list?
- Get help
Running the Demo Code
- Make sure the Driver Station cell phone is on
- Make sure the "FTC Driver Station" app is running
- Select the Autonomous dropdown menu (left triangle that points down)
- Select the "Epp Motor Test" app
- If the app is not in the list, you may need to "Build" it from the laptops web browser you used above
Checking the Robot Configuration
Sometimes the configuration has a problem
Example Configuration File
Warning : Incomplete, unclear, Untested, may be wrong
- name: OrRAS
- Webcam 1: 9BB6F610
- Control Hub Portal: embedded
- Control Hub
- Motors
- 0: REV Robotics Core Hex Motor: myLeftMotor
- 1: REV Robotics Core Hex Motor: myRightMotor
- I2C Bus 0
- REV Expansion Hub IMU: imu
- Motors
- Control Hub
Reading and Modifying the Configuration File
TBD