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

state manager revamp #274

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Conversation

ShourryaGuha
Copy link
Contributor

@ShourryaGuha ShourryaGuha commented Feb 24, 2024

Purpose

Added the requested states from this ticket

New Changes

  • Added function to change states based on specific events
  • Certain states changes require hardware involvement like using the jumper on the OBC, have left those states blank for now

Outstanding Changes

  • Handle assembly state
  • Handle reset state

Copy link

Pull reviewers stats

Stats of the last 120 days for UWOrbital:

User Total reviews Time to review Total comments
Navtajh04 31 4d 5h 57m 200
dgobalak 25 2d 5h 25m 164
Yarik-Popov 5 1d 5h 26m 48
Gjjjiang 3 4d 13h 9m 13
twilkhoo 1 4m 0
manumanuk 1 1d 19h 10m 1
JoelManYunLee 1 17h 57m 4

obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/modules/state_mgr/state_mgr.h Outdated Show resolved Hide resolved
@Yarik-Popov
Copy link
Contributor

According to your ticket, you should be handling "3. Must signal the watchdog task at a period of ~X. The watchdog timeout for this task should be 2*X." tho I don't see that here

obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
Copy link
Contributor

@Yarik-Popov Yarik-Popov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor persistent related changes

obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
obc/app/modules/state_mgr/state_mgr.c Outdated Show resolved Hide resolved
@Yarik-Popov
Copy link
Contributor

Has this been tested?

@ShourryaGuha
Copy link
Contributor Author

Has this been tested?

Like the whole PR?

@Yarik-Popov
Copy link
Contributor

Has this been tested?

Like the whole PR?

Yeah, the PR needs to be tested before anyone will approve it

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

Successfully merging this pull request may close these issues.

4 participants