Open lymnxn opened 1 year ago
You'll need to find which profiles are supported by your IMX219 sensor, by using a command like v4l2-ctl
.
This should output the supported resolutions and FPS.
Then, edit these lines of the Argus configuration to use the mode and FPS values from the previous step.
You'll need to find which profiles are supported by your IMX219 sensor, by using a command like
v4l2-ctl
.This should output the supported resolutions and FPS.
Then, edit these lines of the Argus configuration to use the mode and FPS values from the previous step.
I follow the step, Set LIne 69 mode to 4, Line 70 framerate to 60, Set the mode 4 in launch file, and get the right size of image, but the frame rate is very low. I use ros2 topic hz /left/image_raw, It tell me that the average rate just 24Hz,and ros2 topic hz /left/camerainfo is 30Hz. I need High FPS, It is important for me. The camera can work in 60FPS very well with nvgstcapture, I use jetson_clock and the 20W power mode.
I have another Question, why I have set the camera calibration data with a valid url, I still get the warning:
[component_container_mt-1] 2022-12-06 07:50:10.436 WARN extensions/hawk/argus_camera.cpp@677: Failed to get calibration data from Argus!
Here is the full log:
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container_mt-1]: process started with pid [66891]
[component_container_mt-1] [INFO] [1670313006.428758395] [argus_mono_container]: Load Library: /workspaces/isaac_ros-dev/install/isaac_ros_argus_camera/lib/libmono_node.so
[component_container_mt-1] [INFO] [1670313006.961008126] [NitrosContext]: [NitrosContext] Creating a new shared context
[component_container_mt-1] [INFO] [1670313006.961802563] [argus_mono_container]: Found class: rclcpp_components::NodeFactoryTemplate
[component_container_mt-1] [INFO] [1670313508.720165646] [argus_mono]: [NitrosNode] Terminating the running application [component_container_mt-1] [INFO] [1670313508.720254383] [argus_mono]: [NitrosContext] Interrupting GXF... [component_container_mt-1] [INFO] [1670313508.720330415] [argus_mono]: [NitrosContext] Waiting on GXF... [component_container_mt-1] [INFO] [1670313508.737156468] [argus_mono]: [NitrosContext] Deinitializing... [component_container_mt-1] [INFO] [1670313509.481326953] [argus_mono]: [NitrosContext] Destroying context [component_container_mt-1] [INFO] [1670313509.482107052] [argus_mono]: [NitrosNode] Application termination done [component_container_mt-1] |==================================================================================================================================================================| [component_container_mt-1] | Job Statistics Report (regular) | [component_container_mt-1] |==================================================================================================================================================================| [component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] | [component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------| [component_container_mt-1] | SWTUDGPKSZ_vault_left_camerainfo | 20791 | 0.06 | 0.10 | 36.52 | 0.3 % | 1540.8 | 197726941409 | 361705442072 | 499860250491 | [component_container_mt-1] | SWTUDGPKSZ_vault_left_image | 15077 | 0.08 | 0.09 | 19.33 | 0.3 % | 1445.8 | 214993782415 | 385726939802 | 499860250491 | [component_container_mt-1] | SWTUDGPKSZ_splitter_left | 14881 | 0.91 | 0.99 | 143.86 | 3.1 % | 15306.7 | 221727001126 | 392260266951 | 499860250491 | [component_container_mt-1] | SWTUDGPKSZ_converter_left | 14881 | 2.74 | 3.50 | 493.27 | 9.6 % | 47881.8 | 221727001126 | 392260266951 | 499860250491 | [component_container_mt-1] | SWTUDGPKSZ_argus_camera | 14949 | 2.28 | 3.51 | 149.44 | 8.7 % | 43524.8 | 220326933580 | 390026958519 | 499860250491 | [component_container_mt-1] |==================================================================================================================================================================| [INFO] [component_container_mt-1]: process has finished cleanly [pid 66891]
The warning is because Argus was unable to read a camera calibration from the camera's built-in EEPROM but your URL should override that anyway. As far as the camera frame rate is concerned, what is your system state when running this test application (running top or jtop)? Are CPUs or GPUs pegged during this application? We're working on reproducing this issue with an IMX219 and Isaac ROS Argus Camera.
I have the same problem. I'm on a Xavier nx with IMX219 and from ros2 topic hz /left/image_raw
I'm getting 10 fps. I have set mode to 4 and framerate to 60 in these lines. Here some screenshots of the hz and resources usage.
Do you solve the problem,?I have the same problem with Hawk camera
"Received an image, do you need to modify the isaac_ros_argus_camera code?"
Hello, I'm using a Jetson Xavier NX and a IMX219 camera for developent. I want to get high FPS video so I need to set camera output as 1280x720@60fps, I can not find any tutorials about it.