ubuntu使用noetic驱动axis相机
2026/9/1 4:59:24 网站建设 项目流程

axis相机不需要下载sdk

按照以下步骤即可使用ros noetic驱动

mkdir -p axis_ws/src cd axis_ws/src git clone https://github.com/ros-drivers/axis_camera.git git clone https://github.com/ros-perception/camera_info_manager_py.git cd ~/axis_ws catkin_make source devel/setup.bash roslaunch axis_camera axis.launch hostname:=192.168.0.90 username:=root password:=pass encrypt_password:=true

源码安装axis_camera是因为ubuntu20.04自带的axis_camera版本过久,使用的是python2,源码安装的是适配python3,安装camera_info_manager_py则是因为ubuntu默认使用c++版本的camera_info_manager,而源码安装的axis_camera要求python版本,然后axis相机默认网段为192.168.0.xx,修改至该网段,同时子网掩码设置为255.255.255.0

在设置账号密码前,axis默认账号为root,密码为pass,但在ros中会显示pass是加密后的密码,需添加encrypt_password:=true,使其验证后,才能在rqt_image_view中看到

/axis/image_raw/compressed话题显示的目录

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询