ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosrun can't find camera1394_node or camera1394_nodelet

asked 2014-09-09 11:05:14 -0600

benabruzzo gravatar image

I am running ROS Indigo on a fresh install of Ubuntu 14.04 (Linux turtlebot 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)

The only ROS package is the 1394-master branch as downloaded from github: https://github.com/ros-drivers/camera...

When I try to run the camera1394_node, ros can't find the executable:

turtlebot@turtlebot:~/ros$ rosrun camera1394 camera1394_node
[rosrun] Couldn't find executable named camera1394_node below /home/turtlebot/ros/src/camera1394-master

Its the same with camera1394_nodelet:

turtlebot@turtlebot:~/ros$ rosrun camera1394 camera1394_nodelet
[rosrun] Couldn't find executable named camera1394_nodelet below /home/turtlebot/ros/src/camera1394-master

I don't see any errors when I catkin_make:

$ cd ~/ros/ && catkin_make
Base path: /home/turtlebot/ros
Source space: /home/turtlebot/ros/src
Build space: /home/turtlebot/ros/build
Devel space: /home/turtlebot/ros/devel
Install space: /home/turtlebot/ros/install
####
#### Running command: "cmake /home/turtlebot/ros/src -DCATKIN_DEVEL_PREFIX=/home/turtlebot/ros/devel -DCMAKE_INSTALL_PREFIX=/home/turtlebot/ros/install" in "/home/turtlebot/ros/build"
####
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /home/turtlebot/ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.6") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/turtlebot/ros/build/test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.9
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - camera1394
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'camera1394'
-- ==> add_subdirectory(camera1394-master)
-- Using these message generators: gencpp;genlisp;genpy
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'libdc1394-2'
--   found libdc1394-2, version 2.2.1
-- camera1394: 0 messages, 2 services
-- Configuring done
-- Generating done
-- Build files have been written to: /home/turtlebot/ros/build
####
#### Running command: "make -j4" in "/home/turtlebot/ros/build"
####
Scanning dependencies of target _camera1394_generate_messages_check_deps_SetCameraRegisters
Scanning dependencies of target std_msgs_generate_messages_cpp
Scanning dependencies of target _camera1394_generate_messages_check_deps_GetCameraRegisters
Scanning dependencies of target camera1394_gencfg
[  0%] Built target std_msgs_generate_messages_cpp
[  4%] Generating dynamic reconfigure files from cfg/Camera1394.cfg: /home/turtlebot/ros/devel/include/camera1394/Camera1394Config.h /home/turtlebot/ros/devel/lib/python2.7/dist-packages/camera1394/cfg/Camera1394Config.py ...
(more)
edit retag flag offensive close merge delete

Comments

Tutorial fail: source ./devel/setup.bash
/\/\ running this allows me to now run camera1394_node, the nodlet is still missing

benabruzzo gravatar image benabruzzo  ( 2014-09-10 16:13:00 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-12 05:11:14 -0600

joq gravatar image

I am on vacation until next week.

This driver was recently released as an Indigo package. You can install it this way:

sudo apt-get install ros-indigo-camera1394
edit flag offensive delete link more

Comments

Worked like a charm.

benabruzzo gravatar image benabruzzo  ( 2014-09-12 15:33:52 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-09-09 11:05:14 -0600

Seen: 498 times

Last updated: Sep 12 '14