ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-12-08 19:54:44 -0500 | marked best answer | usb-cam using deprecated pixel format I am using ubuntu mate 20.04 focal and i have installed ros noetic, I am trying to use a logitech c920 webcam, however when i run rosrun usb_cam usb_cam_node i get the following error [swscaler @ 0x229f390] no accelerated colorspace conversion from yuv422p to rgb24, [swscaler@ 0x229f390] deprecated pixel format used, make sure you set the range correctly i read that these are just warnings however, when i run rosrun rviz rviz it doesn't display the image from the webcam the webcam does work though if i open it through Cheese or vlc it displays just fine i have tried using the fixes found here https://answers.ros.org/question/1735... and here https://github.com/ros-drivers/usb_ca... and here https://github.com/ros-drivers/usb_ca... however, no of these solutions have seemed to work i've also tried changing the ffmpeg code in the usb_cam.cpp code but i haven't been able to get that to work either....
when i run
v4l2-ctl --list-formats-ext -d /dev/video0
i get the following i think the problem is that it's using deprecated ffmpeg code to try and convert it from yuyv to mjpeg? but i'm not sure if i'm right about this.... how do i fix this? please help..... is there another ros package that i could try? |
2021-07-19 16:53:42 -0500 | received badge | ● Famous Question (source) |
2021-07-19 16:53:42 -0500 | received badge | ● Notable Question (source) |
2021-07-19 16:53:42 -0500 | received badge | ● Popular Question (source) |
2021-05-19 10:44:50 -0500 | marked best answer | xv-11-lidar cannot find the right port I am using ubuntu mate 20.04 focal and i have installed ros noetic, i'm following the following tutorial http://wiki.ros.org/xv_11_laser_drive... when i try to run the following command rosrun xv_11_laser_driver neato_laser_publisher port_:=/dev/ttyACM0 I get the following error: [ERROR] [1582038870.703246684]: Error instantiating laser object. Are you sure you have the correct port and baud rate? Error was open: No such file or directory in the tutorial when i try to run the following command it says "error file doesn't exist" echo 'SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="sensors/ftdi_%s{serial}"' > /etc/udev/rules.d/52-ftdi.ruleswhen i change 52-ftdi.rules to the actual file that is in the rules.d folder which is 70-snap.snapd.rules it says "permission denied" when i run dmesg -w i get the following output usb 1-1.2: Product: USB Serial usb 1-1.2: Manufacturer: Teensyduino usb cdc_acm 1-1.2:1.0 ttyACM0: USB ACM device when i run lsusb i get the following Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse Bus 001 Device 003: ID 1a2c:2124 China Resource Semico Co., Ltd Bus 001 Device 008: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial Bus 001 Device 007: ID 046d:0892 Logitech, Inc. OrbiCam Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub i'm not sure if the problem is because the rosrun instruction isn't getting the right port? if this is the problem then how do i change the permissions in the 70-snap.snapd.rules file? or if the problem is due to something else? the lidar does turn when i plug it in and as far as i can tell it's not a hardware issue..... please help me |
2021-04-26 14:15:24 -0500 | received badge | ● Enthusiast |
2021-04-24 23:38:17 -0500 | asked a question | rosrun cv_camera cv_camera_node causing fixed frame error rosrun cv_camera cv_camera_node causing fixed frame error I am running ros noetic on a raspberry pi 4. I am trying to us |
2021-04-24 23:16:32 -0500 | received badge | ● Notable Question (source) |
2021-04-16 19:15:38 -0500 | edited question | usb-cam using deprecated pixel format usb-cam using deprecated pixel format I am using ubuntu mate 20.04 focal and i have installed ros noetic, I am trying t |
2021-04-16 19:15:38 -0500 | received badge | ● Editor (source) |
2021-04-16 19:14:04 -0500 | received badge | ● Popular Question (source) |
2021-04-16 15:46:29 -0500 | commented answer | xv-11-lidar cannot find the right port However, when i run rosrun rviz rviz it's not showing any output from the lidar which so i'm not sure what that means? |
2021-04-16 14:37:04 -0500 | commented answer | xv-11-lidar cannot find the right port it worked after i ran sudo chmod 666 /dev/ttyACM0 and then re-did a catkin_make so thanks |
2021-04-15 18:29:58 -0500 | edited question | usb-cam using deprecated pixel format usb-cam using deprecated pixel format I am using ubuntu mate 20.04 focal and i have installed ros noetic, I am trying t |
2021-04-15 17:39:36 -0500 | asked a question | usb-cam using deprecated pixel format usb-cam using deprecated pixel format I am using ubuntu mate 20.04 focal and i have installed ros noetic, I am trying t |
2021-04-15 13:06:18 -0500 | commented answer | xv-11-lidar cannot find the right port i tried running sudo chmod 666 /dev/ttyACM0 but it still gave me the same error |
2021-04-15 13:05:43 -0500 | commented answer | xv-11-lidar cannot find the right port i tried running sudo chmod 666 /dev/ttyACM0 but it still gave me the same error |
2021-04-15 04:56:02 -0500 | asked a question | xv-11-lidar cannot find the right port xv-11-lidar cannot find the right port I am using ubuntu mate 20.04 focal and i have installed ros noetic, i'm followin |