mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
change default brc pin
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -42,7 +42,7 @@ run_pipeline() {
|
|||||||
-ar "${AUDIO_RATE}" \
|
-ar "${AUDIO_RATE}" \
|
||||||
-ac "${AUDIO_CHANNELS}" \
|
-ac "${AUDIO_CHANNELS}" \
|
||||||
-i <(arecord -D "${AUDIO_DEVICE}" -f S32_LE -c "${AUDIO_CHANNELS}" -r "${AUDIO_RATE}" -B 65536 -F 2048 -q -t raw) \
|
-i <(arecord -D "${AUDIO_DEVICE}" -f S32_LE -c "${AUDIO_CHANNELS}" -r "${AUDIO_RATE}" -B 65536 -F 2048 -q -t raw) \
|
||||||
-af "aresample=16000,pan=mono|c0=0.5*FL+0.5*FR,volume=12dB" \
|
-af "aresample=16000,pan=mono|c0=0.5*FL+0.5*FR,volume=20dB" \
|
||||||
-c:a libopus \
|
-c:a libopus \
|
||||||
-b:a 24000 \
|
-b:a 24000 \
|
||||||
-ar:a 16000 \
|
-ar:a 16000 \
|
||||||
|
|||||||
+1
-1
@@ -115,7 +115,7 @@ func LoadConfig(path string) (*Config, error) {
|
|||||||
cfg := Config{
|
cfg := Config{
|
||||||
MaxWheelMMs: 500,
|
MaxWheelMMs: 500,
|
||||||
BRC: BRCConfig{
|
BRC: BRCConfig{
|
||||||
GPIOPin: -1,
|
GPIOPin: 4,
|
||||||
GPIOChip: "gpiochip0",
|
GPIOChip: "gpiochip0",
|
||||||
PulseEvery: Duration{
|
PulseEvery: Duration{
|
||||||
Duration: time.Minute,
|
Duration: time.Minute,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ serial:
|
|||||||
device: /dev/ttyAMA0
|
device: /dev/ttyAMA0
|
||||||
baud: 115200
|
baud: 115200
|
||||||
brc:
|
brc:
|
||||||
gpioPin: 17
|
gpioPin: 4
|
||||||
gpioChip: gpiochip0
|
gpioChip: gpiochip0
|
||||||
pulseEvery: 1m
|
pulseEvery: 1m
|
||||||
pulseWidth: 1s
|
pulseWidth: 1s
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ serial:
|
|||||||
device: /dev/ttyAMA0
|
device: /dev/ttyAMA0
|
||||||
baud: 115200
|
baud: 115200
|
||||||
brc:
|
brc:
|
||||||
gpioPin: 17
|
gpioPin: 4
|
||||||
gpioChip: gpiochip0
|
gpioChip: gpiochip0
|
||||||
pulseEvery: 1m
|
pulseEvery: 1m
|
||||||
pulseWidth: 1s
|
pulseWidth: 1s
|
||||||
|
|||||||
Reference in New Issue
Block a user