Skip to content

adamrubinfeld/Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTC dashboard

Dashboard is a useful tool for FTC teams, helping them to review and debugg code better.

image:
image2

made by

  1. adam rubinfeld (orbit 14872 alumni)
  2. team apollo 9662 (Israel)
  3. Ofir Siboni (FRC Steampunk 1577)

Installation

  • make sure you have updated Java installed on your mechine.
  • Download FTC app
  • copy the file from ftc app and paste in team code
  • Download and unzip FTC dashboard
  • Install Intellij On your computer.

Usage

  • Before making any changes, make sure to backup your Robot's code, If you have Github repository - It might be a good time to commit & push

  • Through your computer, connect to Wifi Direct hosted by your robot controller.

  • Open FTC Dashboard on Intellij and run it.

  • Copy the IP address on the console
    image1

  • Add this code in your Teleop/autonomus

Threat dashboard = new mainThreat("<ip>", <team number>);

@Override
public void init(){
    dashboard.start();
}

@Override
public void stop(){
    client.close();
}
  • Now, each time you want to add information to your dashboard, you should use Dashboard functions, You will note that information will be displayed on the opened window while running. go to mainThreat and change what you want to see in each graph example:
sendDrive(<lf>,<lb>,<rf>,<rb>)
sendVertical(<speed>,<current pos>,<wanted pos>);
sendHorizontal(<speed>,<current pos>,<wanted pos>);
markEndOfUptade();

Contact me

Instagram:
adamrubinfeld19

Gmail:
[email protected]

License

dashboard: MIT
ftc app: MIT