mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-11-17 04:02:21 -05:00
126 lines
2.8 KiB
JSON
126 lines
2.8 KiB
JSON
{
|
|
"piGpio": {
|
|
"enabled": false,
|
|
"brc": {
|
|
"enabled": false,
|
|
"gpioPin": 4,
|
|
"gpioChip": "gpiochip0",
|
|
"pulseEvery": "1m0s",
|
|
"pulseWidth": "1s"
|
|
},
|
|
"cameraServo": {
|
|
"enabled": false,
|
|
"pin": 12,
|
|
"freqHz": 50,
|
|
"cycleLen": 20000,
|
|
"minPulseUs": 900,
|
|
"maxPulseUs": 2100,
|
|
"minAngle": -15,
|
|
"maxAngle": 30,
|
|
"homeAngle": 0,
|
|
"nudgeDegrees": 2,
|
|
"allowRawPulse": false,
|
|
"invert": false
|
|
},
|
|
"headlight": {
|
|
"enabled": false,
|
|
"gpioPin": 22,
|
|
"gpioChip": "gpiochip0",
|
|
"initialOn": false,
|
|
"activeLow": true
|
|
},
|
|
"laser": {
|
|
"enabled": false,
|
|
"gpioPin": 27,
|
|
"gpioChip": "gpiochip0",
|
|
"initialOn": false,
|
|
"activeLow": false
|
|
}
|
|
},
|
|
"name": "laptop-rover",
|
|
"description": "Debian laptop rover using USB serial, webcam, mic, and speakers.",
|
|
"color": "#4DB6AC",
|
|
"serverUrl": "ws://control-server.local:8080/rover",
|
|
"serial": {
|
|
"device": "/dev/ttyUSB0",
|
|
"baud": 115200
|
|
},
|
|
"battery": {
|
|
"full": 2068,
|
|
"warn": 1700,
|
|
"urgent": 1650
|
|
},
|
|
"maxWheelSpeed": 350,
|
|
"media": {
|
|
"rtspPort": 8554,
|
|
"video": {
|
|
"profile": "v4l2",
|
|
"enabled": true,
|
|
"device": "/dev/video0",
|
|
"inputFormat": "mjpeg",
|
|
"width": 640,
|
|
"height": 480,
|
|
"fps": 30,
|
|
"bitrate": 2000000,
|
|
"inverted": false,
|
|
"sensorMode": "1296:972"
|
|
},
|
|
"audioCapture": {
|
|
"profile": "alsa",
|
|
"enabled": true,
|
|
"sampleRate": 48000,
|
|
"channels": 2,
|
|
"bitrate": 510000
|
|
},
|
|
"audioPlayback": {
|
|
"profile": "alsa",
|
|
"enabled": true,
|
|
"normalize": true,
|
|
"normalizeFilter": "dynaudnorm=f=75:g=15:m=10:p=0.9,alimiter=limit=0.85:level=disabled"
|
|
}
|
|
},
|
|
"audio": {
|
|
"inputDevice": "hw:0,0",
|
|
"outputDevice": "hw:0,0",
|
|
"mixerCard": "0",
|
|
"outputSampleRate": 48000,
|
|
"outputChannels": 2,
|
|
"ttsEnabled": true,
|
|
"defaultEngine": "flite",
|
|
"defaultVoice": "rms",
|
|
"defaultPitch": 50
|
|
},
|
|
"horn": {
|
|
"enabled": true,
|
|
"volume": 0.25,
|
|
"sampleRate": 48000,
|
|
"channels": 1,
|
|
"sineGain": 1,
|
|
"sawGain": 0.7,
|
|
"maxDuration": "10s"
|
|
},
|
|
"autoSideBrush": {
|
|
"enabled": true,
|
|
"speed": 20
|
|
},
|
|
"private": {
|
|
"enabled": false,
|
|
"safety": {
|
|
"speedLimitEnabled": false,
|
|
"speedLimitMaxWheelSpeed": 250,
|
|
"hardOvercurrentEnabled": false,
|
|
"overcurrentStopMs": 300,
|
|
"hardBumpEnabled": false,
|
|
"bumpBackoffSpeed": 250,
|
|
"bumpBackoffMs": 350,
|
|
"cliffEnabled": false,
|
|
"cliffBackoffSpeed": 250,
|
|
"cliffBackoffMs": 500,
|
|
"virtualWallEnabled": true,
|
|
"virtualWallBackoffSpeed": 250,
|
|
"virtualWallBackoffMs": 500,
|
|
"triggerCooldownMs": 800
|
|
}
|
|
}
|
|
}
|