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

Create system-wide systemd service for turning rplidar off and pinging pimu #67

Open
hello-binit opened this issue May 6, 2024 · 0 comments

Comments

@hello-binit
Copy link
Contributor

The hello_robot_lrf_off.desktop and hello_robot_pimu_ping.desktop are autostarted by systemd whenever the user signs in. However, if the user disabled auto sign in (e.g. because they created multiple users), the robot's rplidar won't stop spinning / the pimu won't be pinged, until the user signs in. SSH-ing into the robot doesn't count as signing in; it has to be done through the GUI. Since we want the both of these things to happen when the robot boots, let's make them system-wide systemd services that trigger when the system is up.

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

1 participant