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

Frame rate of GMSL cameras is very low #2

Open
owenbrooks opened this issue Mar 29, 2023 · 0 comments
Open

Frame rate of GMSL cameras is very low #2

owenbrooks opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@owenbrooks
Copy link
Member

The Twizy we use has 8 cameras on it. They use a cable and communication protocol called GMSL to transfer data to a computer. GMSL is specifically supported by NVIDIA, who made a library to read the data from an NVIDIA Drive PX2 computer like we have onboard the car.

They also made a ROS package that we can launch to get the camera images published to ROS topics: https://github.com/BeckerFelix/ros_gmsl_driver

This driver works, but running it as provided, the camera images are updated very slowly, only a few times per second. It would be ideal to achieve 30 frames per second coming in from all 8 cameras at once. We tried running only a single camera, and the frames still came in slowly.

You'll want to start by:

  • running the ROS node for the cameras
  • running only a single camera
  • measuring the frame rate of camera images being published (can try using the ros2 topic hz command)
  • measuring the computer's CPU usage with htop to see if processing speed is what is slowing things down
  • trying to lower the resolution to see if this speeds it up
owenbrooks pushed a commit that referenced this issue Apr 4, 2023
…le_carla_spawning

Flexible carla spawning
@owenbrooks owenbrooks added the bug Something isn't working label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants