We have two options for doing both beacons in Autonomous:

 

  1. Follow the line on the first beacon, press the button, back up, turn, go to the second line, follow the line, and press the second button.
  2. Go directly along the wall, stop at the first beacon (using the line), press the button, stop at the second beacon (using the line), and press the button.

 

We will test the second option on 10/7  before the 10/9 meeting, we will decide on the Autonomous strategy during the 10/9 meeting. The second option seems to be simpler to program, and less prone to mistakes.

 

How to setup wireless adb on the g2

1. Pair the robot controller with the driver station.

2. On the rc app click the three dots and hit “pair with computer” or whatever it says

3. Connect the laptop to the wifi of the robot controller (it should have the rc phone name in the network name)

4. Go to console tab at the bottom of android studio

5. Connect the robot controller to the laptop with usb cable

6. Type in adb usb

7. Type in adb tcpip 5555

8. Type in adb connect ip , but replace ip with the actual ip of the phone (it’s on the screen of the rc)

9. Type adb devices  ,   to make sure you’ve connected.

 

10/9 Tuning Session:

We tried to use the original plan for autonomous but there were too many turns and it was not consistent. Because we need it to be very accurate, we programmed the alternative method to go sideways along the wall to press the beacons. We finished the basic navigation and need to add the color/light sensor logic.

10/1/16 Software
Tagged on:

Leave a Reply