Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce BREAK_PEDAL_OVERRIDE_THRESHOLD #310

Merged
merged 2 commits into from
Sep 19, 2018

Conversation

evanlivingston
Copy link
Contributor

BREAK_PEDAL_OVERRIDE_THRESHOLD in https://github.com/PolySync/oscc/blob/master/api/include/vehicles/kia_niro.h was originally =200. It is now reduced to 130 which is the observed level at which the brake lights are triggered.

Initial testing on vehicle shows this threshold is high enough to not trigger accidental overrides when braking with joystick commander.

closes issue DriveKit/#117

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Field tested, works as expected, DriveKit does not disable when a strong brake command is applied.

@ghost ghost requested a review from cotos September 19, 2018 19:13
@@ -242,7 +242,7 @@ typedef struct
* @brief Value of the accelerator position that indicates operator override. [steps]
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment should say Value of the brake position

@cotos cotos merged commit 8a163e5 into devel Sep 19, 2018
jonlamb-gh added a commit to jonlamb-gh/oxcc that referenced this pull request Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants