Skip to content

reenable telem receive#79

Merged
mpkarpov-ui merged 2 commits intomainfrom
reenable-rx
Feb 3, 2025
Merged

reenable telem receive#79
mpkarpov-ui merged 2 commits intomainfrom
reenable-rx

Conversation

@SuragNuthulapaty
Copy link
Copy Markdown
Contributor

simple fix to allow for telem commands to be received 30 minutes after launch as detected in case landed state was not detected

Copy link
Copy Markdown
Contributor

@mpkarpov-ui mpkarpov-ui left a comment

Choose a reason for hiding this comment

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

Awesome great work!

Comment on lines +217 to +219
if (current_state == FSMState::STATE_IDLE) {
launch_time = current_time;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Smart, i like it!

launch_time = current_time;
}

if (current_state == FSMState(STATE_IDLE) || current_state == FSMState(STATE_SAFE) || current_state == FSMState(STATE_PYRO_TEST) || (current_time - launch_time) > 1800000) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Confirmed, 1800000 = 1000 x 60 x 30!

Copy link
Copy Markdown

@mihirshevade mihirshevade left a comment

Choose a reason for hiding this comment

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

Math checks out!

@mpkarpov-ui mpkarpov-ui merged commit 90baa25 into main Feb 3, 2025
@mpkarpov-ui mpkarpov-ui deleted the reenable-rx branch February 3, 2025 02:06
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.

3 participants