-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
27 lines (26 loc) · 2.13 KB
/
settings.py
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
# The serial port that the controller software is on
sender = "/dev/ttyACM0"
# The serial port the dummy sensor is on
receiver = "/dev/ttyACM1"
# The bitrate to use on the CAN bus
bitrate = 1000000
# The sensors and actuators
devices = (
# {'name': 'Generic Sensor 1', 'class': 'GenericSensor', 'display': 'SensorRow', 'address': 0x64},
# {'name': 'Thermocouple 1', 'class': 'Thermocouple', 'display': 'ThermocoupleRow', 'address': 0x65},
# {'name': 'Generic Actuator 1', 'class': 'GenericActuator', 'display': 'ActuatorRow', 'address': 0x66},
# {'name': 'Fake Solenoid 1', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x67},
# {'name': 'Solenoid 1 (gen)', 'class': 'Solenoid', 'display': 'ActuatorRow', 'address': 0x67},
# {'name': 'Generic Sensor 2', 'class': 'GenericSensor', 'display': 'None', 'address': 0x64},
{'name': 'n2_purge', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x70, "config": {"inverted": True}},
{'name': 'n2_ipa', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x71},
{'name': 'n2_lox', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x72},
{'name': 'ipa_liquid', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x73},
{'name': '12V_test', 'class': 'GenericActuator', 'display': 'ActuatorRow', 'address': 0x77},
{'name': 'lox_liquid', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x80},
{'name': '24V_test', 'class': 'GenericActuator', 'display': 'ActuatorRow', 'address': 0x87},
# {'name': 'Solenoid 4', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x74},
# {'name': 'Solenoid 5', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x75},
# {'name': 'Solenoid 6', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x76},
# {'name': 'Solenoid 7', 'class': 'Solenoid', 'display': 'SolenoidRow', 'address': 0x77},
)