Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.91 KB

hub-connect-over-wifi.md

File metadata and controls

54 lines (42 loc) · 1.91 KB
description layout
Many teams find it extremely useful to connect their robot over WIFI, this allows you to connect and run code on your robot from anywhere in the room which is so useful
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
true
visible
true

Hub Connect Over Wifi

This is somewhat of a complex process and will require a lot of steps:

  • Make sure ADB is installed on your computer

  • Open Android Studio Settings

  • Open up the external tools portion

  • Hit the + button to add an external tool

  • Fill out the description and activities for the tool
    • Name: HUB connect over Wifi direct
    • Program: $ModuleSdkPath$/platform-tools/adb
    • Arguments: connect 192.168.43.1:5555
    • Working Directory: $ProjectFileDir$
  • Then hit OK and Apply and then you can close the settings

Now we will add this tool to your tool bar for ease of use:

  • Right click on your tool bar

  • Click customize toolbar
  • Click + and "add action..."
  • Select the external tool we just made and choose the icon you want

  • Hit OK and move it to where you want it to be ordered in your tool bar
  • Simply connect to your robot's wifi and hit the button to connect to it wirelessly!