Skip to content

Regen Testing and Calculate Vehicle Speed Off eRPM#504

Open
kzwicker wants to merge 18 commits into
mainfrom
eRPM-to-speed
Open

Regen Testing and Calculate Vehicle Speed Off eRPM#504
kzwicker wants to merge 18 commits into
mainfrom
eRPM-to-speed

Conversation

@kzwicker
Copy link
Copy Markdown
Contributor

@kzwicker kzwicker commented Jun 2, 2026

ECU Calculate Vehicle Speed

Problem and Scope

At the moment, we don't do that. Now, we will do that.

Description

Pulls eRPM data from the DTI inverter and calculates speed from there. Also uses the "is still" data to determine if the car is moving.

Also, fixes inverter disabling logic by using the correct offsets.

Gotchas and Limitations

The "is still" limit on the DTI inverter may be too sensitive, so the car might register as moving when it isn't

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

Requires independent testing

Larger Impact

Allows regen to have a minimum speed threshold

Additional Context and Ticket

Critical to regen

@kzwicker kzwicker requested a review from dchansen06 as a code owner June 2, 2026 04:43
@dchansen06 dchansen06 changed the title Calculate vehicle speed Calculate Vehicle Speed Off eRPM Jun 2, 2026
@dchansen06 dchansen06 added Enhancement New feature or request 2 PRIORITY Important and a priority, but less than URGENT Small Fry Something that is small, could include bug fixes or smaller changes Peripheral Related to or involving a peripheral including abstractions Boards Related to or involving any physical boards Bug Something is doing a thing but doing it wrong or otherwise incorrectly labels Jun 2, 2026
@dchansen06 dchansen06 added this to the GR26 milestone Jun 2, 2026
@dchansen06 dchansen06 added 1 URGENT Urgent issue that needs a quick action and resolution and removed 2 PRIORITY Important and a priority, but less than URGENT labels Jun 2, 2026
Copy link
Copy Markdown
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

Lgtm, but lets test on car before merging

@SlowThomas
Copy link
Copy Markdown
Contributor

SlowThomas commented Jun 5, 2026

Note that the pr description is changed.

@dchansen06 dchansen06 force-pushed the eRPM-to-speed branch 2 times, most recently from 089bde1 to f1b213a Compare June 6, 2026 19:41
@dchansen06 dchansen06 changed the title Calculate Vehicle Speed Off eRPM Calculate Vehicle Speed Off eRPM and Regen Jun 7, 2026
@dchansen06 dchansen06 changed the title Calculate Vehicle Speed Off eRPM and Regen Regen Testing and Calculate Vehicle Speed Off eRPM Jun 7, 2026
@dchansen06 dchansen06 force-pushed the eRPM-to-speed branch 2 times, most recently from bf6100a to a69f56f Compare June 7, 2026 05:04
SlowThomas and others added 11 commits June 7, 2026 00:51
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 URGENT Urgent issue that needs a quick action and resolution Boards Related to or involving any physical boards Bug Something is doing a thing but doing it wrong or otherwise incorrectly Enhancement New feature or request Peripheral Related to or involving a peripheral including abstractions Small Fry Something that is small, could include bug fixes or smaller changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants