-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Configure and Run camera_ros After Reinstallation #67
Comments
Are you referring to https://gitlab.com/boldhearts/ros2_v4l2_camera.git? This is not using libcamera. Are you trying to use the Raspberry Pi camera with V4L2 instead of libcamera?
Where is this message coming from? The node does not show an error "Can't configure camera with invalid configuration". The Did you have a look at the "Trouble Shooting" section? Especially enabling debug information for libcamera and the ROS node should provide more useful information. Can you also list explicitly which commands you run? It's not yet clear to me which commands cause which error. Since you also list "2 units", do you have 2 cameras connected to the board? Does this work with a single camera only or with a different camera connected to the board? |
Current Issues and Observations1. V4L2 and Libcamera UsageI am using the following resources:
I understand that V4L2 does not utilize Libcamera, but the issue persists even when I use Libcamera exclusively. 2. Error:
|
The
You still have to provide the commands that you run and the debug information.
Did you try to enable debug information?
This repo is not using Qt. So this error cannot come from the ROS node.
Use the newest released version from the upstream repo or the binary package from the ROS repo.
Did you try with a single camera as suggested?
What could I conclude from this? I don't know what change and could have caused an issue.
This links to the non-existing website https://github.com/raspberrypi/libcamera/wiki/Troubleshooting. What should I find there?
Where is this debug log?
If you want help, you have to try the suggestions and provide the information that is asked for. Since I do not have the hardware to test and reproduce this myself, I rely on the information from those that have the hardware. But if you cannot provide information to better understand the issue and see if it is different from the other |
Hardware and Software Used
FindingsCamera Not Detected on Ubuntu: Driver Compatibility: The Raspberry Pi Camera Module 3 is not properly detected on Ubuntu, whereas it works seamlessly on Raspbian. This indicates a potential incompatibility with camera drivers or the libcamera configuration on Ubuntu. LIBCANERA_LOG_LEVELS=*:DEBUG cam -l
~/ros2_ws$ ros2 run camera_ros camera_node
~/ros2_ws$ ros2 launch camera_ros camera.launch.py
ls /dev/video*
v4l2-ctl --list-devices
|
Your issue report is inconsistent. Previously, you reported that the cameras were detected and only failed during the configuration via Please consider the Raspberry Pi documentation on how to set up the cameras. Also, if Please go back to the original issue of the configuration failure ( |
Unable to Configure and Run
camera_ros
After System ResetDescription
I previously used the
camera_ros
package successfully on my Raspberry Pi 5 without any additional configuration. However, after resetting my computer, I’ve been unable to get it working despite following the same steps and reinstalling all required dependencies.The node fails to configure the camera and consistently throws errors. I also noticed that both
libcamera
andcamera_ros
have been updated recently, and reverting to older versions did not solve the problem. Additionally, I can still capture images using QCam, solibcamera
appears to be functioning correctly.System Details
libcamera
,v4l2
,camera_ros
Current Issues and Errors
Current Issues and Errors
camera_ros
node fails to configure the camera streams due to invalid configuration and unsupported pixel formats.YUV420
) is not supported by the camera.R8
) and resolution (640x480
), but adjusts it to an unsupported configuration (1536x864-SBGGR16
).ros2 launch camera_ros camera.launch.py Error
camera_ros
node fails to configure the camera due to invalid stream configuration and unsupported default pixel formats.YUV420
) is not supported by the camera.R8
) and resolution (1920x1080
), but adjusts it to an unsupported configuration (2304x1296-SBGGR16
).ros2 run camera_ros camera_node Errors
camera_ros
node fails to configure the camera due to invalid stream configuration and unsupported default pixel formats.YUV420
) is not supported by the camera.R8
) and resolution (1920x1080
), but adjusts it to an unsupported configuration (2304x1296-SBGGR16
).Steps to Reproduce
camera_ros
andlibcamera
.camera_ros
using the following commands:ros2 run camera_ros camera_node --ros-args -p camera:=0 -p format:="YUYV" -p width:=1640 -p height:=1232
or:
What I Tried
libcamera
works.1640x1232-YUYV
).libcamera
andcamera_ros
.Expected Behavior
The node should configure the camera successfully and stream images, as it did during the initial setup without any manual adjustments.
Questions
libcamera
orcamera_ros
?libcamera
andcamera_ros
?Additional Context
The current situation has become very frustrating, as the same hardware and software setup worked flawlessly during my initial installation. Any help or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: