ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Improve camera FPS stream in Rviz from remote machine

asked 2019-11-01 09:27:06 -0600

Yehor gravatar image

Hello,

I face the problem regarding the fps in rviz. So I have roscore on my laptop and camera node (usb_cam) on Jetson Nano. And the fps is not so good when I am displaying it on my laptop via rviz.

How can I improve the fps on the remote machine receiving the video from another?

My Laptop is ROS_MASTER_URI

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-05 00:41:36 -0600

Yehor gravatar image

One thing that i found is to use compressed_image_transport pkg. By using that you can republish compressed image to another topic with that launch command:

rosrun image_transport republish raw in:=/usb_cam/image_raw compressed out:=/usb_cam/image_compressed

or you can manually do it in the node.

This improve FPS significantly and at least in my case it stopped lagging. However, it would be nice to hear ant other solutions.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-11-01 09:27:06 -0600

Seen: 501 times

Last updated: Nov 05 '19