Skip to content

Add parameter to use percentage of charge calculated#30

Merged
ethancoon merged 4 commits intomainfrom
energy-safety-margin
May 2, 2026
Merged

Add parameter to use percentage of charge calculated#30
ethancoon merged 4 commits intomainfrom
energy-safety-margin

Conversation

@Arti-Dev
Copy link
Copy Markdown
Contributor

For #28

Steps that were mentioned in the issue post were mentioned, and added some extra bounds checking to ensure we don't start using a negative amount or over 100 (unless you want to overclock the car)

Value of 1:

image

0.75:
image

Thanks

This takes the energy budget and multiplies it by some factor
@Arti-Dev Arti-Dev linked an issue Apr 24, 2026 that may be closed by this pull request
@Arti-Dev Arti-Dev requested a review from ethancoon April 24, 2026 03:59
@Arti-Dev Arti-Dev changed the title Add parameter to use percentage of charge than calculated Add parameter to use percentage of charge calculated Apr 24, 2026
Copy link
Copy Markdown
Contributor

@ethancoon ethancoon left a comment

Choose a reason for hiding this comment

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

ty mr arti creep

@ethancoon ethancoon merged commit 4471eb7 into main May 2, 2026
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.

Add a real safety margin to the energy planning

2 participants