1 Star 0 Fork 0

culapple/flowpilot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
launch_flowpilot.sh 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
MankaranSingh 提交于 2023-05-24 11:54 . fix simulation
set -e
source ./.env
export WIDE_ROAD_CAMERA_SOURCE="selfdrive/assets/fcam.avi" # no affect on android
export ROAD_CAMERA_SOURCE="selfdrive/assets/tmp" # no affect on android
export USE_GPU="0" # no affect on android, gpu always used on android
export PASSIVE="0"
#export MSGQ="1"
#export USE_PARAMS_NATIVE="1"
export ZMQ_MESSAGING_PROTOCOL="TCP" # TCP, INTER_PROCESS, SHARED_MEMORY
#export DISCOVERABLE_PUBLISHERS="1" # if enabled, other devices on same network can access sup/pub data.
#export DEVICE_ADDR="127.0.0.1" # connect to external device running flowpilot over same network. useful for livestreaming.
export SIMULATION="1"
#export FINGERPRINT="HONDA CIVIC 2016"
## android specific ##
export USE_SNPE="0" # only works for snapdragon devices.
if ! command -v tmux &> /dev/null
then
echo "tmux could not be found, installing.."
sudo apt-get update
sudo apt-get install tmux
echo "set -g mouse on" >> .tmux.conf # enable mouse scrolling in tmux
fi
if pgrep -x "flowinit" > /dev/null
then
echo "another instance of flowinit is already running"
exit
else
# start a tmux pane
tmux new-session -d -s "flowpilot" "scons && flowinit"
tmux attach -t flowpilot
fi
while true; do sleep 1; done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/culapple/flowpilot.git
git@gitee.com:culapple/flowpilot.git
culapple
flowpilot
flowpilot
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385