-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.txt
54 lines (40 loc) · 2.2 KB
/
config.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//This is the configuration file for the MiniFRC Driver Station
//Any line with a '//' will be ignored (even if it's at the end of the line!)
//This selects the COM port to connect to the robot
//COM = test can be used to enable test mode where the driver station does not connect to the robot
//COM = 3
COM = test
//AUTOPORT will automatically attempt to connect to the robot over multiple COM ports if the specified one fails
AUTOPORT = false
//BAUD selects the serial baudrate to use, 9600 is default for the HC-06
BAUD = 9600
//PRECISION selects the level of decimal precision to use with joystick axes.
PRECISION = 2
//JOYSTICK enables the use of joysticks. This can be turned off to save some performance when not using joysticks
//This will automatically enable if any joystick-controlled inputs are present
JOYSTICK = false
//FPS controlls the target framerate of the driverstation. You can raise it if you want a quicker bot response time
//but at some point you may be sending data faster than your reciever can read it, which causes weird behavior
FPS = 20
//LEGACY mode allows the driver station to work with bots that previously used the MiniFRC-2017 Driver Station
//All features are still available in legacy mode, the only change is how the packets are sent
LEGACY = false
//Here is where you can define the inputs that will be sent to the robot
//There are keyboard axes and buttons, joystick axes buttons and hats, and mode switches
//The joystick numberings are printed to console when in test mode with joysticks enabled
axis,Forward,w,s
axis,Left,a,d
//To use a number button on a keyboard, place a # infront of the number. '#4'
//Button Examples:
//button, my_button_name, <key>
//button, my_button_name, <joystick number>, <joystick button number>
//Axes Examples:
//axis, my_axis_name, <positive key>, <negative key>
//axis, my_axis_name, <joystick number>, <joystick axis number>
//Warning: Hats won't render
//Hats Example:
//hat, my_hat_name, <joystick number>, <hat number>
//Mode Switches Examples:
//you can also mix keys and joysticks
//mode, my_mode_name, <key>, <key>, <key>, <key>, ...
//mode, my_mode_name, <joystick number>, <joystick button number>, <joystick number>, <joystick button number>...