communication problem between vrep_ros_interface and ros node

Report crashes, strange behaviour, or apparent bugs
Post Reply
mariam314
Posts: 1
Joined: 05 Apr 2018, 09:26

communication problem between vrep_ros_interface and ros node

Post by mariam314 »

Hello,

I have a manipulator model in vrep and I am using the ros interface (let's call it node 1) to publish information and subscribe to topics from my c++ ros node (node 2). The problem is: There seems to be kind of a bug, because if I open node 1 first and then node 2, only node 2 receives the data and the subscriber of node 1 seems to be asleep when node 2 gets activated. The same thing happens also the other way around (node 2 gets turned on first, so it doesn't subscribe to the topics of node 1).
This issue is very annoying, because I can't let both nodes communicate both ways in real time.

It's worth to note that sometimes it works perfectly fine (usually the first time I boot my computer and open both terminals). Until now I haven't found a cause why it sometimes works and why it doesn't most of the time.
I'd be really happy to solve this issue!

Thanks,
Mariam

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: communication problem between vrep_ros_interface and ros node

Post by coppelia »

Hello,

I strongly suspect this is directly linked to ROS (but I am not saying this is an issue, probably more a problem linked to how ROS is used/configured).

Cheers

Post Reply