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

New kegman threading with automatic merging if file and conf variable mismatch #227

Merged
merged 9 commits into from
Apr 19, 2019
Merged

Conversation

sshane
Copy link
Collaborator

@sshane sshane commented Apr 19, 2019

Also automatically launches the write thread if the file saves a parameter

New syntax to get values (note, the old syntax still works):
kegman.get("lastSloMode")
Can also supply a list of keys:
kegman.get(["lastSloMode", "lastGasMode"])

New syntax to save key/value (the old syntax does not work):
kegman.save({"wheelTouchSeconds": 600})
Can also supply multiple key/value pairs to save at once:
kegman.save({"wheelTouchSeconds": 600, "lastALCAMode": 2})

New syntax to import:
import selfdrive.kegman_conf as kegman

Calling kegman = kegman_conf() is no longer required.

@sshane sshane merged commit 9b7dcf5 into arne182:release2 Apr 19, 2019
arne182 pushed a commit that referenced this pull request Mar 18, 2020
a62d5dd Add TSK_06 CRC validation for VW MQB (#234)
ce72375 Fixed up sign on Driver Torque, added unit (#233)
bd72c72 Added ProPilot HUD messages (#231)
f308ca6 Subaru: added counter and checksum to brake msg
d1f76d6 Add Motor_20 CRC support (#229)
6252718 Add STEER_ANGLE to all STEER_TORUQE_SENSOR messages (#228)
c0b4261 Revert "add angle field in torque sensor message to all cars (#227)"
bd82848 add angle field in torque sensor message to all cars (#227)
56f0259 Lexus CTH fix: brake pressed is on bit 5 like corolla and rav4
9b6ca31 fix: Replicate changes done on _honda_2017.dbc (#225)
1bd26d0 Added messages. Cleaned up endianness (#226)
44b9e74 Revert "Toyota: add checksum to BRAKE_MODULE (#224)"
8b18c92 Toyota: add checksum to BRAKE_MODULE (#224)
2bab4d6 Add Honda-Bosch lane line detection signals. (#223)
a1aa3b7 Cleanup of Nissan DBC (#218)
c1f7648 reverting changes to Chrysler: speed message seems different from car to car
2de8e9e Chrysler: Speed msg is 5 bytes
f4ac315 Chrysler: add counter to 514
0fb62cf Toyota Blind Spot Monitor (TSS2-only?) (#219)

git-subtree-dir: opendbc
git-subtree-split: a62d5dd
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.

1 participant