ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-04-06 21:31:15 -0500 | received badge | ● Famous Question (source) |
2019-11-13 14:22:51 -0500 | received badge | ● Notable Question (source) |
2019-11-13 12:18:07 -0500 | marked best answer | Two subscribers, one with while loop, another cannot receive new ros message Hello, I am trying to make a program that starts reading camera frames with opencv and ros. Currently, I begin reading camera frames from raspberry pi camera when "start" signal is subscribed. "start" signal and opencv frame are published to another topic. At some time, I send "end" signal to the subscriber. However, the subscriber cannot read new signal. When "start" signal came at the beginning, the callback function runs get_frame function and this function goes through while loop. So, new signals are not received at all. Should I stop while loop? How can I subscribe new message while not ending while loop? Thank you |
2019-11-13 12:18:07 -0500 | received badge | ● Scholar (source) |
2019-11-13 12:18:03 -0500 | received badge | ● Supporter (source) |
2019-11-13 10:48:53 -0500 | commented answer | Two subscribers, one with while loop, another cannot receive new ros message Thank you for the reply, but this didn't solve my problem. My problem is that at first Subscriber receives "start" signa |
2019-11-13 09:34:55 -0500 | received badge | ● Popular Question (source) |
2019-11-12 18:45:01 -0500 | asked a question | Two subscribers, one with while loop, another cannot receive new ros message Two subscribers, one with while loop, another cannot receive new ros message Hello, I am trying to make a program that s |