root@ubuntu:~# sudo apt list | grep hhp
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
hhp-verify/unknown,now 1.0.0 arm64 [installed,automatic]
hhp/unknown,now 1.0.5 arm64 [installed]
root@ubuntu:~#
root@ubuntu:~# source /opt/tros/setup.bash
root@ubuntu:~# export CAM_TYPT=usb
root@ubuntu:~# ros2 launch dnn_node_example hobot_dnn_node_example.launch.py config_file:=config/fcosworkconfig.json image_width:=480 image_height:=272
[INFO] [launch]: All log files can be found below /root/.ros/log/2022-09-03-08-16-35-631437-ubuntu-10471
[INFO] [launch]: Default logging verbosity is set to INFO
dnn_node_example_path is /opt/tros/lib/dnn_node_example
cp_cmd is cp -r /opt/tros/lib/dnn_node_example/config .
runtime path is existing
camera_type is None
invalid camera_type None , which is set with export CAM_TYPE=usb/mipi, using default mipi cam
launch webserver
pwd_path is /root
webserver_path is /opt/tros/lib/websocket/webservice
launch webserver cmd is ./sbin/nginx -p .
[INFO] [mipi_cam-1]: process started with pid [10508]
[INFO] [hobot_codec_republish-2]: process started with pid [10510]
[INFO] [example-3]: process started with pid [10512]
[INFO] [websocket-4]: process started with pid [10514]
[example-3] [WARN] [1662164197.479428285] [example]: This is dnn node example!
[example-3] [WARN] [1662164197.672185109] [example]: Parameter:
[example-3] feed_type(0:local, 1:sub): 1
[example-3] image: config/test.jpg
[example-3] image_type: 0
[example-3] dump_render_img: 0
[example-3] is_sync_mode_: 0
[example-3] is_shared_mem_sub: 1
[example-3] model_file_name: config/runtime/fcos/fcos_512x512_nv12.bin
[example-3] model_name: fcos_512x512_nv12
[example-3] [BPU_PLAT]BPU Platform Version(1.3.1)!
[example-3] [C][10512][09-03][08:16:37:708][configuration.cpp:49][EasyDNN]EasyDNN version: 0.4.11
[example-3] [HBRT] set log level as 0. version = 3.14.5
[example-3] [DNN] Runtime version = 1.9.7_(3.14.5 HBRT)
[example-3] [WARN] [1662164197.874838502] [example]: Create ai msg publisher with topic_name: hobot_dnn_detection
[example-3] [WARN] [1662164197.875030380] [example]: Create img hbmem_subscription with topic_name: /hbmem_img
[mipi_cam-1] [ERROR] [1662164198.050421395] [mipi_cam]: Cannot open ‘F37’: 121, Remote I/O error
[mipi_cam-1] [ERROR] [1662164198.052776390] [mipi_node]: video dev ‘F37’ config err
[mipi_cam-1] terminate called after throwing an instance of ‘rclcpp::exceptions::RCLError’
[mipi_cam-1] what(): could not create publisher: rcl node’s context is invalid, at /home/kairui/cc_ws_release/tros_ws/src/tros/rcl/rcl/src/rcl/node.c:441
[ERROR] [mipi_cam-1]: process has died [pid 10508, exit code -6, cmd ‘/opt/tros/lib/mipi_cam/mipi_cam --ros-args --log-level error --ros-args --params-file /tmp/launch_params_v_vcs5zf --params-file /tmp/launch_params_u3g0q6vk --params-file /tmp/launch_params_bx7vptk6 --params-file /tmp/launch_params_c6x9axgd --params-file /tmp/launch_params_al65w0sc’].