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

roslaunch service inactive #53

Open
GavinGaoYan opened this issue Dec 1, 2021 · 6 comments
Open

roslaunch service inactive #53

GavinGaoYan opened this issue Dec 1, 2021 · 6 comments

Comments

@GavinGaoYan
Copy link

image

@GavinGaoYan
Copy link
Author

it seems that the service auto stopped?

@GavinGaoYan
Copy link
Author

I can start it by run systemctl start. but it cant auto start when boot.

@GavinGaoYan
Copy link
Author

And I also can boot it successfully by adding "Restart=always" to the [Service] block. But I want to find the core problem.

@cwbollinger
Copy link
Contributor

Given that "Restart=always" works, my first guess is this has something to do with when the module lookup is happening. If the lookup happens too early, it will fail to find the modules, and exit.

This would happen if the onboard PC boots up before all the modules have an IP. The proper startup sequence is:
Batteries on (wait a little bit for the onboard router to boot up) -> Actuators power on (wait for slow green blink to indicate IP acquired) -> PC power on.

If you are following that sequence and still seeing this issue, I'd need to see more info on why the tready node process is dying. Can you take a screenshot with a wider terminal, so the full text on those two lines is visible?

@GavinGaoYan
Copy link
Author

image
Complete screenshot.
My startup sequence is right. I want to confirm if there is any problem with the operation of your Tready?

@GavinGaoYan
Copy link
Author

Another little problem can also be seen from the screenshot. When the service is stopped, the topics still exists.

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