地平线horizon x3开发板运行方式

本文档展示了在Linux系统中执行部署脚本的过程。用户在/deploy目录下运行run_body.sh脚本,选择特定硬件配置,如f37_1080p摄像头。然而,脚本执行过程中遇到了文件不存在的错误,如box_filter_config_2M.json等,并且在尝试修改设备权限时遇到权限被拒绝的问题。最后,脚本显示了相机初始化失败的错误信息。
摘要由CSDN通过智能技术生成

接上一篇文章,在deploy目录下会有很多运行的脚本

root@x3sdbx3-samsung2G-3200:/userdata/deploy# ls
configs               lib                   models                multitask_perception  run_body.sh           run_face_recog.sh     start_nginx.sh        webservice

执行脚本:

root@x3sdbx3-samsung2G-3200:/userdata/deploy# sh run_body.sh
/userdata/deploy
Choose lunch x3 vio type menu...pick a combo:
    1. single cam
    2. single feedback
Which would you like?
1
 You choose 1:single_cam
Choose lunch single cam sensor menu...pick a combo:
    1. single camera: os8a10, 2160P
    2. single camera: os8a10, 1080P
    3. single camera: usb_cam, 1080P
    4. single camera: f37_1080p, 1080P
Which would you like?
4
 You choose 3:f37_1080p
vio_mode: panel_camera
vio_pipe_file: configs/vio/x3dev/iot_vio_x3_f37_1080p.json
sensor is f37_1080p, default resolution 1080P, 1080P X3 JPEG Codec...
cp: can't stat 'usb_camera/configs/box_filter_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/gesture_multitask_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_with_hand_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_with_hand_960x544_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_body_kps_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/segmentation_multitask_2M.json': No such file or directory
sh: write error: Device or resource busy
run_body.sh: line 160: can't create /sys/devices/platform/soc/b2000000.usb/role: Permission denied
sh: write error: No such device
/usr/bin/adbd is not runnning
Detecting platform:
 board : Hobot XJ3 SOC SDB
 udc   :
cat: can't open '/sys/devices/platform/soc/b2000000.usb//role': No such file or directory
not usb gadget mode, can't start usb-gadget
vio_cfg_file: ./configs/vio_config.json.x3dev.cam
turn on mallopt
use bpu native engine
[1970-01-01 08:07:36 INFO 548106493984 hr_api.cpp:479] HorizonRT version = 1.4.2
[1970-01-01 08:07:36 INFO 548106493984 hr_api.cpp:484] hbrt version = 3.11.4
[HBRT] set log level as 0. version = 3.11.4
bpu engine_type is naive.
[BPU_PLAT]Makesure BPU Core Opened!!!)
[BPU_PLAT]BPU Platform Version(1.3.0)!
naive engine use core-engine type is naive.
[BPU_PLAT]Makesure BPU Core(1) Opened!!!
naive engine use core-engine type is naive.
(vio_pipeconfig.cc:51): Open config file1 configs/vio/x3dev/iot_vio_x3_f37_1080p.json
(vin_module.cc:947): not surpport sensor type
(vin_module.cc:1055): not surpport sensor type
(vin_module.cc:1094): not surpport sensor type
[ERROR][camera][utility/hb_cam_utility.c:198] camera write 0x12 fail
[ERROR][camera][utility/hb_cam_utility.c:686] sensor_init fail
[ERROR][][mipi/hb_mipi_api.c:151] hb_cam_utility error!
(vin_module.cc:288): hb mipi init sensor error, ret: -31 dev_id: 0
(vin_module.cc:157): hb sensor init error, ret: -31 pipe_id: 0 sensor_id: 16 mipi_idx: 0

根据自己的需求选择对应的硬件配置

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值