-
Notifications
You must be signed in to change notification settings - Fork 1
/
ptable.inc
executable file
·15 lines (13 loc) · 1.54 KB
/
ptable.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//ENTRY(ID, var, rightshift, resolution, unit, name, minvalue, maxvalue )
ENTRY('1', parameter.targetSpeed, 0, 2.0, "/ min", "target speed", -255.0, 255.0 )
ENTRY('2', parameter.speedP, 0, 1.0, "", "speed controller P", -255.0, 255.0 )
ENTRY('3', parameter.speedI, 0, 1.0, "", "speed controller I", -255.0, 255.0 )
ENTRY('4', parameter.speedWP, 0, 0.001, "V", "speed controller WP", -255.0, 255.0 )
ENTRY('5', parameter.voltageP, 0, 1.0, "", "position controller P", -255.0, 255.0 )
ENTRY('6', parameter.voltageD, 0, 1.0, "", "position controller D", -255.0, 255.0 )
ENTRY('7', parameter.speedFeedback, 0, 1.0, "", "speed feedback", -255.0, 255.0 )
ENTRY('8', parameter.pwmLamp, 0, 1.0, "", "pwm lamp", -255.0, 255.0 )
ENTRY('9', parameter.tcVoltage, 0, 1.0, "ms", "tc voltage", -255.0, 255.0 )
ENTRY('a', parameter.tcSpeed1, 0, 1.0, "ms", "tc speed 1", -255.0, 255.0 )
ENTRY('b', parameter.tcSpeed2, 0, 1.0, "ms", "tc speed 2", -255.0, 255.0 )
ENTRY(0, lastLoopTicks, 0, 0.0, "", "end of table", 0.0, 0.0 )