-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTutorial.txt
34 lines (26 loc) · 1.02 KB
/
Tutorial.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
XBox Controls for "Sasha": a 2013 FIRST Robotics competition robot built by team 4564.
(Robot is initially inactive. Press start to enable it.)
Drive: Left Joystick
Winch: Dpad Up and Down
Thrower Speed: Hold Left Trigger until motor revs to desired speed (50%, 65%, 80%, 100%). Press A to lock.
Thrower speed can be adjusted only if drive control is set to full speed
Launch Frisbee: Right Trigger
Clear Jams: B + Right Trigger
Recall thrower speed: Press A (default, if no previous setting listed, is 50%)
Compressor: Press Y
T-Shirt Cannons: Left and Right Bumpers
Disable Driving: Back
Slow Driving Mode: Back + B
Normal Driving Mode: Back + X
Sasha's Wi-FI
IP address for Sasha is 192.168.10.1
Set client PC to static IP 192.168.10.100, for instance
To run Sahsa code
Login as pi with password raspberry
cd Sasha
sudo python sasha.py
If xbox controller keeps giving error, try this:
sudo xboxdrv --detach-kernel-driver
joystick should connect. Move a stick to see if it is working.
Ctrl-c to exit back to Linux
Run Sasha code