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

Move calibration values #441

Merged
merged 3 commits into from
Nov 19, 2018
Merged

Move calibration values #441

merged 3 commits into from
Nov 19, 2018

Conversation

dek3rr
Copy link

@dek3rr dek3rr commented Nov 18, 2018

  • move globally used calibration values to new module
  • removes redundant calibration class
  • no more hard-coded calibration alert speeds

@rbiasini rbiasini merged commit 53c6ca6 into commaai:devel Nov 19, 2018
adhintz added a commit to adhintz/openpilot that referenced this pull request Dec 18, 2018
* GM: remove refactor leftovers (commaai#440)

* Move calibration values (commaai#441)

* initial commit

* moved constants

* Keep steering on radar fault (commaai#442)

* Add initial support for Holden/Opel Astra BK (commaai#431)

* Added Astra support to README and RELEASE notes (commaai#443)

* Honda Nidec: avoid giraffe setting alert when car is turned off (commaai#449)

* Adding support for 2018 GMC Acadia Denali (commaai#453)

* added acadia

* adding acadia

* adding acadia

* Update radar_interface.py

* adding acadia

* refactored

* fixed tuning

* Adding acadia

* Update interface.py

* fixed whitespace

* fixed whitespace

* ACC cancel button

* GM: Cadillac ATS Coupe 2018 support (commaai#445)

* GM: Cadillac ATS Coupe 2018 support

* Missed adding Cadillac ATS

* Fixed Capitalization + Made CT6 Comment Cleaner (commaai#456)

* Update README.md

* Updated CT6 comment

* Add Lexus RX450HL as sub to RX450H (commaai#458)

Add Lexus RX450HL as sub to RX450H

* on gas pedal press, send cancel ACC button to cancel OpenPilot

* try sending +1 counter so our message isn't a duplicate

* only do the accel pedal for specific cars

* do accel pedal for all models

* try always sending 1 for cancel acc frame

* clean up comments and remove unused moving_fast

* remove unused make can msg parameters

* try incrementing wheel button counter by 2 to see if that works better for cancel

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* try to simplify message logic

* clean up code

* move Chrylser into main table in readme

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list
adhintz added a commit to adhintz/openpilot that referenced this pull request Dec 20, 2018
)

* GM: remove refactor leftovers (commaai#440)

* Move calibration values (commaai#441)

* initial commit

* moved constants

* Keep steering on radar fault (commaai#442)

* Add initial support for Holden/Opel Astra BK (commaai#431)

* Added Astra support to README and RELEASE notes (commaai#443)

* Honda Nidec: avoid giraffe setting alert when car is turned off (commaai#449)

* Adding support for 2018 GMC Acadia Denali (commaai#453)

* added acadia

* adding acadia

* adding acadia

* Update radar_interface.py

* adding acadia

* refactored

* fixed tuning

* Adding acadia

* Update interface.py

* fixed whitespace

* fixed whitespace

* ACC cancel button

* GM: Cadillac ATS Coupe 2018 support (commaai#445)

* GM: Cadillac ATS Coupe 2018 support

* Missed adding Cadillac ATS

* Fixed Capitalization + Made CT6 Comment Cleaner (commaai#456)

* Update README.md

* Updated CT6 comment

* Add Lexus RX450HL as sub to RX450H (commaai#458)

Add Lexus RX450HL as sub to RX450H

* on gas pedal press, send cancel ACC button to cancel OpenPilot

* try sending +1 counter so our message isn't a duplicate

* only do the accel pedal for specific cars

* do accel pedal for all models

* try always sending 1 for cancel acc frame

* clean up comments and remove unused moving_fast

* remove unused make can msg parameters

* try incrementing wheel button counter by 2 to see if that works better for cancel

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* try to simplify message logic

* clean up code

* move Chrylser into main table in readme

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list

* separate fingerprint for trailhawk. separate wheelbase for Cherokee
adhintz added a commit to adhintz/openpilot that referenced this pull request Dec 29, 2018
* GM: remove refactor leftovers (commaai#440)

* Move calibration values (commaai#441)

* initial commit

* moved constants

* Keep steering on radar fault (commaai#442)

* Add initial support for Holden/Opel Astra BK (commaai#431)

* Added Astra support to README and RELEASE notes (commaai#443)

* Honda Nidec: avoid giraffe setting alert when car is turned off (commaai#449)

* Adding support for 2018 GMC Acadia Denali (commaai#453)

* added acadia

* adding acadia

* adding acadia

* Update radar_interface.py

* adding acadia

* refactored

* fixed tuning

* Adding acadia

* Update interface.py

* fixed whitespace

* fixed whitespace

* ACC cancel button

* GM: Cadillac ATS Coupe 2018 support (commaai#445)

* GM: Cadillac ATS Coupe 2018 support

* Missed adding Cadillac ATS

* Fixed Capitalization + Made CT6 Comment Cleaner (commaai#456)

* Update README.md

* Updated CT6 comment

* Add Lexus RX450HL as sub to RX450H (commaai#458)

Add Lexus RX450HL as sub to RX450H

* on gas pedal press, send cancel ACC button to cancel OpenPilot

* try sending +1 counter so our message isn't a duplicate

* only do the accel pedal for specific cars

* do accel pedal for all models

* try always sending 1 for cancel acc frame

* clean up comments and remove unused moving_fast

* remove unused make can msg parameters

* try incrementing wheel button counter by 2 to see if that works better for cancel

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* try to simplify message logic

* clean up code

* move Chrylser into main table in readme

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list

* separate fingerprint for trailhawk. separate wheelbase for Cherokee

* add fingerprint for Pacifica 2019 Hybrid.
adhintz added a commit to adhintz/openpilot that referenced this pull request Dec 29, 2018
* remove logging from devel

* Revert "remove logging from devel"

This reverts commit 2145747.

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list

* 0.5.7 & Jeep Grand Cherokee 2017 support (#7)

* GM: remove refactor leftovers (commaai#440)

* Move calibration values (commaai#441)

* initial commit

* moved constants

* Keep steering on radar fault (commaai#442)

* Add initial support for Holden/Opel Astra BK (commaai#431)

* Added Astra support to README and RELEASE notes (commaai#443)

* Honda Nidec: avoid giraffe setting alert when car is turned off (commaai#449)

* Adding support for 2018 GMC Acadia Denali (commaai#453)

* added acadia

* adding acadia

* adding acadia

* Update radar_interface.py

* adding acadia

* refactored

* fixed tuning

* Adding acadia

* Update interface.py

* fixed whitespace

* fixed whitespace

* ACC cancel button

* GM: Cadillac ATS Coupe 2018 support (commaai#445)

* GM: Cadillac ATS Coupe 2018 support

* Missed adding Cadillac ATS

* Fixed Capitalization + Made CT6 Comment Cleaner (commaai#456)

* Update README.md

* Updated CT6 comment

* Add Lexus RX450HL as sub to RX450H (commaai#458)

Add Lexus RX450HL as sub to RX450H

* on gas pedal press, send cancel ACC button to cancel OpenPilot

* try sending +1 counter so our message isn't a duplicate

* only do the accel pedal for specific cars

* do accel pedal for all models

* try always sending 1 for cancel acc frame

* clean up comments and remove unused moving_fast

* remove unused make can msg parameters

* try incrementing wheel button counter by 2 to see if that works better for cancel

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* try to simplify message logic

* clean up code

* move Chrylser into main table in readme

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list

* separate fingerprint for trailhawk. separate wheelbase for Cherokee

*  separate fingerprint for trailhawk. separate wheelbase for Cherokee (#8)

* GM: remove refactor leftovers (commaai#440)

* Move calibration values (commaai#441)

* initial commit

* moved constants

* Keep steering on radar fault (commaai#442)

* Add initial support for Holden/Opel Astra BK (commaai#431)

* Added Astra support to README and RELEASE notes (commaai#443)

* Honda Nidec: avoid giraffe setting alert when car is turned off (commaai#449)

* Adding support for 2018 GMC Acadia Denali (commaai#453)

* added acadia

* adding acadia

* adding acadia

* Update radar_interface.py

* adding acadia

* refactored

* fixed tuning

* Adding acadia

* Update interface.py

* fixed whitespace

* fixed whitespace

* ACC cancel button

* GM: Cadillac ATS Coupe 2018 support (commaai#445)

* GM: Cadillac ATS Coupe 2018 support

* Missed adding Cadillac ATS

* Fixed Capitalization + Made CT6 Comment Cleaner (commaai#456)

* Update README.md

* Updated CT6 comment

* Add Lexus RX450HL as sub to RX450H (commaai#458)

Add Lexus RX450HL as sub to RX450H

* on gas pedal press, send cancel ACC button to cancel OpenPilot

* try sending +1 counter so our message isn't a duplicate

* only do the accel pedal for specific cars

* do accel pedal for all models

* try always sending 1 for cancel acc frame

* clean up comments and remove unused moving_fast

* remove unused make can msg parameters

* try incrementing wheel button counter by 2 to see if that works better for cancel

* Squashed 'opendbc/' changes from 3f6cd74..e108b6b

e108b6b Add more Sign recognitions (commaai#126)
6e8a363 Add GM FCW Alert (Take 2) (commaai#125)
368701a Revert "Add GM FCW dashboard alert (commaai#123)" (commaai#124)
98b5f66 Add GM FCW dashboard alert (commaai#123)
71b7588 Adds dbc for 2019 Honda Insight (commaai#122)

git-subtree-dir: opendbc
git-subtree-split: e108b6b

* Squashed 'pyextra/' changes from fb152de..8cc1594

8cc1594 update overpy
2c18997 switch to forked version of overpy

git-subtree-dir: pyextra
git-subtree-split: 8cc1594238fcae6acb8bcd825ac73bbca586b1be

* openpilot v0.5.7 release

* try to simplify message logic

* clean up code

* move Chrylser into main table in readme

* 0.5.7 hotfixes

* On pedal press, if in steer error state, do not send ACC cancel button message.
Sending the ACC cancel button message in this state causes the car to display warnings.

* set the new ret.openpilotLongitudinalControl = False

* hotfix: wait longer in CDP mode before switching to fast charge, so EON can boot (commaai#469)

* generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Trailhawk

* disable pedal_gas for now to do a devel release. Sending 23b might fault other cars.

* add jeep grand cherokee 2017 to readme car list

* separate fingerprint for trailhawk. separate wheelbase for Cherokee

* add fingerprint for Pacifica 2019 Hybrid.
klaus385 pushed a commit to klaus385/openpilot that referenced this pull request Dec 31, 2018
* initial commit

* moved constants
@dek3rr dek3rr deleted the calib_alert branch June 11, 2019 01:18
dragonpilot pushed a commit to dragonpilot-community/dragonpilot that referenced this pull request Apr 7, 2020
* initial commit

* moved constants
mlocoteta pushed a commit to mlocoteta/openpilot that referenced this pull request Aug 7, 2021
* start to work on onroad ui

* saInit

* button test

* fix

* test

* test

* test

* ButtonsWindow will hold all onroad buttons!

* circle button

* two button demo

* tune the buttons

* closer to before

* closer to before

* ml colors

* button colors

* fix

* initialize df button with param data and send cereal message

* fix stacking

* margin

* match order

* can go in main stylesheet
cfranyota pushed a commit to cfranyota/openpilot-retired that referenced this pull request Aug 8, 2021
* start to work on onroad ui

* saInit

* button test

* fix

* test

* test

* test

* ButtonsWindow will hold all onroad buttons!

* circle button

* two button demo

* tune the buttons

* closer to before

* closer to before

* ml colors

* button colors

* fix

* initialize df button with param data and send cereal message

* fix stacking

* margin

* match order

* can go in main stylesheet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants