User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/ros_seek_cam.meta failed
tutorials:ros_seek_cam

This is an old revision of the document!


ROS

A working installation of ROS must be installed, before building and running this package. Install ROS http://wiki.ros.org/indigo/Installation/Ubuntu Then set up the ROS environment http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment

Install pyseek

The library to use the camera must be downloaded

$ git clone git@github.com:adrobinoga/pyseek.git

In order to use this lib you must append the path to this lib to PYTHONPATH, you may do this appending the next line at the end of your .bashrc file

export PYTHONPATH="${PYTHONPATH}:/path/of/your/download/pyseek"

You must also install pyUSB with

pip install pyusb

Finally, you must have image-transport-plugins and image-view for ROS. Usually, you already have it. You can check with the apt cache search command. **Note: The path of export and source (on the next step) must be complete. You can get the full path with pwd command.

Download and build seek_cam package

$ git clone git@github.com:arcoslab/ros_seek_cam.git
$ cd ros_seek_cam/
$ catkin_make

then source setup.bash

$ source devel/setup.bash

this last step must be executed from every terminal before using this package

Run

Now from the same terminal where we source the setup.bash We may run the launch file view_seek.launch to see the camera's output

$ roslaunch seek_cam view_seek.launch

We may also use rosrun

$ roscore
$ rosrun seek_cam seek_cam_node.py

and see the published messages with

$ rostopic echo /thermalview/compressed

Author

Alexander Marin Drobinoga alexanderm2230@gmail.com

tutorials/ros_seek_cam.1574228381.txt.gz · Last modified: 2022/09/20 00:08 (external edit)