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

False (?) statement about Open (!) Source? #12

Closed
msva opened this issue Dec 2, 2016 · 4 comments
Closed

False (?) statement about Open (!) Source? #12

msva opened this issue Dec 2, 2016 · 4 comments

Comments

@msva
Copy link

msva commented Dec 2, 2016

Hi!

You state that

openpilot is an open source driving agent

in project's README file.

That's good and very, very admirable.

But...
let's take a look on https://github.com/commaai/openpilot/blob/master/selfdrive/visiond/visiond
What we will see? A blob. 14Mb (!!!) blob!
Also, let's take a look on https://github.com/commaai/openpilot/blob/master/phonelibs/hierarchy/lib/_hierarchy.so
Also 0.75M blob (at least, not 15Mb).

And also board/tools/dfu-util*:

  1. blobs too (and confidence is doubtful at this point, after two hidden blobs)
  2. almost every distro has dfu-utils available in package managers.
  3. there is much more CPU architectures than x86_64 and aarch64 (and even talking about arm-related arches: I can count aarch64 boards with fingers of only single hand. Most ARM hardware (even that one that cosplays desktops) is still 32bit.
@geohot
Copy link
Contributor

geohot commented Dec 2, 2016

_hierarchy is just scipy's hierarchy, already open source, we can provide the version etc...if you want to rebuild.

dfu-util is open source elsewhere, it's the same tool. those binaries are just for convenience.

visiond is closed source for now, this has been addressed in a previous issue. Just like how certain parts of Android are closed source.

Don't hate. Too many exclamation points for a dispassionate inquiry.

@geohot geohot closed this as completed Dec 2, 2016
@geohot
Copy link
Contributor

geohot commented Dec 2, 2016

@msva
Copy link
Author

msva commented Dec 2, 2016

1) I didn't state that either of dfu-util or scipy is non-opensource. Just you distribute self-compiled blobs (that can or can not contain extra code, that is executed under special circumstances, and it is pretty hard to prove either it's existance or non-existance).
That's why git has submodules and make (and other buildsystems) has support for recursive builds and dependencies.

So, ideally, there should either be sources (which will be build altogether with the whole project, but not prebuilt), or they should be stated as build (and/or runtime) dependencies.

Shipping precompiled binaries is not an OpenSource way. As I already said, it is pretty hard to prove that they're clean from "extra" functions, that is not in upstream code.

2) exclamation marks doesn't mark hate. They mark places which requires extra attention.

3)

a)

visiond is closed source for now

I hope, it means "it will be opened too in near future". Otherwise, as I stated, shipping blobs in project claimed itself as "opensource" is, technically, a kind of lie (simple logic: open source is when source is open. If it is closed, even partially, it is not open).

b)

this has been addressed in a previous issue

I'd say "ok", but, technically it is also not fully true.
First of all, all the answers about that was, let's be honest (yeah, I'm a CEO in IT company and I know the real meaning of such words about a reason of keeping visiond closed in that issue), is... uhm... let's say, not as true, as pretended to be (if talking without rude words).
Secondly, issue wasn't solved.
Third of all, actually, I'm pretty sure that all concurrents either have their analogs of such system (so has no need to steal it), or, in case of chinese "noname" vendors, they don't need it to be an opensource to steal it or fake it in their clones.

c)

Just like how certain parts of Android are closed source.

Nope. AOSP (the thing you're referenced as android) is fully useable without a single closed-source blob, if you'll run it on hardware which does not require proprietary drivers (or, say, emulator).
Only closed-source things is 3-party drivers (for 3-party hardware, that Google doesn't produce by themselves) and applications (which is totally not required for running AOSP (android) as OS).

======

And, anyway, main issue is in that fact, that until you ship closed-source blobs as part of the project, it is (attention, please) NOT an OpenSource, but just false advertising (sic!).

@geohot
Copy link
Contributor

geohot commented Dec 2, 2016

Feel free to submit a pull request to build dfu-util and hierarchy from source.

tylergets pushed a commit to tylergets/openpilot that referenced this issue Oct 12, 2018
Gernby referenced this issue in Gernby/openpilot Dec 8, 2018
Toggle between ACC/PCC based on cruise stalk
Gernby referenced this issue in Gernby/openpilot Mar 6, 2019
* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)
Gernby referenced this issue in Gernby/openpilot Mar 6, 2019
* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)
Gernby referenced this issue in Gernby/openpilot Mar 6, 2019
* Honda Pilot PID Tuning

* Adjustable Follow Distance w/HUD (#12)

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)

* Code Cleanup for Distance Adjustment

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

* Implement csouers 67-70% charging to preserve batt

* Auto-distance at surface street speeds

Override short distance setting when slow

Override distance when slow

Override distance if slow

Override distance when slow

Override distance when slow

Increase follow distance when below 60 kph

Lead car and rel. velocity to distance override

Override distance bars

revert

Override and restore dist based on speed and accel

Step up distance when < 40 km/h and restore

Revert

