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

samlcharreyron's profile - activity

2019-07-05 02:19:31 -0500 received badge  Enthusiast
2019-04-25 18:09:01 -0500 marked best answer Time delays when using two high-res cameras

I have an application where I want to use two Basler cameras simultaneously. When I use a single camera, or set the region of interest to be low for both cameras, there is a small time delay associated with sending the image message from the camera node to a listener node (10 ms). When I use both however, there is a significant time delay in the received images (300 ms). I've created a small test node that listens on the image messages for verifying this:

delay_ms = (rospy.Time.now() - msg.header.stamp).to_nsec() / 1e6

Following previous answers, I've tried increasing the buff_size parameter in the subscribers but that doesn't help. I've also tried to increase the TCP window size in linux but that doesn't help either.

I'm wondering where the bottleneck is exactly. Is it in the TCP/IP stack itself or could it be the serialization of the large images that causes latency? How do I check for these?

Additional Info:

  • I'm using the basler_camera package for reading images from the cameras.
  • The computer has 4 cores and 8 GB of RAM

camera 1:

  • 1280x960 RGB
  • 20 MByte/s bw in rostopic

camera 2:

  • 2048x1088 Mono
  • 330 MByte/s bw in rostopic
2018-02-26 05:07:37 -0500 received badge  Famous Question (source)
2017-07-25 04:53:33 -0500 commented answer Time delays when using two high-res cameras

I mean that I want to set the ROI size and position.

2017-07-24 05:46:06 -0500 answered a question Time delays when using two high-res cameras

After looking at it further, I realized the problem is not in the TCP/IP stack but rather due to CPU utilization. I noti

2017-07-24 05:46:01 -0500 commented answer Time delays when using two high-res cameras

If I can get a chance, I will check if the problem is the same with pylon_camera. I moved to basler_pylon because I coul

2017-07-22 10:08:18 -0500 received badge  Notable Question (source)
2017-07-21 09:18:40 -0500 received badge  Popular Question (source)
2017-07-20 05:28:49 -0500 asked a question Time delays when using two high-res cameras

Time delays when using two high-res cameras I have an application where I want to use two Basler cameras simultaneously.

2016-04-14 20:02:08 -0500 received badge  Nice Question (source)
2014-08-11 06:53:03 -0500 received badge  Famous Question (source)
2014-07-24 10:01:01 -0500 received badge  Supporter (source)
2014-07-15 07:42:14 -0500 received badge  Notable Question (source)
2014-07-14 14:10:18 -0500 commented answer Pre-release build failure to source setup.sh for 3rd party package

Does that mean it's not possible to test or build catkin packages on the build farm which depend on these packages?

2014-07-14 13:59:56 -0500 received badge  Popular Question (source)
2014-07-13 06:46:15 -0500 received badge  Student (source)
2014-07-11 04:49:31 -0500 asked a question Pre-release build failure to source setup.sh for 3rd party package

I've tried a pre-release test on the Hydro build farm for package libnabo. What I don't understand is that it is first build once succesfully, and then there is a second build that fails due to the following:

Retrieve the ROS build environment by sourcing /tmp/test_repositories/build_repository/install_isolated/setup.sh /!\ Failed to source /tmp/test_repositories/build_repository/install_isolated/setup.sh Failed to source /tmp/test_repositories/build_repository/install_isolated/setup.sh

I cannot link to the log but you should be able to see it on Jenkins under prerelease-hydro-libnabo

Thanks!