Presentation is loading. Please wait.

Presentation is loading. Please wait.

GETTING STARTED ALL YOU NEED TO KNOW TO MAKE YOUR ROBOT MOVE

Similar presentations


Presentation on theme: "GETTING STARTED ALL YOU NEED TO KNOW TO MAKE YOUR ROBOT MOVE"— Presentation transcript:

1 GETTING STARTED ALL YOU NEED TO KNOW TO MAKE YOUR ROBOT MOVE

2 BUILDING YOUR BOT

3 BASIC ROBOT

4 HARDWARE 1 Modern Robotics Power Distribution Module
2 Modern Robotics Motor Controller 1 Modern Robotics Servo Controller 1 Modern Robotic Legacy Module 1 Modern Robotics CORE Device Interface 1 OTG USB Cable 5 USB cables 3 Powerpole power cable 1Modern Robotics Touch Sensor 1 Modern Robotics Optical Distance Sensor 1 Modern Robotics IRSeeker V3 Sensor

5

6 BATTERY

7

8 CORE POWER DISTRIBUTION MODULE

9

10 CORE MOTOR CONTROLLER

11

12 MOTOR

13

14 CORE SERVO CONTROLLER

15

16 SERVO

17

18 CORE LEGACY MODULE

19

20 OLD SYSTEM

21

22 CORE DEVICE INTERFACE

23

24 SENSORS

25

26 ANDROID PHONE OR TABLET

27 WIDI

28 BASIC PROGRAMMING

29 OUTLINE Git Hub Getting Started with Android Studio Basic Phone Setup
Creating a config mode Setting up the driver station Creating an Op mode Writing your first code Running and troubleshooting Frequent Errors

30

31 GETTING STARTED WITH ANDROID STUDIO
Install Java Get Android Studio Complete installation Install latest version of JDK from javase/downloads/index.html Get Android Studio from Follow installation wizard; Follow installations instructions in PushBot Build Guide: otics_Programs/FTC/Game_Info/2015/P ushBot-Build-Guide.pdf

32 GETTING STARTED WITH ANDROID STUDIO
Get FTC AppMaster from Github Open SDK in Android Studio Explore The folder contains SDK along with some sample code Launch Android Studio Click Open Project Locate FTC_App-Master Explore the sample code provided to you

33 BASIC PHONE SETUP Install drivers on both phones and the main programming computer (Optional but highly recommended) Remove SIM cards from both phones Download the FTC Driver Station app on the driver control phone and the FTC Robot Controller app on the robot control phone Download ZTE Channel Changer

34 CREATE A CONFIG MODE FOR YOUR ROBOT
Identify motor and servo controllers mounted on robot Create new Config mode in the robot controller app(Under Settings/Configure) Register each motor and servo with custom name based on which port it is connected to. Keep the list of names of your motors and servos

35 SETTING UP THE DRIVER STATION
Connect the driver station to the robot controller(Settings/Pair With Robot Controller) Connect the driver station phone to a usb hub Connect the gamepads to the usb hub If using logitech gamepads(recommended), make sure that the switch on the back is set to "X"

36 CREATING AN OP MODE Create a new class Extend OpMode
Implement init(), loop(), and optionally start() Write your code Register your OpMode in OpModeRegister

37 WRITING YOUR FIRST CODE
Open Op Mode Class Set up the program's 'map' of the robot Create variables for each motor and servo Under the main loop, implement inputs from the gamepads Create code to implement motors and servos based on input from the gamepads

38 FREQUENT ERRORS Make sure to take out the sim card
Restart robot from robot controller after it is plugged in Make sure all motors and sensors are in the ports in which they are supposed to be; Make sure that the names of the motors match with their names in the code Switch controller on “X” this year.


Download ppt "GETTING STARTED ALL YOU NEED TO KNOW TO MAKE YOUR ROBOT MOVE"

Similar presentations


Ads by Google