User Tools

Site Tools


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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:ros_seek_cam [2019/11/20 22:07] lrodriguezptutorials:ros_seek_cam [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 6: Line 6:
 http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
 ====== Install pyseek ====== ====== Install pyseek ======
-The library to use the camera must be downloaded+The library to use the camera must be downloaded. It is recommended to place it in the catkin_ws folder.
   $ git clone https://github.com/adrobinoga/pyseek.git   $ git clone https://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 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
Line 14: Line 14:
   pip install pyusb   pip install pyusb
 And also install scipy as a requirement And also install scipy as a requirement
-  sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose +  sudo apt-get install python-scipy 
-  +
 Finally, you must have image-transport-plugins and image-view for your ROS distribution. Usually, you already have it. You can check with the apt-cache search command.  Finally, you must have image-transport-plugins and image-view for your ROS distribution. 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.  **Note: The path of export and source (on the next step) must be complete. You can get the full path with pwd command. 
  
 ====== Setup seek-cam package ====== ====== Setup seek-cam package ======
-Use the following commands to get and build the ROS node:+Use the following commands to get and build the ROS node. It is recommended to place it in the catkin_ws folder.:
   $ git clone https://gitlab.com/arcoslab/ros_seek_cam.git   $ git clone https://gitlab.com/arcoslab/ros_seek_cam.git
   $ cd ros_seek_cam/   $ cd ros_seek_cam/
-  $ catkin_make+If you are using the catkin_ws folder, use catkin_make in catkin_ws folder. If not, use catkin_make inside ros_seek_cam.
 Then append the following command to .bashrc file: Then append the following command to .bashrc file:
   source /<full>/<path>/devel/setup.bash   source /<full>/<path>/devel/setup.bash
Line 29: Line 28:
 With the line: With the line:
   SUBSYSTEM=="usb", ATTR{idVendor}=="<vendor id>", ATTR{idProduct}=="<product id>", MODE="0666"   SUBSYSTEM=="usb", ATTR{idVendor}=="<vendor id>", ATTR{idProduct}=="<product id>", MODE="0666"
-Where the vendor id and the product id, can be obtained with the dmesg command after connecting the seek camera.+Where the vendor id and the product id, can be obtained with the dmesg command after connecting the seek camera. The last camara used on the humanoid robot had 289d as idVendor and 0010 as idProduct.
 Then restart the udev service (if you are using a docker container you can skip this step, because udev doesn't support containers) : Then restart the udev service (if you are using a docker container you can skip this step, because udev doesn't support containers) :
   $ sudo service udev restart   $ sudo service udev restart
Line 45: Line 44:
   $ rosrun seek_cam seek_cam_node.py   $ rosrun seek_cam seek_cam_node.py
 Open another terminal and run the following command to visualize thermal images with the image_view package: Open another terminal and run the following command to visualize thermal images with the image_view package:
-$ rosrun image_view image_view image:=/thermalview _image_transport:=compressed+  $ rosrun image_view image_view image:=/thermalview _image_transport:=compressed
 ===== API Reference ===== ===== API Reference =====
 ==== Topic ==== ==== Topic ====
tutorials/ros_seek_cam.1574287639.txt.gz · Last modified: 2022/09/20 00:08 (external edit)