Skip to content

Commit

Permalink
modify msposd gs OSD udp port 14551
Browse files Browse the repository at this point in the history
[[Feature] Support msposd ground station
OSD](OpenIPC/firmware#1671)
  • Loading branch information
lida2003 committed Jan 19, 2025
1 parent c31a5f5 commit b8b5f25
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 44 deletions.
8 changes: 4 additions & 4 deletions scripts/deepstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ DEEPSTREAM_PIDFILE="/var/run/deepstream.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# python3 ./utils/deepstream/deepstream.py -i rtp://@:5600
CMD_DEEPSTREAM="python3 ./utils/deepstream/deepstream.py -i rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/detectnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ WFB_PIDFILE="/var/run/wfb.pid"
DETECTNET_PIDFILE="/var/run/video.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# video-viewer --input-codec=h265 rtp://@:5600
CMD_DETECTNET="detectnet rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/dsyolo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ DSYOLO_PIDFILE="/var/run/dsyolo.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# ./jetson-yolo -c source_config_yolov8n.txt
CMD_DSYOLO="./jetson-yolo"

Expand Down
8 changes: 4 additions & 4 deletions scripts/gstreamer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ GSTREAMER_PIDFILE="/var/run/gstreamer.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# python3 ./utils/gstreamer.py 5600 --input-codec=h265
CMD_GSTREAMER="python3 ./utils/gstreamer.py 5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/imagenet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ WFB_PIDFILE="/var/run/wfb.pid"
IMAGENET_PIDFILE="/var/run/imagenet.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# imagenet --input-codec=h265 rtp://@:5600
CMD_IMAGENET="imagenet rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/posenet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ WFB_PIDFILE="/var/run/wfb.pid"
POSENET_PIDFILE="/var/run/posenet.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# posenet --input-codec=h265 rtp://@:5600
CMD_POSENET="posenet rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/segnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ WFB_PIDFILE="/var/run/wfb.pid"
SEGNET_PIDFILE="/var/run/segnet.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# segnet --input-codec=h265 rtp://@:5600
CMD_SEGNET="segnet rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/stabilizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ STABILIZER_PIDFILE="/var/run/stabilizer.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# python3 ./utils/stabilizer.py rtp://@:5600 --input-codec=h265
CMD_STABILIZER="python3 ./utils/stabilizer.py rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/viewer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ WFB_PIDFILE="/var/run/wfb.pid"
VIDEO_PIDFILE="/var/run/video.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# video-viewer --input-codec=h265 rtp://@:5600
CMD_VIDEO="video-viewer rtp://@:5600"

Expand Down
8 changes: 4 additions & 4 deletions scripts/wfb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ MSPOSD_PIDFILE="/var/run/msposd.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"

# Define the module's lock file directory (ensure the directory exists)
LOCK_DIR="/tmp/module_locks"
Expand Down
8 changes: 4 additions & 4 deletions scripts/yolo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ YOLO_PIDFILE="/var/run/yolo.pid"
WFB_PIDFILE="/var/run/wfb.pid"

# commands for wrapper
# wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 17 -i 7669206 -u 14560 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14560 --osd -r 50 --ahi 1 --matrix 11"
# wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1
CMD_WFBRX="wfb_rx -p 16 -i 7669206 -u 14551 -K /etc/gs.key wlan1"
# ./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11
CMD_MSPOSD="./msposd --master 127.0.0.1:14551 --osd -r 50 --ahi 1 --matrix 11"
# python3 ./utils/yolo.py rtp://@:5600 --input-codec=h265
CMD_YOLO="python3 ./utils/yolo.py rtp://@:5600"

Expand Down

0 comments on commit b8b5f25

Please sign in to comment.