-
Notifications
You must be signed in to change notification settings - Fork 162
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
Video Latency of 3-4 seconds and is it possible to have a raw video/images instead of compressed? #118
Comments
Hi @astronaut71, I've tested this on a Raspberry Pi 4 with a Raspberry Pi Camera Module v2.1. I was able to run the |
can you tell me what have you done to run it without any latency? |
Nothing out of the ordinary @astronaut71. My set-up is Raspberry Pi 4 with a Raspberry Pi Camera Module v2.1 on Ubuntu Mate 20.04 with ROS Noetic. Let me correct myself on my last comment. This node only performs at ~45 Hz for a 640x480 resolution. To allow my camera to work, I first had to install a few libraries by running: sudo apt install libraspberrypi-dev One question though. When you refer to latency, is this something related to low FPS? Or is it just a fixed delay? |
oh. Im not using Ubuntu mate. ROS melodic on Raspbian. I refer to a delay. At the delay is not fixed. Its increase with the time. FPS is fixed, its 30 |
Why don't you try an arm64 architecture OS? Raspian OS is 32 bit. Also, I believe ROS works much better with Debian based distros. |
As far as I know raspicam_node can be built and run in ARM64 Rasperry Pi 4
Ubuntu 20.04.
The steps are to start with an Ubuntu 20.04 server sd card distro, add
wifi via netplan configuration, lubuntu desktop and ros-noetic-desktop-full.
apt install libraspberrypi-dev and -bin. make sure gpu_mem=128, start_x=1
in /boot/firmware/config.txt
After creating a catkin_ws git clone the raspicam_node and make it. you
should be able to lanch the node and view the video via rqt_image_view.
if sending video over wifi, make sure it is compressed and wifi is at 5 not
2.4.
PS: raspicam node will also work on the ARM32 Ubuntu for RPi.
…On Tue, Sep 7, 2021 at 10:50 AM Alvaro Gaona ***@***.***> wrote:
Why don't you try an arm64 architecture? Raspian OS is 32 bit. Also, I
believe ROS works much better with Debian distros.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#118 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHZ372E3PYP45L36IEQPLLUAZGG7ANCNFSM5CNQWZYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Im using raspberry Pi 4 B and Camera Module V2 , so Im able to compile and run it but even the law resolution and 30fps launch file has a Video Latency of 3-4 seconds. Is it possible to reduce it and have in some how real time? Is that because is compressed video/image or? Can i display as a raw video/image, would that help to reduce the Video Latency?
Thanks
The text was updated successfully, but these errors were encountered: