Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay when starting publishing but okay once started #83

Open
iandanielsooknanan opened this issue May 11, 2021 · 1 comment
Open

Delay when starting publishing but okay once started #83

iandanielsooknanan opened this issue May 11, 2021 · 1 comment

Comments

@iandanielsooknanan
Copy link

Summary.
I have a python script that I added code to make it into a publisher using the roslibpy examples. I have a ROS subscriber node that subscribes to the same topic to print the result, I also monitor it in rostopic echo. The problem is that sometimes after stopping the publisher and restarting it, there is a delay until the subscriber and rostopic begins to show to data. This doesn't always happen but when it does its random and the length of delay is random as well. Between 10-30s. Once the data starts to be displayed, however, the data is up to date. My queue size is 1.

Expected Result

When python script that uses roslibpy is started the ROS subscriber displays the information at the same time.

Actual Result

When the script is started there is sometimes a 10-30 delay until the subscriber displays the information.

System Information

Ubuntu 18.04, ROS Melodic. Script=python3
Operating System name and version, ROS version, etc.

@beduffy
Copy link

beduffy commented Jul 16, 2021

I am also experiencing similar issues, sometimes the message gets through, sometimes 2/10 messages, sometimes they all get through but do not have the intended effect compared to publishing within the robot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants