raspicam_node

asked 2017-10-27 14:03:45 -0500

elpidiovaldez gravatar image

I am following the raspicam_node instructions from raspicam_node on github. I am using raspbian, I installed ROS Kinetic from source. I installed the Raspberry camera V" (it works for stills and video). Then I followed the instructions from github to install raspicam_node. I had to use catkin_make_isolated --pkg raspicam_node instead of catkin_make.

The make appeared to run without errors and rospack list shows raspicam_node in the list of packages. Unfortunately roslaunch fails giving:

roslaunch raspicam_node camera_module_v2_640x480_30fps.launch
... logging to /home/pi/.ros/log/ea0f7ee6-bb42-11e7-be9c-247703b09b04/roslaunch-thalia-3528.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://thalia:43418/

SUMMARY
========

PARAMETERS
 * /raspicam_node/camera_frame_id: raspicam
 * /raspicam_node/camera_info_url: package://raspica...
 * /raspicam_node/framerate: 30
 * /raspicam_node/height: 480
 * /raspicam_node/width: 640
 * /rosdistro: kinetic
 * /rosversion: 1.12.5

NODES
  /
    raspicam_node (raspicam_node/raspicam_node)

ROS_MASTER_URI=http://zen:11311

core service [/rosout] found
ERROR: cannot launch node of type [raspicam_node/raspicam_node]: can't locate node [raspicam_node] in package [raspicam_node]
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete

I have tried to find an executable for raspicam_node without success. My problem is that I am not familiar with ROS or cmake and am overwhelmed my abstraction and complexity when I try to find out what is going on. I am not sure that anything was actually built at all ! What should the output of the raspicam build be ? Roughly where should I look for it ?

The output of the build was:

catkin_make_isolated --pkg raspicam_node
Base path: /home/pi/Documents/ROS/ros_catkin_ws
Source space: /home/pi/Documents/ROS/ros_catkin_ws/src
Build space: /home/pi/Documents/ROS/ros_catkin_ws/build_isolated
Devel space: /home/pi/Documents/ROS/ros_catkin_ws/devel_isolated
Install space: /home/pi/Documents/ROS/ros_catkin_ws/install_isolated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 120 packages in topological order:
~~  - catkin
~~  - genmsg
~~  - gencpp
~~  - geneus
~~  - genlisp
~~  - gennodejs
~~  - genpy
~~  - angles
~~  - bond_core
~~  - cmake_modules
~~  - class_loader
~~  - common_msgs
~~  - cpp_common
~~  - image_common
~~  - image_pipeline
~~  - image_transport_plugins
~~  - laser_pipeline
~~  - message_generation
~~  - message_runtime
~~  - mk
~~  - nodelet_core
~~  - opencv3 (plain cmake)
~~  - orocos_kdl (plain cmake)
~~  - perception
~~  - perception_pcl
~~  - python_orocos_kdl (plain cmake)
~~  - ros
~~  - ros_base
~~  - ros_comm
~~  - ros_core
~~  - rosbag_migration_rule
~~  - rosbash
~~  - rosboost_cfg
~~  - rosbuild
~~  - rosclean
~~  - roscpp_core
~~  - roscpp_traits
~~  - roscreate
~~  - rosgraph
~~  - roslang
~~  - roslisp
~~  - rosmake
~~  - rosmaster
~~  - rospack
~~  - roslib
~~  - rosparam
~~  - rospy
~~  - rosservice
~~  - rostime
~~  - roscpp_serialization
~~  - roslaunch
~~  - rosunit
~~  - rosconsole
~~  - pluginlib
~~  - rosconsole_bridge
~~  - roslz4
~~  - rosbag_storage
~~  - rostest
~~  - smclib
~~  - std_msgs
~~  - actionlib_msgs
~~  - bond
~~  - diagnostic_msgs
~~  - geometry_msgs
~~  - eigen_conversions
~~  - nav_msgs
~~  - rosgraph_msgs
~~  - rosmsg
~~  - sensor_msgs
~~  - image_geometry
~~  - pcl_msgs
~~  - shape_msgs
~~  - std_srvs
~~  - stereo_msgs
~~  - tf2_msgs
~~  - tf2
~~  - tf2_eigen
~~  - trajectory_msgs
~~  - vision_opencv
~~  - visualization_msgs
~~  - xmlrpcpp
~~  - roscpp
~~  - bondcpp
~~  - bondpy
~~  - camera_calibration_parsers
~~  - nodelet
~~  - pcl_conversions
~~  - rosout
~~  - camera_calibration
~~  - cv_bridge
~~  - dynamic_reconfigure
~~  - filters
~~  - message_filters
~~  - image_transport
~~  - camera_info_manager
~~  - polled_camera
~~  - rosnode
~~  - rostopic
~~  - roswtf
~~  - tf2_py
~~  - topic_tools
~~  - rosbag
~~  - actionlib
~~  - compressed_depth_image_transport
~~  - compressed_image_transport
~~  - image_proc
~~  - image_view
~~  - nodelet_topic_tools
~~  - raspicam_node
~~  - stereo_image_proc
~~  - tf2_ros
~~  - depth_image_proc
~~  - tf
~~  - laser_geometry
~~  - laser_assembler
~~  - laser_filters
~~  - pcl_ros
~~  - tf2_geometry_msgs
~~  - image_rotate
~~  - theora_image_transport
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Skipping package: 'catkin'
Skipping package: 'genmsg'
Skipping package: 'gencpp'
Skipping package: 'geneus'
Skipping package: 'genlisp'
Skipping package: 'gennodejs'
Skipping package: 'genpy'
Skipping package: 'angles'
Skipping package: 'bond_core'
Skipping package: 'cmake_modules'
Skipping package: 'class_loader'
Skipping package: 'common_msgs'
Skipping package: 'cpp_common'
Skipping package: 'image_common'
Skipping package: 'image_pipeline'
Skipping package: 'image_transport_plugins'
Skipping package: 'laser_pipeline'
Skipping package: 'message_generation'
Skipping package: 'message_runtime'
Skipping package: 'mk'
Skipping package: 'nodelet_core'
Skipping package: 'opencv3'
Skipping package: 'orocos_kdl'
Skipping package: 'perception'
Skipping ...
(more)
edit retag flag offensive close merge delete

Comments

You can create new catkin workspace to build raspicam_node package. This will at least get rid of checking packages that are already installed on your system.

l4ncelot gravatar imagel4ncelot ( 2017-10-30 02:57:06 -0500 )edit

Don't forget to source your new workspace though.

l4ncelot gravatar imagel4ncelot ( 2017-10-30 02:57:43 -0500 )edit