Camera in ROS and VISCA

本文主要介绍与camera相关的一些内容,其中首先介绍在ros中使用camera,其次给出了visca库的使用方法,之后我给该库做了一个简单的ros的封装,还有待于改善,最后是一个开源的机载云台。

use ros to read camera

如果是UVC版本的camera,可以是用uvc_camera and image_view 来读取和显示图像。

sudo apt-get install ros-indigo-uvc-camera
sudo apt-get install ros-indigo-image-view

node is called by

$rosrun uvc_camera uvc_camera_node
$rosrun image_view image_view image:=/image_raw

we can check the ros topics

rostopic list

launch file

<launch>
  <node name="uvc_camera" pkg="uvc_camera" type="uvc_camera_node" output="screen" >
  </node>
  <node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen">
    <remap from="image" to="/image_raw"/>
  </node>
</launch>

也可以使用另外一个usb_cam的驱动

$ sudo apt-get install ros-indigo-usb-camera

因此所使用launch文件是这样的。

<launch>
  <node name="usb_cam" pkg="us
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值