#!/bin/bash
set -e
SDK_PATH=/home/caros/cyberrt/bin/
stop_neolix_cam(){
echo ""
}
start_neolix_cam_test(){
echo "############# start camera #############"
cd /home/caros/cyberrt && source setup.bash
mainboard -d camera_fpd_link_xavier_perception.dag -p camera_fpd_link_perception -s CYBER_DEFAULT
sleep 5
}
start_nv_sdk(){
cd $SDK_PATH
killpid=`ps -ef | egrep neolix_nv_camera | egrep -v grep | awk '{print $2}'`
if [ -n "$killpid" ] ; then taskset -cp 5 $killpid ; fi
cd -
}
help_info()
{
echo -e "NAME" FNAME=`basename $0`
echo -e "\t $FNAME"
echo -e "SYNOPSIS"
echo -e "\t $FNAME is a tool for happy. ^_^"
echo -e "DESCRIPTION"
echo -e "\toption -d into neolix docker"
echo -e "\toption -h help"
}
t_wget()
{
rm -f $1
wget ftp://192.167.0.105:/$1
chmod +x $1
}
CF_wget()
{
rm rf index.html
wget --user=c1firmware --password=oEVwcRCXuHS3TLyy ftp://10.2.166.130/C1/$1/
FF=`cat index.htm
07-13
2351

05-12
4952

07-17
2824