When using 1 bar distance:  Slow the car down earlier and more aggressively  (#18)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Revert "Switch to 1.8s for softer braking"

This reverts commit d53623062ef814509db925fe4e624c3ae8aff1f1.

* Disable OTA update for safety

* Physical LKAS button disables OP steer and shows dashed lines on HUD (#19)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Disable LKAS

* Apply Steer = 0 when user presses LKAS button

* Add Lkas button

* Add LK mode to HUDD data object

* Add Dashed Lanes to HUD

* Adjust HDD object

* return LKAS var in CarState

* Return LK var to CS

* Syntax error fix

* Update carcontroller.py

* testing hud object hardcoded hud_lanes and lkMode

* Restore accidentally deleted steer command

* Update carcontroller.py

* Update carcontroller.py

* Don't show solid lanes if OP steering disabled

* Dashed lines fix during engagement

eliminate steering alert when lkas disabled

lkas button logic cleanup

Reverse the dashed-lane indicator

No steering alert if LKAS disabled

revert Alert - LKAS errors during steer disable

Disable audible alert when steering disabled

Delete CS.aEgo < -0.5 override condition

* Remove chime disable when steering overriden

One bar profile change to 1.8s if < 65 kph

Simplified

chime instead of beep disable for LK override

* Adjust BRAKE_STOPPING_TARGET to 0.25

Keeps the brake pump from going crazy at a stop

* Add relative velocity to auto distance for 1 bar setting (#26)

* CAMERA_OFFSET = 0.08

* Revert Cost_long to comma value of 0.1

* Do not override to 1.8s when accel from stop

* Update logic for override distance bars

* Override distance when < 65kph and v_rel not > 5

* Use rel acceleration to reset to 1 bar

* Use vRel

* Update planner.py

* v_lead - vEgo > 1

* vLead - vEgo = -1

* vLead-vEgo < -1.5

* Cleanup Arne's code for distance

* vLead - vEgo < 1.25

* Back to vLead - vEgo < -1

* Disable OP steering and audio alarm when blinkers on (#28)

* LKAS disable when blinkers are on

* Update carcontroller.py

* Update carcontroller.py

* fix syntax error

* Critical alarm if cruise disengages while braking (#32)

* Update pathplanner.py

* Loud alert in case cruise disables when braking

* re-add if statement on speed for loud alert

* Update interface.py

* increase stopping distance to car by 1.5m

* Increase stopping distance to 2m

* Revert CAMERA_OFFSET to 0.06 (comma default)

* Lane width reduction to 2.85m

* Reduce tailgating for one bar distance at surface street speeds & code cleanup (commaai#43)

* Gernby's Lane width filter fix (commaai#41)

* Fix lane width filtering

* Fixed lane width filtering

* CAMERA_OFFSET = 0.08

* Minimum distance for one bar distance setting

* Don't tailgate at slow speeds with 1 bar distance

* x_lead < 5 only

* x_lead < 5 syntax fix

* self.v_rel < -1 or (x_lead < 10 and self.v_rel >= -1 and self.v_rel < 1)

* Tail gating auto distance change

* x_lead < 7.5 and self.v_rel >= -1 and self.v_rel < 0.2

* self.lastTR > 0 re-adding reinitialization

* Revert "Gernby's Lane width filter fix (commaai#41)"

This reverts commit d081cfd8a05d2eb32e0148d477c806e65662dea7.

* Increase min distance to 10m for auto distance

* Auto distance code cleanup

* Add lead car fast approaching autodistance

* Auto distance Code cleanup

* Don't re-initialize MPC if already initialized

* self.lastTR != instead of >

* Initialize TR = 1.8

* include if statements vs just assigning boolean

* switch to 1 and 0 for TRUE AND FALSE

* Revert "switch to 1 and 0 for TRUE AND FALSE"

This reverts commit 58dcf718cdc3fca636229bf29942669670cb4487.

* Revert "include if statements vs just assigning boolean"

This reverts commit da7b5fa5088d62e78ba57d9e4c01e89160e77b9e.

* Revert "Initialize TR = 1.8"

This reverts commit f9c2571faeb0acaab818bcff146a2a397c0f07ff.

* Initialize TR=1.8 inside override loop

* Cleanup TR assignment for override loop

* Code Cleanup

* Syntax error

* Syntax error

* if statements for autodistance vars

* tr-last assignment indent

* CS.readdistancelines assignment to self.tr_last

* remove else MPC init

* Flatten out elif ladder for autodistance

* Removed shrinking_fast stopping for now

Braking is too sudden with 3 bar distance when radar detects car.  Shrinking gap takes care of this with 2 bar distance.

* Code Cleanup

* Revert CAMERA_OFFSET to Comma default of 0.06

* Merge Gernby's Resonant Steering (commaai#51)

* Learn_angle_steer min max increased to +/-7 degs

* Increase min one bar distance to 12m for autodist

* Merge Gernby's Feed-Forward-Accel-Rate Branch (commaai#49)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* removed Steer Offset because Pilot no likey

* Increase tailgating 1 bar resume to 0.5 m/s

* Gernby's resonant steering v2

* fixed an oops for non-bosch hondas

* CAMERA_OFFSET = 0.08

* More conservative tailgating distance and resume

* More conservative auto-distance for 1 bar setting

* Revert CAMERA_OFFSET to 0.06

* Revert auto-distance for 1 bar distance setting

* Revert "Merge Gernby's Resonant Steering" (commaai#53)

* Revert "Revert auto-distance for 1 bar distance setting"

This reverts commit b7e5fb5.

* Revert "Revert CAMERA_OFFSET to 0.06"

This reverts commit 05cf21d.

* Revert "Merge Gernby's Resonant Steering (commaai#51)"

This reverts commit d35aa19.

* better crowned road centering: learn_angle +/-7

* slightly harder braking when tailgating

* Merge Gernby's Resonant FF steering (commaai#62)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* Boost kF for pilot by 30%

* x_lead < 7.5 or (x_lead < 17.5 and self.v_rel < 1)

* x_lead < 7.5 or (x_lead < 17.5 and self.v_rel < 0.5)

* if x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* Boost KF for all

* x_lead < 17.5 and self.v_rel < 0.75

* x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* more conservative kF for Civics

* Civic kF 0.00003 - Pilot kF 0.000078

* Revert Civic kF values to default

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* Proper alerts on Eon and disable flashing HUD alert when blinkers on or LKAS off (commaai#63)

* Disable steer alert when LKAS off

* Display steering unavailable on Eon when LKAS off

* Revert chime disable in favor of new method

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* logic correction on HUD alert

* blinkers on disables HUD alarm

* Add Manual Steering alert for LKAS Off mode

* Call manual steering alert when LKAS off

* Call blinkers alert when blinkers on

* Add blinkers alert

* Adjust Blinkers alert logic to include LKAS mode

* Fix blinker logic

* Add new steering required alerts to capnp

* Trace LKAS / LDW error

* Disable hud alert when LKAS off or blinkers on

* Disable HUD alerts if LKAS off or blinkers on

* Disable other ACC alert if LKAS off or blinkers on

* Revert testing of steering required alert override

* Disable steer saturate alert if blinkers on or LKAS off

* Disable steer sat alert if LKAS off or blinkers on

* Revert steerSaturated logic

* disable steer limit alert when LKAS off or blinkers on

* Fix Syntax error

* Revert  steerLimit alert disable

* Disable steerSat alert when blinkers on or LKAS off

* Revert stopping distance to default for pedal lurch

* Re-intro 2m stopping distance

* Reduce steerKpV for Civics by 20% for Gernby FF steering

* Reduce kPV for civic v2

* Reduce Civic kP further

* Merge Gernby's latest Feed forward resonant (commaai#68)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* completely UNtested

* untested merge

* battling shitty git

* git is sucking giant monkey balls

* Trying to figure out what git did...

* still trying to un-git myself

* Finally got it fixed, works awesome!

* Hopefully not corrupted by git

* hopefully fixed white space corruption

* working again, hopefully resolved git issue

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Prevent lurching from stop with Comma Pedal

* Prevent lurching from stop with Comma Pedal 2

* Dev UI from P Lee

* delete print() statements

* LaC.lateral_error = 1.0 * np.clip.....

* Pedal lurch prevention v4

* Increase 1 bar city tailing distance by 1 m

* More conservative braking in city for 1 and 2 bar distance

* Revert "LaC.lateral_error = 1.0 * np.clip....."

This reverts commit 82b9ff9.

* Pedal lurch prevention v5

* 1 or 2 bar:  more conservative braking

* Revert "Reduce Civic kP further"

This reverts commit af9bb3f.

* Revert "Reduce kPV for civic v2"

This reverts commit 84e25f3.

* Revert "Reduce steerKpV for Civics by 20% for Gernby FF steering"

This reverts commit 083741a.

* Revert "Revert Civic kF values to default"

This reverts commit 2d5ee5e.

* Revert "Civic kF 0.00003 - Pilot kF 0.000078"

This reverts commit c9434f3.

* Revert "more conservative kF for Civics"

This reverts commit 61613c2.

* Revert "Boost KF for all"

This reverts commit 8858f51.

* Revert "Boost kF for pilot by 30%"

This reverts commit d7220b2.

* Revert "Merge Gernby's Resonant FF steering (commaai#62)"

This reverts commit 234e57d.

* Merge with kegman-gernbyFFsteer-latest (commaai#69)

* Honda Pilot PID Tuning

* Adjustable Follow Distance w/HUD (#12)

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)

* Code Cleanup for Distance Adjustment

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

* Auto-distance at surface street speeds

Override short distance setting when slow

Override distance when slow

Override distance if slow

Override distance when slow

Override distance when slow

Increase follow distance when below 60 kph

Lead car and rel. velocity to distance override

Override distance bars

revert

Override and restore dist based on speed and accel

Step up distance when < 40 km/h and restore

Revert

When using 1 bar distance:  Slow the car down earlier and more aggressively  (#18)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Revert "Switch to 1.8s for softer braking"

This reverts commit d53623062ef814509db925fe4e624c3ae8aff1f1.

* Disable OTA update for safety

* Physical LKAS button disables OP steer and shows dashed lines on HUD (#19)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Disable LKAS

* Apply Steer = 0 when user presses LKAS button

* Add Lkas button

* Add LK mode to HUDD data object

* Add Dashed Lanes to HUD

* Adjust HDD object

* return LKAS var in CarState

* Return LK var to CS

* Syntax error fix

* Update carcontroller.py

* testing hud object hardcoded hud_lanes and lkMode

* Restore accidentally deleted steer command

* Update carcontroller.py

* Update carcontroller.py

* Don't show solid lanes if OP steering disabled

* Dashed lines fix during engagement

eliminate steering alert when lkas disabled

lkas button logic cleanup

Reverse the dashed-lane indicator

No steering alert if LKAS disabled

revert Alert - LKAS errors during steer disable

Disable audible alert when steering disabled

Delete CS.aEgo < -0.5 override condition

* Remove chime disable when steering overriden

One bar profile change to 1.8s if < 65 kph

Simplified

chime instead of beep disable for LK override

* Adjust BRAKE_STOPPING_TARGET to 0.25

Keeps the brake pump from going crazy at a stop

* Add relative velocity to auto distance for 1 bar setting (#26)

* CAMERA_OFFSET = 0.08

* Revert Cost_long to comma value of 0.1

* Do not override to 1.8s when accel from stop

* Update logic for override distance bars

* Override distance when < 65kph and v_rel not > 5

* Use rel acceleration to reset to 1 bar

* Use vRel

* Update planner.py

* v_lead - vEgo > 1

* vLead - vEgo = -1

* vLead-vEgo < -1.5

* Cleanup Arne's code for distance

* vLead - vEgo < 1.25

* Back to vLead - vEgo < -1

* Disable OP steering and audio alarm when blinkers on (#28)

* LKAS disable when blinkers are on

* Update carcontroller.py

* Update carcontroller.py

* fix syntax error

* Critical alarm if cruise disengages while braking (#32)

* Update pathplanner.py

* Loud alert in case cruise disables when braking

* re-add if statement on speed for loud alert

* Update interface.py

* increase stopping distance to car by 1.5m

* Increase stopping distance to 2m

* Revert CAMERA_OFFSET to 0.06 (comma default)

* Lane width reduction to 2.85m

* Reduce tailgating for one bar distance at surface street speeds & code cleanup (commaai#43)

* Gernby's Lane width filter fix (commaai#41)

* Fix lane width filtering

* Fixed lane width filtering

* CAMERA_OFFSET = 0.08

* Minimum distance for one bar distance setting

* Don't tailgate at slow speeds with 1 bar distance

* x_lead < 5 only

* x_lead < 5 syntax fix

* self.v_rel < -1 or (x_lead < 10 and self.v_rel >= -1 and self.v_rel < 1)

* Tail gating auto distance change

* x_lead < 7.5 and self.v_rel >= -1 and self.v_rel < 0.2

* self.lastTR > 0 re-adding reinitialization

* Revert "Gernby's Lane width filter fix (commaai#41)"

This reverts commit d081cfd8a05d2eb32e0148d477c806e65662dea7.

* Increase min distance to 10m for auto distance

* Auto distance code cleanup

* Add lead car fast approaching autodistance

* Auto distance Code cleanup

* Don't re-initialize MPC if already initialized

* self.lastTR != instead of >

* Initialize TR = 1.8

* include if statements vs just assigning boolean

* switch to 1 and 0 for TRUE AND FALSE

* Revert "switch to 1 and 0 for TRUE AND FALSE"

This reverts commit 58dcf718cdc3fca636229bf29942669670cb4487.

* Revert "include if statements vs just assigning boolean"

This reverts commit da7b5fa5088d62e78ba57d9e4c01e89160e77b9e.

* Revert "Initialize TR = 1.8"

This reverts commit f9c2571faeb0acaab818bcff146a2a397c0f07ff.

* Initialize TR=1.8 inside override loop

* Cleanup TR assignment for override loop

* Code Cleanup

* Syntax error

* Syntax error

* if statements for autodistance vars

* tr-last assignment indent

* CS.readdistancelines assignment to self.tr_last

* remove else MPC init

* Flatten out elif ladder for autodistance

* Removed shrinking_fast stopping for now

Braking is too sudden with 3 bar distance when radar detects car.  Shrinking gap takes care of this with 2 bar distance.

* Code Cleanup

* Revert CAMERA_OFFSET to Comma default of 0.06

* Merge Gernby's Resonant Steering (commaai#51)

* Learn_angle_steer min max increased to +/-7 degs

* Increase min one bar distance to 12m for autodist

* Merge Gernby's Feed-Forward-Accel-Rate Branch (commaai#49)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* removed Steer Offset because Pilot no likey

* Increase tailgating 1 bar resume to 0.5 m/s

* Gernby's resonant steering v2

* fixed an oops for non-bosch hondas

* CAMERA_OFFSET = 0.08

* More conservative tailgating distance and resume

* More conservative auto-distance for 1 bar setting

* Revert CAMERA_OFFSET to 0.06

* Revert auto-distance for 1 bar distance setting

* Revert "Merge Gernby's Resonant Steering" (commaai#53)

* Revert "Revert auto-distance for 1 bar distance setting"

This reverts commit b7e5fb5.

* Revert "Revert CAMERA_OFFSET to 0.06"

This reverts commit 05cf21d.

* Revert "Merge Gernby's Resonant Steering (commaai#51)"

This reverts commit d35aa19.

* better crowned road centering: learn_angle +/-7

* Implement csouers 67-70% charging to preserve batt

* slightly harder braking when tailgating

* x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* Proper alerts on Eon and disable flashing HUD alert when blinkers on or LKAS off (commaai#63)

* Disable steer alert when LKAS off

* Display steering unavailable on Eon when LKAS off

* Revert chime disable in favor of new method

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* logic correction on HUD alert

* blinkers on disables HUD alarm

* Add Manual Steering alert for LKAS Off mode

* Call manual steering alert when LKAS off

* Call blinkers alert when blinkers on

* Add blinkers alert

* Adjust Blinkers alert logic to include LKAS mode

* Fix blinker logic

* Add new steering required alerts to capnp

* Trace LKAS / LDW error

* Disable hud alert when LKAS off or blinkers on

* Disable HUD alerts if LKAS off or blinkers on

* Disable other ACC alert if LKAS off or blinkers on

* Revert testing of steering required alert override

* Disable steer saturate alert if blinkers on or LKAS off

* Disable steer sat alert if LKAS off or blinkers on

* Revert steerSaturated logic

* disable steer limit alert when LKAS off or blinkers on

* Fix Syntax error

* Revert  steerLimit alert disable

* Disable steerSat alert when blinkers on or LKAS off

* Revert stopping distance to default for pedal lurch

* Re-intro 2m stopping distance

* x_lead = 6

* Merge Gernby's latest Feed forward resonant (commaai#68)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* completely UNtested

* untested merge

* battling shitty git

* git is sucking giant monkey balls

* Trying to figure out what git did...

* still trying to un-git myself

* Finally got it fixed, works awesome!

* Hopefully not corrupted by git

* hopefully fixed white space corruption

* working again, hopefully resolved git issue

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Revert "Merge with kegman-gernbyFFsteer-latest (commaai#69)"

This reverts commit 99031cf.

* Pedal lurch prevention v6

* Pedal lurch prevention v7

* Revert visiond back to 0.5.6

* Revert to 0.5.6 visiond

* Brake sooner if approaching a car fast

* Pedal lurch prevention v8 - almost there

* Even more conservative braking for 2 and 3 bars

* Pedal lurch prevention v9

* 1 bar and 2 bar tuning

* syntax error 1 bar / 2 bar tuning

* Revert "syntax error 1 bar / 2 bar tuning"

This reverts commit eb4bbe1.

* Revert "1 bar and 2 bar tuning"

This reverts commit 663ece1.

* Revert "Even more conservative braking for 2 and 3 bars"

This reverts commit 4bb4cf9.

* Revert "Brake sooner if approaching a car fast"

This reverts commit 1ff5347.

* Revert "1 or 2 bar:  more conservative braking"

This reverts commit 0959a0b.

* Revert "More conservative braking in city for 1 and 2 bar distance"

This reverts commit dbae46d.

* Pedal lurch prevention v10

* Lurch prevention v11

* BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25

* visiond-wiggly 0.5.4

* visiond 0.5.6

* Fix comma pedal grinding noise when braking

commit 5dd7fb3dbe01c8854eb4784080cf7108fc970cb9
Date:   Wed Dec 19 19:34:55 2018 -0500

    Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

    This reverts commit b0d75c5.

commit f5cec844471cd4eb650450d88e6118ff818d5edb
Date:   Wed Dec 19 19:34:16 2018 -0500

    Revert "BRAKE_STOPPING_TARGET to 0.0"

    This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

commit 1e07b857438aaf983e36f45aa3653ab61aadc17f
Date:   Wed Dec 19 00:38:09 2018 -0500

    Update carstate.py

commit f6b3ba0696f5192167780579a9daa05a39bd30e2
Date:   Wed Dec 19 00:33:54 2018 -0500

    Pedal grind further Code cleanup

commit 0afbcd38396ffd863d963194dda8ddb8e9f2bf02
Date:   Wed Dec 19 00:16:15 2018 -0500

    Pedal Grinding further code cleanup

commit 33b4ce0e38441463846d593861183f96a154e11e
Date:   Tue Dec 18 16:48:03 2018 -0500

    Grinding noise code cleanup

commit f6edcfacd22fe503330adcd0bef2b9aa9a742838
Date:   Tue Dec 18 16:19:25 2018 -0500

    Fix Syntax error

commit 2a74863cf4e6d93e3b390d41fa427243f28ebdfa
Date:   Tue Dec 18 16:12:46 2018 -0500

    Pedal noise mitigation v1

commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a
Date:   Tue Dec 18 10:53:11 2018 -0500

    BRAKE_STOPPING_TARGET to 0.0

* Revert "Fix comma pedal grinding noise when braking"

This reverts commit 454b918.

* Fix Pedal Grinding noise (commaai#70)

* BRAKE_STOPPING_TARGET to 0.0

* Pedal noise mitigation v1

* Fix Syntax error

* Grinding noise code cleanup

* Pedal Grinding further code cleanup

* Pedal grind further Code cleanup

* Update carstate.py

* Revert "BRAKE_STOPPING_TARGET to 0.0"

This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

* Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

This reverts commit b0d75c5.

* Add visiond.057

* Revert "Merge branch 'kegman-devel' of https://github.com/kegman/openpilot into kegman-devel"

This reverts commit 612695b, reversing
changes made to 6531ed2.

* Fix Comma Pedal Grinding sound when braking

commit 5dd7fb3dbe01c8854eb4784080cf7108fc970cb9
Date:   Wed Dec 19 19:34:55 2018 -0500

    Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

    This reverts commit b0d75c5.

commit f5cec844471cd4eb650450d88e6118ff818d5edb
Date:   Wed Dec 19 19:34:16 2018 -0500

    Revert "BRAKE_STOPPING_TARGET to 0.0"

    This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

commit 1e07b857438aaf983e36f45aa3653ab61aadc17f
Date:   Wed Dec 19 00:38:09 2018 -0500

    Update carstate.py

commit f6b3ba0696f5192167780579a9daa05a39bd30e2
Date:   Wed Dec 19 00:33:54 2018 -0500

    Pedal grind further Code cleanup

commit 0afbcd38396ffd863d963194dda8ddb8e9f2bf02
Date:   Wed Dec 19 00:16:15 2018 -0500

    Pedal Grinding further code cleanup

commit 33b4ce0e38441463846d593861183f96a154e11e
Date:   Tue Dec 18 16:48:03 2018 -0500

    Grinding noise code cleanup

commit f6edcfacd22fe503330adcd0bef2b9aa9a742838
Date:   Tue Dec 18 16:19:25 2018 -0500

    Fix Syntax error

commit 2a74863cf4e6d93e3b390d41fa427243f28ebdfa
Date:   Tue Dec 18 16:12:46 2018 -0500

    Pedal noise mitigation v1

commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a
Date:   Tue Dec 18 10:53:11 2018 -0500

    BRAKE_STOPPING_TARGET to 0.0

* Simplified pedal grinding noise fix code

* Grinding noise fix applied only to Honda Pilots

* Indent fix

* self.CP

* Tweak braking for 1 / 2 bar distance and Fix Grinding for Pilot only (commaai#71)

* Tweaks to 1 and 2 bar distance braking

* Code cleanup

* Apply grinding fix for Honda Pilot only

* Indent fix

* self.CP

* Revert "Merge branch 'kegman-gernbyFFsteer-latest' into kegman-devel"

This reverts commit 78fa3e4, reversing
changes made to 0171235.
mespiritu pushed a commit to mespiritu/openpilot that referenced this issue Apr 1, 2019
cfranyota referenced this issue in cfranyota/openpilot-retired Jun 7, 2019
* Honda Pilot PID Tuning

* Adjustable Follow Distance w/HUD (#12)

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)

* Code Cleanup for Distance Adjustment

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

* Auto-distance at surface street speeds

Override short distance setting when slow

Override distance when slow

Override distance if slow

Override distance when slow

Override distance when slow

Increase follow distance when below 60 kph

Lead car and rel. velocity to distance override

Override distance bars

revert

Override and restore dist based on speed and accel

Step up distance when < 40 km/h and restore

Revert

When using 1 bar distance:  Slow the car down earlier and more aggressively  (#18)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Revert "Switch to 1.8s for softer braking"

This reverts commit d53623062ef814509db925fe4e624c3ae8aff1f1.

* Disable OTA update for safety

* Physical LKAS button disables OP steer and shows dashed lines on HUD (#19)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Disable LKAS

* Apply Steer = 0 when user presses LKAS button

* Add Lkas button

* Add LK mode to HUDD data object

* Add Dashed Lanes to HUD

* Adjust HDD object

* return LKAS var in CarState

* Return LK var to CS

* Syntax error fix

* Update carcontroller.py

* testing hud object hardcoded hud_lanes and lkMode

* Restore accidentally deleted steer command

* Update carcontroller.py

* Update carcontroller.py

* Don't show solid lanes if OP steering disabled

* Dashed lines fix during engagement

eliminate steering alert when lkas disabled

lkas button logic cleanup

Reverse the dashed-lane indicator

No steering alert if LKAS disabled

revert Alert - LKAS errors during steer disable

Disable audible alert when steering disabled

Delete CS.aEgo < -0.5 override condition

* Remove chime disable when steering overriden

One bar profile change to 1.8s if < 65 kph

Simplified

chime instead of beep disable for LK override

* Adjust BRAKE_STOPPING_TARGET to 0.25

Keeps the brake pump from going crazy at a stop

* Add relative velocity to auto distance for 1 bar setting (#26)

* CAMERA_OFFSET = 0.08

* Revert Cost_long to comma value of 0.1

* Do not override to 1.8s when accel from stop

* Update logic for override distance bars

* Override distance when < 65kph and v_rel not > 5

* Use rel acceleration to reset to 1 bar

* Use vRel

* Update planner.py

* v_lead - vEgo > 1

* vLead - vEgo = -1

* vLead-vEgo < -1.5

* Cleanup Arne's code for distance

* vLead - vEgo < 1.25

* Back to vLead - vEgo < -1

* Disable OP steering and audio alarm when blinkers on (#28)

* LKAS disable when blinkers are on

* Update carcontroller.py

* Update carcontroller.py

* fix syntax error

* Critical alarm if cruise disengages while braking (#32)

* Update pathplanner.py

* Loud alert in case cruise disables when braking

* re-add if statement on speed for loud alert

* Update interface.py

* increase stopping distance to car by 1.5m

* Increase stopping distance to 2m

* Revert CAMERA_OFFSET to 0.06 (comma default)

* Lane width reduction to 2.85m

* Reduce tailgating for one bar distance at surface street speeds & code cleanup (#43)

* Gernby's Lane width filter fix (#41)

* Fix lane width filtering

* Fixed lane width filtering

* CAMERA_OFFSET = 0.08

* Minimum distance for one bar distance setting

* Don't tailgate at slow speeds with 1 bar distance

* x_lead < 5 only

* x_lead < 5 syntax fix

* self.v_rel < -1 or (x_lead < 10 and self.v_rel >= -1 and self.v_rel < 1)

* Tail gating auto distance change

* x_lead < 7.5 and self.v_rel >= -1 and self.v_rel < 0.2

* self.lastTR > 0 re-adding reinitialization

* Revert "Gernby's Lane width filter fix (#41)"

This reverts commit d081cfd8a05d2eb32e0148d477c806e65662dea7.

* Increase min distance to 10m for auto distance

* Auto distance code cleanup

* Add lead car fast approaching autodistance

* Auto distance Code cleanup

* Don't re-initialize MPC if already initialized

* self.lastTR != instead of >

* Initialize TR = 1.8

* include if statements vs just assigning boolean

* switch to 1 and 0 for TRUE AND FALSE

* Revert "switch to 1 and 0 for TRUE AND FALSE"

This reverts commit 58dcf718cdc3fca636229bf29942669670cb4487.

* Revert "include if statements vs just assigning boolean"

This reverts commit da7b5fa5088d62e78ba57d9e4c01e89160e77b9e.

* Revert "Initialize TR = 1.8"

This reverts commit f9c2571faeb0acaab818bcff146a2a397c0f07ff.

* Initialize TR=1.8 inside override loop

* Cleanup TR assignment for override loop

* Code Cleanup

* Syntax error

* Syntax error

* if statements for autodistance vars

* tr-last assignment indent

* CS.readdistancelines assignment to self.tr_last

* remove else MPC init

* Flatten out elif ladder for autodistance

* Removed shrinking_fast stopping for now

Braking is too sudden with 3 bar distance when radar detects car.  Shrinking gap takes care of this with 2 bar distance.

* Code Cleanup

* Revert CAMERA_OFFSET to Comma default of 0.06

* Merge Gernby's Resonant Steering (#51)

* Learn_angle_steer min max increased to +/-7 degs

* Increase min one bar distance to 12m for autodist

* Merge Gernby's Feed-Forward-Accel-Rate Branch (#49)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* removed Steer Offset because Pilot no likey

* Increase tailgating 1 bar resume to 0.5 m/s

* Gernby's resonant steering v2

* fixed an oops for non-bosch hondas

* CAMERA_OFFSET = 0.08

* More conservative tailgating distance and resume

* More conservative auto-distance for 1 bar setting

* Revert CAMERA_OFFSET to 0.06

* Revert auto-distance for 1 bar distance setting

* Revert "Merge Gernby's Resonant Steering" (#53)

* Revert "Revert auto-distance for 1 bar distance setting"

This reverts commit b7e5fb5.

* Revert "Revert CAMERA_OFFSET to 0.06"

This reverts commit 05cf21d.

* Revert "Merge Gernby's Resonant Steering (#51)"

This reverts commit d35aa19.

* better crowned road centering: learn_angle +/-7

* Implement csouers 67-70% charging to preserve batt

* slightly harder braking when tailgating

* x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* Proper alerts on Eon and disable flashing HUD alert when blinkers on or LKAS off (#63)

* Disable steer alert when LKAS off

* Display steering unavailable on Eon when LKAS off

* Revert chime disable in favor of new method

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* logic correction on HUD alert

* blinkers on disables HUD alarm

* Add Manual Steering alert for LKAS Off mode

* Call manual steering alert when LKAS off

* Call blinkers alert when blinkers on

* Add blinkers alert

* Adjust Blinkers alert logic to include LKAS mode

* Fix blinker logic

* Add new steering required alerts to capnp

* Trace LKAS / LDW error

* Disable hud alert when LKAS off or blinkers on

* Disable HUD alerts if LKAS off or blinkers on

* Disable other ACC alert if LKAS off or blinkers on

* Revert testing of steering required alert override

* Disable steer saturate alert if blinkers on or LKAS off

* Disable steer sat alert if LKAS off or blinkers on

* Revert steerSaturated logic

* disable steer limit alert when LKAS off or blinkers on

* Fix Syntax error

* Revert  steerLimit alert disable

* Disable steerSat alert when blinkers on or LKAS off

* Revert stopping distance to default for pedal lurch

* Re-intro 2m stopping distance

* x_lead = 6

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Merge with latest kegman-devel without Gernby's FF steer (#72)

* Honda Pilot PID Tuning

* Adjustable Follow Distance w/HUD (#12)

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)

* Code Cleanup for Distance Adjustment

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

* Implement csouers 67-70% charging to preserve batt

* Auto-distance at surface street speeds

Override short distance setting when slow

Override distance when slow

Override distance if slow

Override distance when slow

Override distance when slow

Increase follow distance when below 60 kph

Lead car and rel. velocity to distance override

Override distance bars

revert

Override and restore dist based on speed and accel

Step up distance when < 40 km/h and restore

Revert

When using 1 bar distance:  Slow the car down earlier and more aggressively  (#18)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Revert "Switch to 1.8s for softer braking"

This reverts commit d53623062ef814509db925fe4e624c3ae8aff1f1.

* Disable OTA update for safety

* Physical LKAS button disables OP steer and shows dashed lines on HUD (#19)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Disable LKAS

* Apply Steer = 0 when user presses LKAS button

* Add Lkas button

* Add LK mode to HUDD data object

* Add Dashed Lanes to HUD

* Adjust HDD object

* return LKAS var in CarState

* Return LK var to CS

* Syntax error fix

* Update carcontroller.py

* testing hud object hardcoded hud_lanes and lkMode

* Restore accidentally deleted steer command

* Update carcontroller.py

* Update carcontroller.py

* Don't show solid lanes if OP steering disabled

* Dashed lines fix during engagement

eliminate steering alert when lkas disabled

lkas button logic cleanup

Reverse the dashed-lane indicator

No steering alert if LKAS disabled

revert Alert - LKAS errors during steer disable

Disable audible alert when steering disabled

Delete CS.aEgo < -0.5 override condition

* Remove chime disable when steering overriden

One bar profile change to 1.8s if < 65 kph

Simplified

chime instead of beep disable for LK override

* Adjust BRAKE_STOPPING_TARGET to 0.25

Keeps the brake pump from going crazy at a stop

* Add relative velocity to auto distance for 1 bar setting (#26)

* CAMERA_OFFSET = 0.08

* Revert Cost_long to comma value of 0.1

* Do not override to 1.8s when accel from stop

* Update logic for override distance bars

* Override distance when < 65kph and v_rel not > 5

* Use rel acceleration to reset to 1 bar

* Use vRel

* Update planner.py

* v_lead - vEgo > 1

* vLead - vEgo = -1

* vLead-vEgo < -1.5

* Cleanup Arne's code for distance

* vLead - vEgo < 1.25

* Back to vLead - vEgo < -1

* Disable OP steering and audio alarm when blinkers on (#28)

* LKAS disable when blinkers are on

* Update carcontroller.py

* Update carcontroller.py

* fix syntax error

* Critical alarm if cruise disengages while braking (#32)

* Update pathplanner.py

* Loud alert in case cruise disables when braking

* re-add if statement on speed for loud alert

* Update interface.py

* increase stopping distance to car by 1.5m

* Increase stopping distance to 2m

* Revert CAMERA_OFFSET to 0.06 (comma default)

* Lane width reduction to 2.85m

* Reduce tailgating for one bar distance at surface street speeds & code cleanup (#43)

* Gernby's Lane width filter fix (#41)

* Fix lane width filtering

* Fixed lane width filtering

* CAMERA_OFFSET = 0.08

* Minimum distance for one bar distance setting

* Don't tailgate at slow speeds with 1 bar distance

* x_lead < 5 only

* x_lead < 5 syntax fix

* self.v_rel < -1 or (x_lead < 10 and self.v_rel >= -1 and self.v_rel < 1)

* Tail gating auto distance change

* x_lead < 7.5 and self.v_rel >= -1 and self.v_rel < 0.2

* self.lastTR > 0 re-adding reinitialization

* Revert "Gernby's Lane width filter fix (#41)"

This reverts commit d081cfd8a05d2eb32e0148d477c806e65662dea7.

* Increase min distance to 10m for auto distance

* Auto distance code cleanup

* Add lead car fast approaching autodistance

* Auto distance Code cleanup

* Don't re-initialize MPC if already initialized

* self.lastTR != instead of >

* Initialize TR = 1.8

* include if statements vs just assigning boolean

* switch to 1 and 0 for TRUE AND FALSE

* Revert "switch to 1 and 0 for TRUE AND FALSE"

This reverts commit 58dcf718cdc3fca636229bf29942669670cb4487.

* Revert "include if statements vs just assigning boolean"

This reverts commit da7b5fa5088d62e78ba57d9e4c01e89160e77b9e.

* Revert "Initialize TR = 1.8"

This reverts commit f9c2571faeb0acaab818bcff146a2a397c0f07ff.

* Initialize TR=1.8 inside override loop

* Cleanup TR assignment for override loop

* Code Cleanup

* Syntax error

* Syntax error

* if statements for autodistance vars

* tr-last assignment indent

* CS.readdistancelines assignment to self.tr_last

* remove else MPC init

* Flatten out elif ladder for autodistance

* Removed shrinking_fast stopping for now

Braking is too sudden with 3 bar distance when radar detects car.  Shrinking gap takes care of this with 2 bar distance.

* Code Cleanup

* Revert CAMERA_OFFSET to Comma default of 0.06

* Merge Gernby's Resonant Steering (#51)

* Learn_angle_steer min max increased to +/-7 degs

* Increase min one bar distance to 12m for autodist

* Merge Gernby's Feed-Forward-Accel-Rate Branch (#49)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* removed Steer Offset because Pilot no likey

* Increase tailgating 1 bar resume to 0.5 m/s

* Gernby's resonant steering v2

* fixed an oops for non-bosch hondas

* CAMERA_OFFSET = 0.08

* More conservative tailgating distance and resume

* More conservative auto-distance for 1 bar setting

* Revert CAMERA_OFFSET to 0.06

* Revert auto-distance for 1 bar distance setting

* Revert "Merge Gernby's Resonant Steering" (#53)

* Revert "Revert auto-distance for 1 bar distance setting"

This reverts commit b7e5fb5.

* Revert "Revert CAMERA_OFFSET to 0.06"

This reverts commit 05cf21d.

* Revert "Merge Gernby's Resonant Steering (#51)"

This reverts commit d35aa19.

* better crowned road centering: learn_angle +/-7

* slightly harder braking when tailgating

* Merge Gernby's Resonant FF steering (#62)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* Boost kF for pilot by 30%

* x_lead < 7.5 or (x_lead < 17.5 and self.v_rel < 1)

* x_lead < 7.5 or (x_lead < 17.5 and self.v_rel < 0.5)

* if x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* Boost KF for all

* x_lead < 17.5 and self.v_rel < 0.75

* x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* more conservative kF for Civics

* Civic kF 0.00003 - Pilot kF 0.000078

* Revert Civic kF values to default

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* Proper alerts on Eon and disable flashing HUD alert when blinkers on or LKAS off (#63)

* Disable steer alert when LKAS off

* Display steering unavailable on Eon when LKAS off

* Revert chime disable in favor of new method

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* logic correction on HUD alert

* blinkers on disables HUD alarm

* Add Manual Steering alert for LKAS Off mode

* Call manual steering alert when LKAS off

* Call blinkers alert when blinkers on

* Add blinkers alert

* Adjust Blinkers alert logic to include LKAS mode

* Fix blinker logic

* Add new steering required alerts to capnp

* Trace LKAS / LDW error

* Disable hud alert when LKAS off or blinkers on

* Disable HUD alerts if LKAS off or blinkers on

* Disable other ACC alert if LKAS off or blinkers on

* Revert testing of steering required alert override

* Disable steer saturate alert if blinkers on or LKAS off

* Disable steer sat alert if LKAS off or blinkers on

* Revert steerSaturated logic

* disable steer limit alert when LKAS off or blinkers on

* Fix Syntax error

* Revert  steerLimit alert disable

* Disable steerSat alert when blinkers on or LKAS off

* Revert stopping distance to default for pedal lurch

* Re-intro 2m stopping distance

* Reduce steerKpV for Civics by 20% for Gernby FF steering

* Reduce kPV for civic v2

* Reduce Civic kP further

* Merge Gernby's latest Feed forward resonant (#68)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* completely UNtested

* untested merge

* battling shitty git

* git is sucking giant monkey balls

* Trying to figure out what git did...

* still trying to un-git myself

* Finally got it fixed, works awesome!

* Hopefully not corrupted by git

* hopefully fixed white space corruption

* working again, hopefully resolved git issue

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Prevent lurching from stop with Comma Pedal

* Prevent lurching from stop with Comma Pedal 2

* Dev UI from P Lee

* delete print() statements

* LaC.lateral_error = 1.0 * np.clip.....

* Pedal lurch prevention v4

* Increase 1 bar city tailing distance by 1 m

* More conservative braking in city for 1 and 2 bar distance

* Revert "LaC.lateral_error = 1.0 * np.clip....."

This reverts commit 82b9ff9.

* Pedal lurch prevention v5

* 1 or 2 bar:  more conservative braking

* Revert "Reduce Civic kP further"

This reverts commit af9bb3f.

* Revert "Reduce kPV for civic v2"

This reverts commit 84e25f3.

* Revert "Reduce steerKpV for Civics by 20% for Gernby FF steering"

This reverts commit 083741a.

* Revert "Revert Civic kF values to default"

This reverts commit 2d5ee5e.

* Revert "Civic kF 0.00003 - Pilot kF 0.000078"

This reverts commit c9434f3.

* Revert "more conservative kF for Civics"

This reverts commit 61613c2.

* Revert "Boost KF for all"

This reverts commit 8858f51.

* Revert "Boost kF for pilot by 30%"

This reverts commit d7220b2.

* Revert "Merge Gernby's Resonant FF steering (#62)"

This reverts commit 234e57d.

* Merge with kegman-gernbyFFsteer-latest (#69)

* Honda Pilot PID Tuning

* Adjustable Follow Distance w/HUD (#12)

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* arne's cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* TR

* remove readdistancelines - causes boot error

* copying cereal

* HUD distance lines display

* capnpp add

* revert

* revert

* Set ACC HUD to KPH

* Test - set HUD_ACC distance line to 2

* revert cruise_kph

LKAS error

* Remove custom btn var line

could be crashing the code when button pressed

* HUD distance lines

* HUD distance lines

* passing CS.CP.readdistancelines

* Hardcode hud object dist_lines var

* Initializes CS.readdistancelines before passing to hud obj

* use integer read_distance_lines instead

* Add HUD_DISTANCE_3 for horizontal HUD bars on dash

* Default to 2 bars follow distance (1.8s)

* Code Cleanup for Distance Adjustment

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

Cleanup

* Auto-distance at surface street speeds

Override short distance setting when slow

Override distance when slow

Override distance if slow

Override distance when slow

Override distance when slow

Increase follow distance when below 60 kph

Lead car and rel. velocity to distance override

Override distance bars

revert

Override and restore dist based on speed and accel

Step up distance when < 40 km/h and restore

Revert

When using 1 bar distance:  Slow the car down earlier and more aggressively  (#18)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Revert "Switch to 1.8s for softer braking"

This reverts commit d53623062ef814509db925fe4e624c3ae8aff1f1.

* Disable OTA update for safety

* Physical LKAS button disables OP steer and shows dashed lines on HUD (#19)

* Change one bar braking profile to 3 bars

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* Update planner.py

* fake lead car vars

* fake lead vars

* Auto Distance Bar Working - tuning values

* Logging to log.txt

* Override hysteresis for one bar follow

* Only set override when decelerating

* syntax error fix for override flag

* Switch to 1.8s for softer braking

* Disable LKAS

* Apply Steer = 0 when user presses LKAS button

* Add Lkas button

* Add LK mode to HUDD data object

* Add Dashed Lanes to HUD

* Adjust HDD object

* return LKAS var in CarState

* Return LK var to CS

* Syntax error fix

* Update carcontroller.py

* testing hud object hardcoded hud_lanes and lkMode

* Restore accidentally deleted steer command

* Update carcontroller.py

* Update carcontroller.py

* Don't show solid lanes if OP steering disabled

* Dashed lines fix during engagement

eliminate steering alert when lkas disabled

lkas button logic cleanup

Reverse the dashed-lane indicator

No steering alert if LKAS disabled

revert Alert - LKAS errors during steer disable

Disable audible alert when steering disabled

Delete CS.aEgo < -0.5 override condition

* Remove chime disable when steering overriden

One bar profile change to 1.8s if < 65 kph

Simplified

chime instead of beep disable for LK override

* Adjust BRAKE_STOPPING_TARGET to 0.25

Keeps the brake pump from going crazy at a stop

* Add relative velocity to auto distance for 1 bar setting (#26)

* CAMERA_OFFSET = 0.08

* Revert Cost_long to comma value of 0.1

* Do not override to 1.8s when accel from stop

* Update logic for override distance bars

* Override distance when < 65kph and v_rel not > 5

* Use rel acceleration to reset to 1 bar

* Use vRel

* Update planner.py

* v_lead - vEgo > 1

* vLead - vEgo = -1

* vLead-vEgo < -1.5

* Cleanup Arne's code for distance

* vLead - vEgo < 1.25

* Back to vLead - vEgo < -1

* Disable OP steering and audio alarm when blinkers on (#28)

* LKAS disable when blinkers are on

* Update carcontroller.py

* Update carcontroller.py

* fix syntax error

* Critical alarm if cruise disengages while braking (#32)

* Update pathplanner.py

* Loud alert in case cruise disables when braking

* re-add if statement on speed for loud alert

* Update interface.py

* increase stopping distance to car by 1.5m

* Increase stopping distance to 2m

* Revert CAMERA_OFFSET to 0.06 (comma default)

* Lane width reduction to 2.85m

* Reduce tailgating for one bar distance at surface street speeds & code cleanup (#43)

* Gernby's Lane width filter fix (#41)

* Fix lane width filtering

* Fixed lane width filtering

* CAMERA_OFFSET = 0.08

* Minimum distance for one bar distance setting

* Don't tailgate at slow speeds with 1 bar distance

* x_lead < 5 only

* x_lead < 5 syntax fix

* self.v_rel < -1 or (x_lead < 10 and self.v_rel >= -1 and self.v_rel < 1)

* Tail gating auto distance change

* x_lead < 7.5 and self.v_rel >= -1 and self.v_rel < 0.2

* self.lastTR > 0 re-adding reinitialization

* Revert "Gernby's Lane width filter fix (#41)"

This reverts commit d081cfd8a05d2eb32e0148d477c806e65662dea7.

* Increase min distance to 10m for auto distance

* Auto distance code cleanup

* Add lead car fast approaching autodistance

* Auto distance Code cleanup

* Don't re-initialize MPC if already initialized

* self.lastTR != instead of >

* Initialize TR = 1.8

* include if statements vs just assigning boolean

* switch to 1 and 0 for TRUE AND FALSE

* Revert "switch to 1 and 0 for TRUE AND FALSE"

This reverts commit 58dcf718cdc3fca636229bf29942669670cb4487.

* Revert "include if statements vs just assigning boolean"

This reverts commit da7b5fa5088d62e78ba57d9e4c01e89160e77b9e.

* Revert "Initialize TR = 1.8"

This reverts commit f9c2571faeb0acaab818bcff146a2a397c0f07ff.

* Initialize TR=1.8 inside override loop

* Cleanup TR assignment for override loop

* Code Cleanup

* Syntax error

* Syntax error

* if statements for autodistance vars

* tr-last assignment indent

* CS.readdistancelines assignment to self.tr_last

* remove else MPC init

* Flatten out elif ladder for autodistance

* Removed shrinking_fast stopping for now

Braking is too sudden with 3 bar distance when radar detects car.  Shrinking gap takes care of this with 2 bar distance.

* Code Cleanup

* Revert CAMERA_OFFSET to Comma default of 0.06

* Merge Gernby's Resonant Steering (#51)

* Learn_angle_steer min max increased to +/-7 degs

* Increase min one bar distance to 12m for autodist

* Merge Gernby's Feed-Forward-Accel-Rate Branch (#49)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* removed Steer Offset because Pilot no likey

* Increase tailgating 1 bar resume to 0.5 m/s

* Gernby's resonant steering v2

* fixed an oops for non-bosch hondas

* CAMERA_OFFSET = 0.08

* More conservative tailgating distance and resume

* More conservative auto-distance for 1 bar setting

* Revert CAMERA_OFFSET to 0.06

* Revert auto-distance for 1 bar distance setting

* Revert "Merge Gernby's Resonant Steering" (#53)

* Revert "Revert auto-distance for 1 bar distance setting"

This reverts commit b7e5fb5.

* Revert "Revert CAMERA_OFFSET to 0.06"

This reverts commit 05cf21d.

* Revert "Merge Gernby's Resonant Steering (#51)"

This reverts commit d35aa19.

* better crowned road centering: learn_angle +/-7

* Implement csouers 67-70% charging to preserve batt

* slightly harder braking when tailgating

* x_lead < 5 or (x_lead < 17.5 and self.v_rel < 0.5)

* Proper alerts on Eon and disable flashing HUD alert when blinkers on or LKAS off (#63)

* Disable steer alert when LKAS off

* Display steering unavailable on Eon when LKAS off

* Revert chime disable in favor of new method

* x_lead < 6 or (x_lead < 17.5 and self.v_rel < 0.5)

* logic correction on HUD alert

* blinkers on disables HUD alarm

* Add Manual Steering alert for LKAS Off mode

* Call manual steering alert when LKAS off

* Call blinkers alert when blinkers on

* Add blinkers alert

* Adjust Blinkers alert logic to include LKAS mode

* Fix blinker logic

* Add new steering required alerts to capnp

* Trace LKAS / LDW error

* Disable hud alert when LKAS off or blinkers on

* Disable HUD alerts if LKAS off or blinkers on

* Disable other ACC alert if LKAS off or blinkers on

* Revert testing of steering required alert override

* Disable steer saturate alert if blinkers on or LKAS off

* Disable steer sat alert if LKAS off or blinkers on

* Revert steerSaturated logic

* disable steer limit alert when LKAS off or blinkers on

* Fix Syntax error

* Revert  steerLimit alert disable

* Disable steerSat alert when blinkers on or LKAS off

* Revert stopping distance to default for pedal lurch

* Re-intro 2m stopping distance

* x_lead = 6

* Merge Gernby's latest Feed forward resonant (#68)

* Fixed feed-forward to consider steer_offset

* fixed a small oops on types

* Testing strategies for zero-crossing

* Moved angle stat collection to latcontrol.py

* First version that runs

* added outbound interface for feed-forward table

* First working

* Added more metrics

* Adjusted parameter timing

* performance tweaks

* Cleanup

* untested tweaks

* minor tweaks

* many untested changes

* going the other way with some things...

* Best yet

* cleaned up personalized "stuff"

* more cleanup for general use

* untested: minor adjustment to further reduce noise

* Fixed defect in desired angle interpolation

* some cleanup

* reverted change to Ki

* Reverted changes to manager.py

* Added steering rate consideration to latcontrol

* cleaned up for PR

* Fixed merge

* Testing approach when desired angle close to actual

* trying rate-based feed-forward

* added self-tuning parms for rate and angle FF

* fixed trim logic, and persisted to flash

* working amazingly well

* decreased time lapse for angle-based FF adjust

* many tweaks, self-tuning is a bitch

* simulteneous dual mode feedforward working very well

* added angular accelleration limit

* added super awesome angular accel limit

* non-specific save

* switching directions again

* oops

* ugly code with amazing results

* awesome, but untested after some cleanup

* more cleanup

* cleanup of the cleanup?  Need to test

* works amazingly well ... big O face

* cleanup

* I wish git was batter for cleanup

* hopefully proper merge of merged fixes of merge

* fixed an oops for non-bosch hondas

* added steer rate to future state calculation

* added actual acceleration to future projected state

* fixed projected angle error for PIF

* untested ...

* added comments

* completely UNtested

* untested merge

* battling shitty git

* git is sucking giant monkey balls

* Trying to figure out what git did...

* still trying to un-git myself

* Finally got it fixed, works awesome!

* Hopefully not corrupted by git

* hopefully fixed white space corruption

* working again, hopefully resolved git issue

* Revert "Implement csouers 67-70% charging to preserve batt"

This reverts commit e3249be.

* Revert "Merge with kegman-gernbyFFsteer-latest (#69)"

This reverts commit 99031cf.

* Pedal lurch prevention v6

* Pedal lurch prevention v7

* Revert visiond back to 0.5.6

* Revert to 0.5.6 visiond

* Brake sooner if approaching a car fast

* Pedal lurch prevention v8 - almost there

* Even more conservative braking for 2 and 3 bars

* Pedal lurch prevention v9

* 1 bar and 2 bar tuning

* syntax error 1 bar / 2 bar tuning

* Revert "syntax error 1 bar / 2 bar tuning"

This reverts commit eb4bbe1.

* Revert "1 bar and 2 bar tuning"

This reverts commit 663ece1.

* Revert "Even more conservative braking for 2 and 3 bars"

This reverts commit 4bb4cf9.

* Revert "Brake sooner if approaching a car fast"

This reverts commit 1ff5347.

* Revert "1 or 2 bar:  more conservative braking"

This reverts commit 0959a0b.

* Revert "More conservative braking in city for 1 and 2 bar distance"

This reverts commit dbae46d.

* Pedal lurch prevention v10

* Lurch prevention v11

* BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25

* visiond-wiggly 0.5.4

* visiond 0.5.6

* Fix comma pedal grinding noise when braking

commit 5dd7fb3dbe01c8854eb4784080cf7108fc970cb9
Date:   Wed Dec 19 19:34:55 2018 -0500

    Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

    This reverts commit b0d75c5.

commit f5cec844471cd4eb650450d88e6118ff818d5edb
Date:   Wed Dec 19 19:34:16 2018 -0500

    Revert "BRAKE_STOPPING_TARGET to 0.0"

    This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

commit 1e07b857438aaf983e36f45aa3653ab61aadc17f
Date:   Wed Dec 19 00:38:09 2018 -0500

    Update carstate.py

commit f6b3ba0696f5192167780579a9daa05a39bd30e2
Date:   Wed Dec 19 00:33:54 2018 -0500

    Pedal grind further Code cleanup

commit 0afbcd38396ffd863d963194dda8ddb8e9f2bf02
Date:   Wed Dec 19 00:16:15 2018 -0500

    Pedal Grinding further code cleanup

commit 33b4ce0e38441463846d593861183f96a154e11e
Date:   Tue Dec 18 16:48:03 2018 -0500

    Grinding noise code cleanup

commit f6edcfacd22fe503330adcd0bef2b9aa9a742838
Date:   Tue Dec 18 16:19:25 2018 -0500

    Fix Syntax error

commit 2a74863cf4e6d93e3b390d41fa427243f28ebdfa
Date:   Tue Dec 18 16:12:46 2018 -0500

    Pedal noise mitigation v1

commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a
Date:   Tue Dec 18 10:53:11 2018 -0500

    BRAKE_STOPPING_TARGET to 0.0

* Revert "Fix comma pedal grinding noise when braking"

This reverts commit 454b918.

* Fix Pedal Grinding noise (#70)

* BRAKE_STOPPING_TARGET to 0.0

* Pedal noise mitigation v1

* Fix Syntax error

* Grinding noise code cleanup

* Pedal Grinding further code cleanup

* Pedal grind further Code cleanup

* Update carstate.py

* Revert "BRAKE_STOPPING_TARGET to 0.0"

This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

* Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

This reverts commit b0d75c5.

* Add visiond.057

* Revert "Merge branch 'kegman-devel' of https://github.com/kegman/openpilot into kegman-devel"

This reverts commit 612695b, reversing
changes made to 6531ed2.

* Fix Comma Pedal Grinding sound when braking

commit 5dd7fb3dbe01c8854eb4784080cf7108fc970cb9
Date:   Wed Dec 19 19:34:55 2018 -0500

    Revert "BRAKE_STOPPING_TARGET reduced to 0.1 from 0.25"

    This reverts commit b0d75c5.

commit f5cec844471cd4eb650450d88e6118ff818d5edb
Date:   Wed Dec 19 19:34:16 2018 -0500

    Revert "BRAKE_STOPPING_TARGET to 0.0"

    This reverts commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a.

commit 1e07b857438aaf983e36f45aa3653ab61aadc17f
Date:   Wed Dec 19 00:38:09 2018 -0500

    Update carstate.py

commit f6b3ba0696f5192167780579a9daa05a39bd30e2
Date:   Wed Dec 19 00:33:54 2018 -0500

    Pedal grind further Code cleanup

commit 0afbcd38396ffd863d963194dda8ddb8e9f2bf02
Date:   Wed Dec 19 00:16:15 2018 -0500

    Pedal Grinding further code cleanup

commit 33b4ce0e38441463846d593861183f96a154e11e
Date:   Tue Dec 18 16:48:03 2018 -0500

    Grinding noise code cleanup

commit f6edcfacd22fe503330adcd0bef2b9aa9a742838
Date:   Tue Dec 18 16:19:25 2018 -0500

    Fix Syntax error

commit 2a74863cf4e6d93e3b390d41fa427243f28ebdfa
Date:   Tue Dec 18 16:12:46 2018 -0500

    Pedal noise mitigation v1

commit 7a6b3a67826dd1fd5b942b06eb7c1d15b0f3c23a
Date:   Tue Dec 18 10:53:11 2018 -0500

    BRAKE_STOPPING_TARGET to 0.0

* Simplified pedal grinding noise fix code

* Grinding noise fix applied only to Honda Pilots

* Indent fix

* self.CP

* Tweak braking for 1 / 2 bar distance and Fix Grinding for Pilot only (#71)

* Tweaks to 1 and 2 bar distance braking

* Code cleanup

* Apply grinding fix for Honda Pilot only

* Indent fix

* self.CP

* Revert "Merge branch 'kegman-gernbyFFsteer-latest' into kegman-devel"

This reverts commit 78fa3e4, reversing
changes made to 0171235.
pd0wm pushed a commit that referenced this issue Sep 10, 2019
9881e61 Panda for Mazda (#165)
9a15d2f fix version newline
a8ed7d2 add subaru outback/legacy to subaru safety (#259)
bdeb1c9 mazda is #12
14ea4d2 merge safety gm in a single file
bf1ef87 Add GM passive safety mode (#266)
c131fff fix canflash for pedal (#267)
3397b15 only allow bootloader entry on debug builds
d68356b Honda Nidec: fwd stock AEB (#257)
6f532c6 Black panda Jenkins (#256)
d68508c Gpio race condition fix (#263)
d69d05f Fixed pedal not initializing (#262)
36067e0 Honda safety: fixed incorrect brake decoding. Due to the specific limit of 255, this change does not affect the safety behavior

git-subtree-dir: panda
git-subtree-split: 9881e61
cbenhagen pushed a commit to cbenhagen/openpilot that referenced this issue Sep 28, 2019
Pull in changes from OP 0.5.11
sshane referenced this issue in sshane/openpilot Nov 26, 2019
pd0wm pushed a commit that referenced this issue Dec 14, 2019
b8382bb steerLimitTimer should be car dependent
9a22968 add pa0 temp to ThermalData
f6f0f60 Add stock Fcw to carState
b608683 no l/r distinction for LDW
555f48d Add ldw alert
8e8b4a4 Remove plusFrame socket in favor of UiLayoutState
3410325 log stock AEB events
2219f2b Add warning about not using cython version of sec_since_boot
8f1a512 for legacy-testing reasons, better to define the used percent instead of avail
e86d954 adding low memory event
ad23834 remove TODO
d0962b3 log mem available and cpu perc in thermald
3b753be Implement error handling and exceptions (#18)
a7d5bb7 add explicit dependencies on services.h
1ba6467 fix linter
c7d215b Added communityFeatureDisallowed event
492140a Added communityFeature bit detection to CarParams
266a5fe log Panda fault types
347a866 Switch from polling on FIFOs to signal (#12)
e25bba7 no need to double build the objects
fe43a99 20Hz for radar time step is very standard
2aabf1e Added radar time step to car params
e8ae908 Generate capnp for java
57126a2 cereal_shared
da655cd Add uptime to health
f6a8e39 add test with multiple subscribers
84b3af5 comment out the debugging
4b9c942 added power save state to health packet
66be370 run python unittest in ci
52c6db8 Run scons in CI (#14)
9414615 do need it, but only for arm
2856c37 remove gnustl_shared
7f05ee6 fix apks
e3a6bde Revert "no more makefiles"
487fbd0 don't rely on BASEDIR, and add zmq library
223e37a no more makefiles
da2ed11 don't link the wrong one
fe9fe2a scons builds the python lib now
2f81135 err, it can't build services.h
57b03f8 now we shouldn't need that yaml crap everywhere
f8e5327 bridge builds with services.h
2b0cb60 noOutput safety mode is now called silent
83880d5 add msgq tests
bcad184 msgq: dont block when fifo does not exists
b4b26782 Default to zmq
473e291 fix compilation in docker
30aaadd msgq: try again when no timeout on poll but also no message
c4f2ad5 msgq: make sure read_fifos is initalized so we dont close random fds
4e513a85 msgq: dont clean up uninitialized sockerts
c008b63 also remove the fifo from disk
ef64eb2 MSGQ stability improvements when opening and closing lots of queues
e147abc Revert "Revert "deprecate irpwr""
932dc32 Revert "deprecate irpwr"
a684415 disengage
ec27e18 capnpc also generated the header files
ee52ab9 deprecate irpwr
301c74c8 Merge branch 'master' of github.com:commaai/cereal
6da7d55 add front frame
a5944eb add conflate parameter for SubSocket::create
ca8df17 Add fault status to health
ef4ded0 add conflate support in SubSocket constructor
7fd314a update scons build file
93d814e add saturated flags to indi and lqr logs
50302fe add steeringRateLimited to car.capnp
05e3513 add msgq readme
a6759a9 faster make
94b7377 Add struct to log FW version
64ce0b5 add scons build
dc9ad18 add debug print statement on SIGINT
4a61269 Merge pull request #10 from commaai/msgq
4873449 use recv one or none after poll
a054864 default to msgq
fbc4a4c oops bad number
5067cf4 add meta
cbd0286 fix export prefix and make shared library world readable
c273054 add c exports for jni usage
e77f41e zmq already sets the errno correctly
3196cf6 Fix service list path in bridge
d35515a add all msgq files, but dont use as default
a68a38f Don't delete context from python side only
bd46c22 Revert "zmq_ctx_term is blocking"
a1fc26b zmq_ctx_term is blocking
0902182 remote address support
21a3536 only delete subsocket when created by same object
34df735 remove extra underscore from __dealloc__
c8748f8 fix internal refs
79b2fbf fixups
23ad256 import messaging and services

git-subtree-dir: cereal
git-subtree-split: b8382bb
wirelessnet2 pushed a commit to wirelessnet2/openpilot that referenced this issue Jan 26, 2020
sjkoon referenced this issue in sjkoon/openpilot Mar 13, 2020
weimou pushed a commit to SFtoLA/openpilot that referenced this issue May 6, 2021
* uids are pids

* remove fifo, go for signal

* that's more what i'm saying

* oops, that's wrong

* add some todos

* make signal poll work

* bring randomness back

* fix case in msgq when subs get evicted while polling

* check for ready messages before poll starts

* No pr builds

* use nanosleep with remainder

* this should pass the test
NinoFurger referenced this issue in NinoFurger/openpilot Jul 10, 2021
dzid26 added a commit to dzid26/openpilot-for-BMW-E8x-E9x that referenced this issue Jan 2, 2022
d32345dd Removed prints that were used for test, but cannot be compiled for the target
ba74138 Added BMW safety tests. Updated safety to limit maximum commanded target delta. Fixed safety bugs with speed scaling and other type bugs.
d3cde431 Testing helpers
c4c8cce7 Added dummy state to gmlan testing
9a2e2d6c Reduced repeated code
e1aef2e1 Made compatible with d301a59
ed075850 Merge branch 'master' of https://github.com/commaai/panda
437d7ac2 BMW hooks. Number commaai#12 used for safety.
74c8ee0 Subaru brake check (commaai#463)
4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks
c7d0d5f Volkswagen safety updates: Phase 3 (commaai#462)
4368748 WIP: Toyota brake check.  (commaai#459)
2ef996f fix addr frequencies
e063b26 Second test fix tentative
88e2593 This should fix the test replay
ebb8866 Added NISSAN replay test
b2dbb50 remove toyota ipas safety code and tests (commaai#460)
a379faf White Panda's Wi-Fi setup instructions (commaai#457)
11ef24b Improve tests (commaai#456)
fb02390 Subaru checksum counter (commaai#455)
9a44499 Fix Subaru Legacy Torque driver bug (commaai#454)
dfa6b07 separating subary legacy safety mode from global (commaai#452)
dad5858 Chrysler: add brakepress cancellation (commaai#451)
db94a5b Added Nissan safety (commaai#244)
f88af30e Merge remote-tracking branch 'remotes/Comma/master'
d7f1195 Chrysler Checksum/counter (commaai#450)
96e535e abstract crc function (commaai#448)
1b49d3e Hyundai: add gas disengage and tests (commaai#447)
598074c Volkswagen safety updates: Phase 2 (commaai#445)
b2ffaae Chrysler: disengage on gas press  (commaai#442)
2ebbe36 Subaru: disengage on gas press (commaai#446)
ccf75c4 Volkswagen safety updates: Phase 1 (commaai#444)
d686a2ce Fixed GMLAN switch tickle interrupt

git-subtree-dir: panda
git-subtree-split: d32345ddcf9f70872b54886fc6c949c20dcc8650
dzid26 added a commit to dzid26/openpilot-for-BMW-E8x-E9x that referenced this issue Feb 22, 2022
d32345dd Removed prints that were used for test, but cannot be compiled for the target
ba74138 Added BMW safety tests. Updated safety to limit maximum commanded target delta. Fixed safety bugs with speed scaling and other type bugs.
d3cde431 Testing helpers
c4c8cce7 Added dummy state to gmlan testing
9a2e2d6c Reduced repeated code
e1aef2e1 Made compatible with d301a59
ed075850 Merge branch 'master' of https://github.com/commaai/panda
437d7ac2 BMW hooks. Number commaai#12 used for safety.
74c8ee0 Subaru brake check (commaai#463)
4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks
c7d0d5f Volkswagen safety updates: Phase 3 (commaai#462)
4368748 WIP: Toyota brake check.  (commaai#459)
2ef996f fix addr frequencies
e063b26 Second test fix tentative
88e2593 This should fix the test replay
ebb8866 Added NISSAN replay test
b2dbb50 remove toyota ipas safety code and tests (commaai#460)
a379faf White Panda's Wi-Fi setup instructions (commaai#457)
11ef24b Improve tests (commaai#456)
fb02390 Subaru checksum counter (commaai#455)
9a44499 Fix Subaru Legacy Torque driver bug (commaai#454)
dfa6b07 separating subary legacy safety mode from global (commaai#452)
dad5858 Chrysler: add brakepress cancellation (commaai#451)
db94a5b Added Nissan safety (commaai#244)
f88af30e Merge remote-tracking branch 'remotes/Comma/master'
d7f1195 Chrysler Checksum/counter (commaai#450)
96e535e abstract crc function (commaai#448)
1b49d3e Hyundai: add gas disengage and tests (commaai#447)
598074c Volkswagen safety updates: Phase 2 (commaai#445)
b2ffaae Chrysler: disengage on gas press  (commaai#442)
2ebbe36 Subaru: disengage on gas press (commaai#446)
ccf75c4 Volkswagen safety updates: Phase 1 (commaai#444)
d686a2ce Fixed GMLAN switch tickle interrupt

git-subtree-dir: panda
git-subtree-split: d32345ddcf9f70872b54886fc6c949c20dcc8650
CT921 pushed a commit to DPCT921/openpilot that referenced this issue Oct 18, 2022
tamcv pushed a commit to tamcv/openpilot that referenced this issue May 16, 2024
Put sample fingerprints for ease of use of new users.
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

No branches or pull requests

3 participants