diff --git a/translated_sandbox/gk7502v300/etc/majestic.yaml b/translated_sandbox/gk7502v300/etc/majestic.yaml new file mode 100644 index 0000000..ba71464 --- /dev/null +++ b/translated_sandbox/gk7502v300/etc/majestic.yaml @@ -0,0 +1,69 @@ +system: + webAdmin: disabled + buffer: 1024 +image: + mirror: false + flip: false + rotate: none + contrast: 50 + hue: 50 + saturation: 50 + luminance: 50 +osd: + enabled: false + template: "%a %e %B %Y %H:%M:%S %Z" +nightMode: + enabled: false +records: + enabled: false + path: /mnt/mmcblk0p1/%Y-%m-%d-%H.mp4 + maxUsage: 95 +video0: + enabled: true + bitrate: 5192 + codec: h265 + rcMode: cbr + gopSize: 0.2 + size: 1920x1080 + fps: 30 + #crop: 320x180x1280x720 +video1: + enabled: false +jpeg: + enabled: false +mjpeg: + size: 640x360 + fps: 5 + bitrate: 1024 +audio: + enabled: false + volume: auto + srate: 8000 +rtsp: + enabled: false + port: 554 +hls: + enabled: false +youtube: + enabled: false +motionDetect: + enabled: false + visualize: true + debug: true +ipeye: + enabled: false +watchdog: + enabled: false + timeout: 10 +isp: + sensorConfig: /etc/sensors/smtsec_imx307_i2c_4l_1080p.ini + slowShutter: disabled + drc: 420 + lowDelay: true + #rawMode: none + blkCnt: 12 + #dis: true +netip: + enabled: false +outgoing: +- udp://127.0.0.1:5600 diff --git a/translated_sandbox/gk7502v300/etc/telemetry.conf b/translated_sandbox/gk7502v300/etc/telemetry.conf new file mode 100644 index 0000000..bf1e5fd --- /dev/null +++ b/translated_sandbox/gk7502v300/etc/telemetry.conf @@ -0,0 +1,20 @@ +serial=/dev/ttyAMA0 +baud=115200 +### router: use simple mavfwd (0) or classic mavlink-routerd (1) +router=0 + +wlan=wlan0 +bandwidth=20 +stbc=1 +ldpc=1 +mcs_index=1 +stream_rx=144 +stream_tx=16 +link_id=7669206 +port_rx=14551 +port_tx=14550 +fec_k=1 +fec_n=2 +fec_timeout=0 +guard_interval=long +one_way=false diff --git a/translated_sandbox/gk7502v300/etc/wfb.conf b/translated_sandbox/gk7502v300/etc/wfb.conf new file mode 100644 index 0000000..1b3a244 --- /dev/null +++ b/translated_sandbox/gk7502v300/etc/wfb.conf @@ -0,0 +1,18 @@ +wlan=wlan0 +region=BO +# By default used channel number, but, you may set freq instead. For ex: 2387M +channel=44 +frequency= +txpower=20 +driver_txpower_override=20 +bandwidth=20 +stbc=1 +ldpc=1 +mcs_index=1 +stream=0 +link_id=7669206 +udp_port=5600 +fec_k=8 +fec_n=12 +fec_timeout=0 +guard_interval=long diff --git a/translated_sandbox/gk7502v300/root/ircut.sh b/translated_sandbox/gk7502v300/root/ircut.sh new file mode 100644 index 0000000..9eef153 --- /dev/null +++ b/translated_sandbox/gk7502v300/root/ircut.sh @@ -0,0 +1,32 @@ +#use: ./ircut.sh on | off + +function gpio_setup { + if [ ! -e /sys/class/gpio/gpio$1 ]; then + echo $1 > /sys/class/gpio/export + fi + echo $2 > /sys/class/gpio/gpio$1/direction +} + +function set_gpio { + echo $2 > /sys/class/gpio/gpio$1/value +} + +function ircut_on { + set_gpio 11 0 + set_gpio 10 1 + sleep 0.1 + set_gpio 11 0 +} + +function ircut_off { + set_gpio 11 1 + set_gpio 10 0 + sleep 0.1 + set_gpio 11 0 +} + +gpio_setup 11 out +gpio_setup 10 out +ircut_$1 + + diff --git a/translated_sandbox/gk7502v300/usr/lib/sensors/libsns_imx307.so b/translated_sandbox/gk7502v300/usr/lib/sensors/libsns_imx307.so new file mode 100644 index 0000000..e6c30e7 Binary files /dev/null and b/translated_sandbox/gk7502v300/usr/lib/sensors/libsns_imx307.so differ