Skip to content

Conversation

Deemocean
Copy link
Member

Acs Parameter Update

Summary of changes

  • Update ACS parameters for Flight Unit

Copy link
Member

@ljgreenhill ljgreenhill left a comment

Choose a reason for hiding this comment

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

int PWM = -2854.12694269 * pow(abs_current, 2) + 1808.084 * abs_current + 14.8

Not sure if you want to round this. For example, right now 4.999 would become 4, not 5.

@Deemocean
Copy link
Member Author

PWM rounding has very little effect. casting x.yyyy to x should be with no issue

Copy link
Contributor

@JUmanskyCastro JUmanskyCastro left a comment

Choose a reason for hiding this comment

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

lgtm

@JUmanskyCastro JUmanskyCastro merged commit 3820b73 into main Jun 19, 2024
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