-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathkeywords.txt
76 lines (69 loc) · 1.93 KB
/
keywords.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#######################################
# Syntax Coloring Map for PWMMotorControl
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
PWMDcMotor KEYWORD1
EncoderMotor KEYWORD1
CarMotorControl KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
# From PWMDcMotor
init KEYWORD2
setSpeed KEYWORD2
setSpeedCompensated KEYWORD2
stop KEYWORD2
setStopMode KEYWORD2
setDefaultsForFixedDistanceDriving KEYWORD2
setValuesForFixedDistanceDriving KEYWORD2
setDistanceToTimeFactorForFixedDistanceDriving KEYWORD2
setDriveSpeed KEYWORD2
startGoDistanceCount KEYWORD2
startRampUp KEYWORD2
updateMotor KEYWORD2
goDistanceCount KEYWORD2
readMotorValuesFromEeprom KEYWORD2
writeMotorvaluesToEeprom KEYWORD2
setMotorDriverMode KEYWORD2
checkAndHandleDirectionChange KEYWORD2
# From EncoderMotor
resetControlValues KEYWORD2
synchronizeMotor KEYWORD2
calibrate KEYWORD2
# From CarMotorControl
startGoDistanceCentimeter KEYWORD2
goDistanceCentimeter KEYWORD2
getCarDirectionOrBrakeMode KEYWORD2
waitForDriveSpeed KEYWORD2
startRampUpAndWait KEYWORD2
startRampUpAndWaitForDriveSpeed KEYWORD2
checkAndHandleDirectionChange KEYWORD2
updateMotors KEYWORD2
delayAndUpdateMotors KEYWORD2
startCarAndWaitForFullSpeed KEYWORD2
stopMotors KEYWORD2
stopCarAndWaitForIt KEYWORD2
waitUntilCarStopped KEYWORD2
isStopped KEYWORD2
isState KEYWORD2
isStateRamp KEYWORD2
# Rotation
setFactorDegreeToCount KEYWORD2
startRotateCar KEYWORD2
rotateCar KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
DIRECTION_FORWARD LITERAL1
DIRECTION_BACKWARD LITERAL1
TURN_FORWARD LITERAL1
TURN_BACKWARD LITERAL1
TURN_IN_PLACE LITERAL1
FACTOR_CENTIMETER_TO_COUNT LITERAL1
DEFAULT_MIN_SPEED LITERAL1
DEFAULT_MAX_SPEED LITERAL1
VELOCITY_SCALE_VALUE LITERAL1
MOTOR_BRAKE LITERAL1
MOTOR_RELEASE LITERAL1