Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Add delay before pressure shutoff #4

@ty19

Description

@ty19

After we increased the main valve delay to 1.25 seconds at the most recent Luna test, we had to increase the pressure shutoff interval to 2 seconds or else the pressure shutoff would be guaranteed to trigger. The delay before activating pressure shutoff was hard-coded (i.e. not in a config), so we had to recompile during the test, which is bad.

The relevant files are main_worker.cpp/hpp, config.cpp/hpp, and main.cpp. There should be plenty of existing code that does basically the same thing, so it should be straightforward if you read the code. Don't forget to also add the new value to the ini files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions