fix formatting of monocoque.config
This commit is contained in:
parent
7e923354ba
commit
e4a8a998e8
|
|
@ -1,16 +1,21 @@
|
|||
configs = ({
|
||||
configs = (
|
||||
{
|
||||
sim = "default";
|
||||
// one can also specify sim by using the "short-name" for example "ac". also, "acc", "ace", "ams2", "et", "at" and "rf2"
|
||||
//sim = "ac";
|
||||
car = "default";
|
||||
devices = ( { device = "USB";
|
||||
devices = (
|
||||
{
|
||||
device = "USB";
|
||||
type = "Tachometer";
|
||||
devid = "98FD:83AC";
|
||||
subtype = "Revburner";
|
||||
granularity = 2;
|
||||
config = "~/.config/monocoque/revburner15000.xml"; },
|
||||
config = "~/.config/monocoque/revburner15000.xml";
|
||||
},
|
||||
|
||||
{ device = "Sound";
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "Engine";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
pan = 3;
|
||||
|
|
@ -20,8 +25,10 @@ configs = ({
|
|||
volume = 70;
|
||||
modulation = "frequency";
|
||||
frequency = 17;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "Gear"
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
pan = 3;
|
||||
|
|
@ -30,11 +37,13 @@ configs = ({
|
|||
channels = 8;
|
||||
duration = .6;
|
||||
volume = 100;
|
||||
frequency = 15; },
|
||||
frequency = 15;
|
||||
},
|
||||
|
||||
|
||||
|
||||
{ device = "Sound";
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreSlip";
|
||||
tyre = "RearLeft";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -45,8 +54,10 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreSlip";
|
||||
tyre = "RearRight";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -57,8 +68,10 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreSlip";
|
||||
tyre = "FrontLeft";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -68,8 +81,10 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreSlip";
|
||||
tyre = "FrontRight";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -79,11 +94,13 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
frequencyMax = 37;
|
||||
},
|
||||
|
||||
|
||||
|
||||
{ device = "Sound";
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreLock";
|
||||
tyre = "RearLeft";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -93,8 +110,10 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreLock";
|
||||
tyre = "RearRight";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -104,8 +123,10 @@ configs = ({
|
|||
modulation = "frequency";
|
||||
volume = 100;
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreLock";
|
||||
tyre = "FrontLeft";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -115,8 +136,10 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
{ device = "Sound";
|
||||
frequencyMax = 37;
|
||||
},
|
||||
{
|
||||
device = "Sound";
|
||||
effect = "TyreLock";
|
||||
tyre = "FrontRight";
|
||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||
|
|
@ -126,9 +149,11 @@ configs = ({
|
|||
volume = 100;
|
||||
modulation = "frequency";
|
||||
frequency = 30;
|
||||
frequencyMax = 37;},
|
||||
frequencyMax = 37;
|
||||
},
|
||||
|
||||
{ device = "USB";
|
||||
{
|
||||
device = "USB";
|
||||
type = "Haptic";
|
||||
subtype = "CSLELITEV3PEDALS";
|
||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||
|
|
@ -137,8 +162,10 @@ configs = ({
|
|||
tyre = "ALL";
|
||||
threshold = 0.2;
|
||||
value0 = 0;
|
||||
value1 = 16776960; },
|
||||
{ device = "USB";
|
||||
value1 = 16776960;
|
||||
},
|
||||
{
|
||||
device = "USB";
|
||||
type = "Haptic";
|
||||
subtype = "CSLELITEV3PEDALS";
|
||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||
|
|
@ -147,8 +174,10 @@ configs = ({
|
|||
tyre = "ALL";
|
||||
threshold = 0.2;
|
||||
value0 = 0;
|
||||
value1 = 16711680; },
|
||||
{ device = "USB";
|
||||
value1 = 16711680;
|
||||
},
|
||||
{
|
||||
device = "USB";
|
||||
type = "Haptic";
|
||||
subtype = "CSLELITEV3PEDALS";
|
||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||
|
|
@ -157,39 +186,51 @@ configs = ({
|
|||
tyre = "ALL";
|
||||
threshold = 0.2;
|
||||
value0 = 0;
|
||||
value1 = 65280; },
|
||||
value1 = 65280;
|
||||
},
|
||||
|
||||
{ device = "Serial";
|
||||
{
|
||||
device = "Serial";
|
||||
type = "Haptic";
|
||||
effect = "TyreSlip";
|
||||
tyre = "ALL"; // motor m1 connected to throttle
|
||||
motors = 0;
|
||||
devpath = "/dev/ttyACM0"; },
|
||||
{ device = "Serial";
|
||||
devpath = "/dev/ttyACM0";
|
||||
},
|
||||
{
|
||||
device = "Serial";
|
||||
type = "Haptic";
|
||||
effect = "TyreLock";
|
||||
tyre = "ALL"; // motor m3 connected to brake;
|
||||
motors = 2;
|
||||
devpath = "/dev/ttyACM0"; },
|
||||
{ device = "Serial";
|
||||
devpath = "/dev/ttyACM0";
|
||||
},
|
||||
{
|
||||
device = "Serial";
|
||||
type = "Haptic"
|
||||
effect = "ABS";
|
||||
tyre = "ALL"; // this will have to be documented, this tells the code to spin both motors
|
||||
motors = 8;
|
||||
devpath = "/dev/ttyACM0";},
|
||||
{ device = "Serial";
|
||||
devpath = "/dev/ttyACM0";
|
||||
},
|
||||
{
|
||||
device = "Serial";
|
||||
type = "SimWind";
|
||||
config = "None";
|
||||
baud = 115200;
|
||||
devpath = "/dev/simdev1"; },
|
||||
devpath = "/dev/simdev1";
|
||||
},
|
||||
|
||||
{ device = "Serial";
|
||||
{
|
||||
device = "Serial";
|
||||
type = "SimWind";
|
||||
config = "None";
|
||||
baud = 115200;
|
||||
devpath = "/dev/simdev1"; },
|
||||
devpath = "/dev/simdev1";
|
||||
},
|
||||
|
||||
{ device = "Serial";
|
||||
{
|
||||
device = "Serial";
|
||||
type = "Simleds";
|
||||
numleds = 6;
|
||||
startled = 2;
|
||||
|
|
@ -197,8 +238,6 @@ configs = ({
|
|||
config = "~/git/monocoque/conf/rpms_and_radar.lua"
|
||||
baud = 115200;
|
||||
devpath = "/dev/simdev0";
|
||||
}
|
||||
|
||||
|
||||
);
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue