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

Issue installing USB_CAM on Groovy Raspbian

asked 2014-01-14 12:05:16 -0600

4LV4R0 gravatar image

updated 2014-01-28 17:19:02 -0600

ngrennan gravatar image

Good night partners

I would like to use an usb camera (common usb camera) on my raspberry pi running groovy-raspbian.

I've just followed the instructions in

http://wiki.ros.org/ROSberryPi/Setting%20up%20ROS%20on%20RaspberryPi#ROS_Peripherals

At step 4.1 when I finally type roscd usb_cam I have the following:

roscd: No such package/stack 'usb_cam

Where am I wrong? Where is my mistake?

Thanks you so much

EDIT1 : I have also downloaded this https://github.com/bosch-ros-pkg-release/usb_cam-release/releases/tag/release%2Fgroovy%2Fusb_cam%2F0.1.3-0 but I'm not sure if it will help me. I don't really know how to proceed with this.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2014-01-14 20:37:00 -0600

tfoote gravatar image

You need to make sure that usb_cam is in your ROS_PACKAGE_PATH so that the package can be found.

edit flag offensive delete link more

Comments

Could you take a look on my answer below please?

4LV4R0 gravatar image 4LV4R0  ( 2014-01-15 23:46:47 -0600 )edit
0

answered 2014-01-15 00:27:35 -0600

4LV4R0 gravatar image

updated 2014-01-16 06:34:23 -0600

First of all thanks son much for your interest.

When I type rospack profile I´m given the next:

Full tree crawl took 0.390944 seconds. Directories marked with (*) contain no manifest. You may want to delete these directories. To get just of list of directories without manifests,

re-run the profile with --zombie-only


0.357617 /opt/ros/groovy/share

0.080112 * /opt/ros/groovy/share/common-lisp

0.078580 * /opt/ros/groovy/share/common-lisp/ros

0.023433 /home/pi/catkin_ws/src

0.018165 /home/pi/catkin_ws/src/rosserial

0.008608 * /opt/ros/groovy/share/common-lisp/ros/std_msgs

0.008132 * /opt/ros/groovy/share/common-lisp/ros/sensor_msgs

0.006977 * /opt/ros/groovy/share/OpenCV

0.006740 * /opt/ros/groovy/share/common-lisp/ros/geometry_msgs

0.006124 * /opt/ros/groovy/share/common-lisp/ros/actionlib

0.004856 * /opt/ros/groovy/share/common-lisp/ros/dynamic_reconfigure

0.003995 * /opt/ros/groovy/share/common-lisp/ros/turtlesim

0.003152 * /opt/ros/groovy/share/common-lisp/ros/std_msgs/msg

0.003150 * /opt/ros/groovy/share/common-lisp/ros/rospy_tutorials

0.003122 * /opt/ros/groovy/share/common-lisp/ros/roscpp

0.003081 * /opt/ros/groovy/share/common-lisp/ros/diagnostic_msgs

0.002921 * /opt/ros/groovy/share/common-lisp/ros/rosserial_msgs

0.002764 * /opt/ros/groovy/share/common-lisp/ros/tf

0.002659 * /opt/ros/groovy/share/common-lisp/ros/geometry_msgs/msg

0.002575 * /opt/ros/groovy/share/common-lisp/ros/sensor_msgs/msg

If I type echo &ROS_PACKAGE_PATH I´m given:

/home/pi/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks

May I have to do an export or something similar? In this case, how would be the semantics?

Maybe

export ROS_PACKAGE_PATH=/home/pi/catkin_ws/bosch_drivers/usb_cam:/opt/groovy/share ?

Sorry for my lack of knowledge and thanks you so much

EDIT 1:

I copied the bosch_drivers into my catkin_ws/src and did the catkin_make.

Now I can roscd usb_cam but when I do rosmake I'm given:

  • Configuring incomplete, errors occurred! -------------------------------------------------------------------------------} [ rosmake ] Output from build of package usb_cam written to: [ rosmake ] /home/pi/.ros/rosmake/rosmake_output-20140116-192405/usb_cam/build_output.log [rosmake-0] Finished <<< usb_cam [FAIL] [ 16.84 seconds ]
    [ rosmake ] Halting due to failure in package usb_cam. [ rosmake ] Waiting for other threads to complete. [ rosmake ] Results:
    [ rosmake ] Built 36 packages with 1 failures.
    [ rosmake ] Summary output to directory
    [ rosmake ] /home/pi/.ros/rosmake/rosmake_output-20140116-192405

And if I try rosrun usb_cam usb_cam_node I'm given :

[rosrun] Couldn't find executable named usb_cam_node below /home/pi/catkin_ws/src/bosch_drivers/usb_cam [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/pi/catkin_ws/src/bosch_drivers/usb_cam/src/usb_cam_node

Could anyone help me please?

edit flag offensive delete link more

Comments

Please ask this as a new question. Your original question has been answered, this is a new problem.

tfoote gravatar image tfoote  ( 2014-01-16 06:42:03 -0600 )edit

Ok. I'm sorry

4LV4R0 gravatar image 4LV4R0  ( 2014-01-16 06:58:58 -0600 )edit

Question Tools

Stats

Asked: 2014-01-14 12:05:16 -0600

Seen: 837 times

Last updated: Jan 16 '14