RICOH THETA S camera - getting start with ROS

1. Install dependencies

$sudo apt-get update
$sudo apt-get install ros-<distro>-usb-cam

2. Turn on device with live streaming mode [1]

3. Create a ROS workspace with source files and build

$ mkdir -p ~/RICOH/src
$ cd ~/RICOH/
$ catkin_make
$ cd src
$ git clone https://github.com/ntrlmt/theta_s_uvc
$ cd ../dev
$ souece setup.bash
 
4. Check device port and run

$ ls /dev/video*
$ roslaunch theta_s_uvc theta_s_uvc_start.launch device:=/dev/video0 enable_image_view:=true

5. Display

$ rosrun rqt_image_view rqt_image_view
$ rosrun rviz rviz

Reference:
[1] https://support.theta360.com/ja/manual/s/content/streaming/streaming_01.html
[2] http://zhaoxuhui.top/blog/2019/10/20/ros-note-8.html

留言

這個網誌中的熱門文章

Tuing PID parameters in QGroundcontrol (2)

Useful PX4 Parameters

Burn linux image to eMMC storage on Banana Pi M3