[ros-users] usb_cam error

Homer Manalo homer.manalo at roboteknik.com
Tue Dec 21 06:28:18 UTC 2010


Ok I already solved it. Looks like i used sudo when I added the bosch
repository. I have it already installed but this one doesn't work, I got the
ff:

usb_cam video_device set to [/dev/video0]
usb_cam io_method set to [mmap]
usb_cam image_width set to [640]
usb_cam image_height set to [480]
usb_cam pixel_format set to [mjpeg]
[mjpeg @ 0xb500ada0]codec type or id mismatches
Could not open MJPEG Decoder
/opt/ros/cturtle/ros/bin/rosrun: line 35: 12317 Segmentation fault
$exepath "$@"

I have installed gscam instead and I got it working.
thanks

On Tue, Dec 21, 2010 at 3:05 AM, Sebastian Haug <sebhaug at gmail.com> wrote:

> Hi,
>
> The important line is "mkdir: cannot create directory `build':
> Permission denied".
>
> Do you have write access (with the user that you are using to run
> rosmake) to the location where you checked the usb_cam package out to?
>
> Sebastian.
>
> On Sun, Dec 19, 2010 at 9:14 PM, Homer Manalo
> <homer.manalo at roboteknik.com> wrote:
> > Yes there are no errors with the dependencies but I got the ff error with
> > rosmake;
> >
> > [ rosmake ] No package specified.  Building
> > ['usb_cam']
> > [ rosmake ] Packages requested are:
> > ['usb_cam']
> > [ rosmake ] Logging to
> > directory/home/homermanalo/.ros/rosmake/rosmake_output-20101220-113304
> > [ rosmake ] Expanded args ['usb_cam'] to:
> > ['usb_cam']
> > [ rosmake ] Generating Install Script using rosdep then executing. This
> may
> > take a minute, you will be prompted for permissions. . .
> > executing this script:
> >  set -o errexit
> > #No Packages to install
> > [ rosmake ] rosdep successfully installed all system
> > dependencies
> > [rosmake-0] Starting >>> roslib [ make
> > ]
> > [rosmake-0] Finished <<< roslib ROS_NOBUILD in package
> > roslib
> > [rosmake-1] Starting >>> roslang [ make
> > ]
> > [rosmake-0] Starting >>> rosconsole [ make
> > ]
> > [rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
> >  No Makefile in package roslang
> > [rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package
> > rosconsole
> > [rosmake-1] Starting >>> rospy [ make
> > ]
> > [rosmake-0] Starting >>> std_msgs [ make
> > ]
> > [rosmake-1] Finished <<< rospy ROS_NOBUILD in package
> > rospy
> > [rosmake-0] Finished <<< std_msgs ROS_NOBUILD in package
> > std_msgs
> > [rosmake-1] Starting >>> xmlrpcpp [ make
> > ]
> > [rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package
> > xmlrpcpp
> > [rosmake-0] Starting >>> rosclean [ make
> > ]
> > [rosmake-0] Finished <<< rosclean ROS_NOBUILD in package
> > rosclean
> > [rosmake-0] Starting >>> rosgraph [ make
> > ]
> > [rosmake-1] Starting >>> roscpp [ make
> > ]
> > [rosmake-1] Finished <<< roscpp ROS_NOBUILD in package
> > roscpp
> > [rosmake-0] Finished <<< rosgraph ROS_NOBUILD in package
> > rosgraph
> > [rosmake-0] Starting >>> rosmaster [ make
> > ]
> > [rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package
> > rosmaster
> > [rosmake-1] Starting >>> rosout [ make
> > ]
> > [rosmake-1] Finished <<< rosout ROS_NOBUILD in package
> > rosout
> > [rosmake-0] Starting >>> tinyxml [ make
> > ]
> > [rosmake-1] Starting >>> roslaunch [ make
> > ]
> > [rosmake-0] Finished <<< tinyxml ROS_NOBUILD in package
> > tinyxml
> > [rosmake-1] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
> >  No Makefile in package roslaunch
> > [rosmake-0] Starting >>> pluginlib [ make
> > ]
> > [rosmake-1] Starting >>> rostest [ make
> > ]
> > [rosmake-1] Finished <<< rostest ROS_NOBUILD in package
> > rostest
> > [rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package
> > pluginlib
> > [rosmake-1] Starting >>> topic_tools [ make
> > ]
> > [rosmake-1] Finished <<< topic_tools ROS_NOBUILD in package
> > topic_tools
> > [rosmake-0] Starting >>> message_filters [ make
> > ]
> > [rosmake-1] Starting >>> rosbag [ make
> > ]
> > [rosmake-1] Finished <<< rosbag ROS_NOBUILD in package
> > rosbag
> > [rosmake-0] Finished <<< message_filters ROS_NOBUILD in package
> > message_filters
> > [rosmake-1] Starting >>> rosrecord [ make
> > ]
> > [rosmake-1] Finished <<< rosrecord ROS_NOBUILD in package
> > rosrecord
> > [rosmake-1] Starting >>> rosbagmigration [ make
> > ]
> > [rosmake-1] Finished <<< rosbagmigration ROS_NOBUILD in package
> > rosbagmigration
> >  No Makefile in package rosbagmigration
> > [rosmake-1] Starting >>> geometry_msgs [ make
> > ]
> > [rosmake-1] Finished <<< geometry_msgs ROS_NOBUILD in package
> > geometry_msgs
> > [rosmake-0] Starting >>> diagnostic_msgs [ make
> > ]
> > [rosmake-1] Starting >>> sensor_msgs [ make
> > ]
> > [rosmake-0] Finished <<< diagnostic_msgs ROS_NOBUILD in package
> > diagnostic_msgs
> > [rosmake-0] Starting >>> diagnostic_updater [ make
> > ]
> > [rosmake-0] Finished <<< diagnostic_updater ROS_NOBUILD in package
> > diagnostic_updater
> > [rosmake-1] Finished <<< sensor_msgs ROS_NOBUILD in package
> > sensor_msgs
> > [rosmake-1] Starting >>> image_transport [ make
> > ]
> > [rosmake-0] Starting >>> self_test [ make
> > ]
> > [rosmake-0] Finished <<< self_test ROS_NOBUILD in package
> > self_test
> > [rosmake-1] Finished <<< image_transport ROS_NOBUILD in package
> > image_transport
> > [rosmake-1] Starting >>> usb_cam [ make
> > ]
> > [ rosmake ] All 2 lines
> >
> {-------------------------------------------------------------------------------
> >   mkdir: cannot create directory `build': Permission denied
> >
> -------------------------------------------------------------------------------}
> > [ rosmake ] Output from build of package usb_cam written to:
> > [ rosmake ]
> >
> /home/homermanalo/.ros/rosmake/rosmake_output-20101220-113304/usb_cam/build_output.log
> > [rosmake-1] Finished <<< usb_cam [FAIL] [ 0.02 seconds
> > ]
> > [ rosmake ] Halting due to failure in package usb_cam.
> > [ rosmake ] Waiting for other threads to complete.
> > [ rosmake ]
> > Results:
> > [ rosmake ] Built 29 packages with 1
> > failures.
> > [ rosmake ] Summary output to
> > directory
> > [ rosmake ] /home/homermanalo/.ros/rosmake/rosmake_output-20101220-113304
> >
> > thanks
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101221/23441ffe/attachment-0003.html>


More information about the ros-users mailing list