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

why the command : rosrun libuvc_camera followed by UVCCamera.cfg not the uvccamera_node?

asked 2015-07-21 04:56:46 -0500

lychenpan2@gmail.com gravatar image

updated 2015-07-21 21:33:20 -0500

Hi: I'm new to ROS system, and i have a problem when using the libuvc_camera package; below are my steps:

  1. Firstly, clone the libuvc_camera from https://github.com/ktossell/libuvc_ros
  2. commands in the consol : cd libuvc_camera ; mkdir build; cd build; cmake .. ; make ; sudo make install
  3. commands: source devel/setup.bash
  4. then if i run the command: rosrun libuvc_camera camera_node; it display messages : couldn't found executable file camera_node in libuvc_camera ; found libuvc_camera/build/devel/lib/libuvc_camera/camera_node but it is not a executable file;
    and when i use the tab; it display commands: rosrun libuvc_camera UVCCamera.cfg
    can somebody tell me what is the problem ? thanks!
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-07-22 11:17:41 -0500

I guess you should have done more like:

  • create the workspace folder
  • create src folder inside workspace
  • clone into src folder
  • execute catkin_make in workspace folder

and before the last one you could install the needed dependencies as seen here: http://answers.ros.org/question/75241...

Btw you should also be able to install it by package manager I guess it should be just sudo apt-get install ros-indigo-libuvc-camera

Regards,

Christian

edit flag offensive delete link more

Comments

Thanks very much; i have done what you suggest; and the workspace build successfully. Now i want to run the camera_node in the libuvc_camera package, and manual its focus absolute; Can you please give me some more suggestions? Thanks so much!

lychenpan2@gmail.com gravatar image lychenpan2@gmail.com  ( 2015-07-23 03:39:27 -0500 )edit

I guess you should create a new question for that. Cause having an error and making it run and specific settings are completely different things.

cyborg-x1 gravatar image cyborg-x1  ( 2015-07-23 04:16:31 -0500 )edit

yes, you are right ! thanks!

lychenpan2@gmail.com gravatar image lychenpan2@gmail.com  ( 2015-07-23 21:01:42 -0500 )edit

You're welcome ;-)

cyborg-x1 gravatar image cyborg-x1  ( 2015-07-24 01:27:51 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-21 04:56:46 -0500

Seen: 804 times

Last updated: Jul 22 '15