Skip to content

Tweaked apogee detection autosequence and added orientation determination- Autosequence dev#13

Open
swalther06 wants to merge 13 commits intomainfrom
autosequence-dev
Open

Tweaked apogee detection autosequence and added orientation determination- Autosequence dev#13
swalther06 wants to merge 13 commits intomainfrom
autosequence-dev

Conversation

@swalther06
Copy link

created flight-autosequence folder. moved parts of apogee detection to flight autosequence file and made complementary filter (gyro + imu) for orientation. added vertical velocity determination post-lockout in autosequence file

@swalther06 swalther06 changed the title First pull (lots of changes) - Autosequence dev Tweaked apogee detection autosequence and added orientation determination- Autosequence dev Dec 29, 2025
Copy link
Contributor

@felixcreate felixcreate left a comment

Choose a reason for hiding this comment

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

Just a couple requests/comments, looks great though!

if (detect_MECO(&imu_detector) || getTime() - ignition_timestamp > MAX_MECO_WAIT)
{
MECO_flag = 1;
meco_timestamp = xTaskGetTickCount();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should keep the time source consistent, e.g. above you used getTime(). I support abstracting it for now and using getTime().

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