Ask Your Question
0

Differences between rosjava core and roscpp core?

asked 2013-03-16 12:30:38 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I seem to have noticed some unusual differences between the rosjava core and roscpp core. Keeping it simple my two test setups are as follows:

  1. Ros Java Core, Ros Java Publisher, Ros Java Subscriber. When the publisher is stopped and restarted the subscriber automatically reconnects with no issues. This is also the case when the publisher is based on roscpp. If the subscriber is started before the publisher it will wait for data.

  2. Ros cpp core, Ros Java publisher, Ros Java Subscriber. When the publisher is stopped and restarted the subscriber is never notified. If the subscriber is restarted before the publisher is ready then the subscriber will time out rather than wait for data.

My setup is Java 7, ROS Groovy running under Ubuntu 12.04.

My simply stated questions are:

Q1. Why does the java subscriber not automatically reconnect to a publisher using a roscpp core?

Q2. Why does the java subscriber not block while waiting for a publisher when using a roscpp core?

Q3. Are there any ways around the issues describe?

Thanks in advance!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-07 21:03:11 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

This sounds like a bug to me. Please file an issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-16 12:30:38 -0500

Seen: 209 times

Last updated: May 07 '13