Skip to content
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

usb_camera_node.launch.py error #15

Open
ChoiHyeonJu opened this issue Aug 10, 2022 · 0 comments
Open

usb_camera_node.launch.py error #15

ChoiHyeonJu opened this issue Aug 10, 2022 · 0 comments

Comments

@ChoiHyeonJu
Copy link

ChoiHyeonJu commented Aug 10, 2022

hello. I use ubuntu 20.04, foxy.
First of all, thank you for making this package. But when I use

ros2 launch usb_camera_driver usb_camera_node.launch.py

, I get an error.
This will only show a black window in the rqt image view. The camera turns on and the coordinates of the markers are displayed, but the camera screen does not turn on.
I googled to fix it, but it doesn't work. If you know a solution, please comment.

This is error
[usb_camera_driver_node-1] [ WARN:0] global /home/choi/opencv/opencv-4.4.0/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1

And attach all the execution results.

choi@choi:~/ros2_aruco$ ros2 launch usb_camera_driver usb_camera_node.launch.py
[INFO] [launch]: All log files can be found below /home/choi/.ros/log/2022-08-10-14-52-18-544366-choi-45529
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [usb_camera_driver_node-1]: process started with pid [45531]
[INFO] [static_transform_publisher-2]: process started with pid [45533]
[static_transform_publisher-2] [INFO] [1660110738.658691050] [static_transform_publisher_J0tA0KYzc1zi74vc]: Spinning until killed publishing transform from 'world' to 'camera'
[usb_camera_driver_node-1] [INFO] [1660110738.734835770] [camera.usb_camera_driver]: camera calibration URL: file:///home/choi/ros2_aruco/install/usb_camera_driver/share/usb_camera_driver/config/0809camera.yaml
[usb_camera_driver_node-1] [ WARN:0] global /home/choi/opencv/opencv-4.4.0/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[usb_camera_driver_node-1] [INFO] [1660110752.784669335] [rclcpp]: signal_handler(signal_value=2)
[static_transform_publisher-2] [INFO] [1660110752.784682264] [rclcpp]: signal_handler(signal_value=2)
[INFO] [static_transform_publisher-2]: process has finished cleanly [pid 45533]
[INFO] [usb_camera_driver_node-1]: process has finished cleanly [pid 45531]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant