forked from Botbusters4635/2017RobotCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settingsTank.ini
95 lines (81 loc) · 1.42 KB
/
settingsTank.ini
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[Input]
StickPort = 0
Deadzone = .18
ButtonName1 = A
ButtonName2 = B
ButtonName3 = X
ButtonName4 = Y
ButtonName5 = leftPush
ButtonName6 = rightPush
ButtonName7 = select
ButtonName8 = start
ButtonName9 = leftJoy
ButtonName10 = rightJoy
AxisName1 = leftX
AxisName2 = leftY
AxisName3 = leftTrig
AxisName4 = rightTrig
AxisName5 = rightX
AxisName6 = rightY
[Motors]
MotorQuantity = 7
Motor1 = 1
Motor2 = 2
Motor3 = 3
Motor4 = 4
Motor5 = 5
Motor6 = 6
Motor7 = 7
MotorId.1 = LeftMaster
MotorId.2 = LeftSlave1
MotorId.3 = LeftSlave2
MotorId.4 = RightSlave1
MotorId.5 = RightMaster
MotorId.6 = RightSlave2
MotorId.7 = ClimbMotor
MotorInvert.5= true
MotorClosedLoopInvert.5 = true
MotorEncoderCodes.1 = 120
MotorEncoderCodes.5 = 120
MotorEncoderInvert.1 = true
MotorEncoderInvert.5 = true
[PCM]
PistonQuantity = 2
PcmId = 0
CompressorId = 0
Piston1 = 1,0
Piston2 = 2,3
PistonId.1 = Shift
PistonId.2 = Gear
[EctoLog]
Enabled = true
UpdateRateMs = 50.0
[Tank]
ExpoJoy = .4
ExpoTrig = .2
MaxSpeed_Speed = 4.8
MaxSpeed_Torque = 1.4
MinSpeedShift = 1.2
WheelWidth = 1
TankScrubFactor = 0
VoltageRampRate = 1.15
Speed_P = 1.65
Speed_I = 0.006
Speed_D = 0.02
Speed_F = 0.4834
Torque_P = 2.5
Torque_I = 0.025
Torque_D = 0.02
Torque_F = 1.4614
[EctoState]
SideQuantity = 1
Motor1L = 1
Motor1R = 5
WheelDiameter = 0.1524
MaxLoggedStates = 500
GyroThreshold = .15
RobotStatePointUpdate = .01
RobotStateThreadUpdate = .001;
Enabled = true
[Telemetry]
PdpId = 0