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 sdgps.service on NaviGator #1308

Open
cbrxyz opened this issue Nov 5, 2024 · 3 comments
Open

Create sdgps.service on NaviGator #1308

cbrxyz opened this issue Nov 5, 2024 · 3 comments
Assignees

Comments

@cbrxyz
Copy link
Member

cbrxyz commented Nov 5, 2024

What needs to change?

Rather than needing to start our GPS each time we turn on NaviGator, it would be better to have a systemctl service to automatically launch the GPS when the computer is started.

How would this task be tested?

  1. Ensure that the GPS is automatically launched when the boat turns on.
@thadavale
Copy link

thadavale commented Nov 11, 2024

This week I created a file called start_gps.sh inside Navigator's scripts folder that creates sdgps.service, which runs NaviGator/mission_control/navigator_launch/launch/hardware/gps.launch. Start_gps.sh also runs commands which set up the service. I also configured the on_boot file inside the scripts folder to run start_gps.sh upon running, which should start the GPS when the Navigator computer starts. I still need to test the code to ensure everything runs smoothly.

@thadavale
Copy link

This week, I began testing my GPS start code but I ran into a few errors getting the service to start when the Navigator simulation starts. Therefore, I will research more into systemctl files and how to run them automatically through Navigator's starting code.

@thadavale
Copy link

I was not able to get much done this week due to exams but I continued researching systemctl files and trying to run them in Navigator's starting code.

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

When branches are created from issues, their pull requests are automatically linked.

2 participants