* add PR comment with screenshots on ui changes
* fix pr comment if statements
* use default shallow checkout
* use commaai's ci-artifacts
* use my ci-artifacts
* use tj-actions/changed-files
* clean up
* use comma repos
* make ci-artifacts branch openpilot/pr-#
* remove redundent path
* Mini model v2 prototype
* Apply suggestions
* Add meta
* Support for new packet in model
* Support in process replay
* Meta
* Add it to services
* Update model replay
* Add drivingModelData in model_replay
* Update ref
* MAX_FRAMES*3
* No modelv2, but drivingModelData at 2hz
* Polypath
* Dont use keyword
* Update model ref commit
* xyz coeff
* Fix field name
* Update ref commit
* Min qlog size 0.6
---------
Co-authored-by: Comma Device <device@comma.ai>
* count rlogs
* minimization changes
* cache to avoid duplicate checks
* no real point in checking qlogs to just show the warning
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Rebase ES support
* Update already existing
* Update translations
* Retry
* Updated to new
* Completed
* Fixed clipping words offroad
* Fix up mistakes
* Shortening minute
* Fix long GitHub message
* noble build
* workflow
* symlink
* map only for noble
* sym
* add qt to cppcheck
* cppcheck noreturn in non void funct
* get kaitai header
* kaitai header
* syntax
* try new pyopencl
* try this version
* install lsb-core manually
* support old 20.04 lsb-core
* try arm
* try latest pyopencl
* revert
* use pocl icd
* no lock
* no arm pyopencl
* new intel opencl runtime
* pin filelock
* undo
* glsl version
* new version
* build test
* remove test
* new metadrive
* remove glsl restrictions
* <optional>
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* cache
* new cache
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* internal source list files like azure api
* messy but works
* no limit
* simpler
* clean up
* clean up
* clean up
* that's obvious
* better
* we need to unfortunately return a url, so best to take a naive approach for now
* todo
* fix
* clean up
* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
* staging api
* other stuff
* ugh this should really not be duplicated, we already check the max segnum in Route class
* better error message!!
* more better
* clean up
* clean up
* breaks again
This commit adds a new script, 'sync-lfs.sh'. This script assists by syncing the git large file storage (LFS) system. It backs up the current LFS configuration, uses the comma-separated configuration for operations like fetch and pull, and then restores the original configuration before pushing to the origin's main branch.
* Custom setproctitle (#32667)
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert that for now
* use last 15
* fix
* use name
* update those
* and modeld
* rm
---------
Co-authored-by: schlimeszn <138847413+schlimeszn@users.noreply.github.com>
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
* Loading torque data only once and reusing it across function calls.
* apply review
* still check only one entry
* fix that
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Tweak carspecs for 2023 (and now also 24) ioniq 6 to reflect public info instead of cloning ioniq 5 specs
* Regenerated car docs
* revert specs *for now*
---------
Co-authored-by: Riley Williams <riley@rileyww.dev>
Co-authored-by: Riley Williams <riley@rileyw.dev>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* pytest: discover everything in openpilot/
* ignore process replay
* remove --ignore=openpilot/
* ignore directories in root
* remove skip in selfdrive/test/process_replay
* use openpilot directory
* set openpilot directory for test_translations
* omit generated config.py files
* run ci
* cd into openpilot for test_translation
* &&
* remove rm main_test_en command
* remove echo
* increase shm-size to 2G
* remove rm
* test only cpp_files that are test_*.cc~
* add process_replay test skip
* use addopts in pyproject to ignore test_processes
* try --rootdir for pytest
* cleanups / add rootdir in PYTEST env
* add rm create_test_translations
* revert poetry.lock
* simplify
* no regen!
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert me
* Revert "revert me"
This reverts commit 17d815ddfc9a18f7fb9f39f89ec8b4481389b339.
* duh we have timed!
* clean up
* use clocks
* re-initialize map on SSL handshake failure (time)
* this is fine, takes some time to init
* fix
* log errors like map renderer
* more clean up
full message is "loading style failed: SSL handshake failed"
* MOAR
* we still can't swap the token live
* mbgl has its own retries that never work, don't reinit multiple times at once
* simpler
* more
* whoops
* this works
* fix from merge
* rm
* fix cmt
* only an issue calling the function inside itself
* only pick ecus from brand
* use superset of all requests
* much better
* clean up
* clean up
* try 150
* ?
* ???
* faster debug
* wtf
* no clue
* run push!
* this shouldn't catch it
* clean up
* rm
* finish failure on crossing any line
* update
* standardize queue messages
* update control_command_gen
* fix
* fix logic
* update closing type
* update test
* update logic
* update test
* add out of lane to local
* ci arrive_dest
* pytest integration
* update ci_config
* fix ruff
* move test termination to time
* better
* better order
* curve_len
* add buffer
* cleanup
* cleanup
* cleanup
* cleanup
* out_of_lane
* cleanup
* merge tests
* run 90s
* change test name
* local out of lane detect
* out_of_lane
* static anal
* cleanup
* test_duration
* change setup_class -> setup_create_bridge
* no print state during test
* new out_of_lane detect
* cleanup print in common.py
* fix
* fix
* check distance vs time
* cleanup
* cleanup increase check time
* minimum bridge test time
* wording
* cleanup
* debug: disable FW cache
* Ford: detect missing TJA/LCA config and disable LKAS
* set dashcamOnly
* revert
* clean up
* clean up
* some CAN FD do not have 0x01 block for PSCM
* bump cereal (fork)
* remove confusing comment
* add flags/event
* remove duplicate from events
* copy can be next pr
* dashcamOnly if no config comes back either (this shouldn't happen)
* flipped
* can do this
* Revert "can do this"
This reverts commit c3d311b2ffb7bbc346c7f702ac5c1934bc495c65.
* Revert "flipped"
This reverts commit 75c01fb4c5f7fdc9222ea13b8901f76b5b419c99.
* Revert "dashcamOnly if no config comes back either (this shouldn't happen)"
This reverts commit f82624a0eb28bf683660f86b3ddfd44717a6915f.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* format card
* standalone process
* no class member CS, there's no point
also can be confusing; what else could be using this?
* rename CoS
* Update selfdrive/controls/controlsd.py
* never works first time :D
* canRcvTimeout is bool
* hack
* add cpu
* see what testing closet comes up with
* first
* some clean up
* support passable CI, fix test models
* fix startup alert
* process replay changes
* test_fuzzy
* gate carOutput valid on carControl valid
* we should publish after we update carOutput
* controlsd was using actuatorsOutput from 2 frames ago for torque, not the most up to date
* check all checks for carControl in case controlsd dies
* log more timestamps
* more generic latency logger; needs some clean up
latency_logger.py was difficult to understand and modify
* card polls on can and carControl to get latest carControl possible
* temp try to send earlier
* add log
* remove latencylogger
* no mpld3!
* old loop
* detect first event
* normal send
* revert "card polls on can and carControl to get latest carControl possible"
how it was is best
* sheesh! update should be first
* first timestamp
* temp comment ( timestamp is slow :( )
* more final ordering, and make polling on/off test repeatable
* Received can
* new plot timestamps
* clean up
* no poll
* add controllers (draft)
* Revert "add controllers (draft)"
This reverts commit e2c3f01b2fadcff74347bac90c8a5cc1ef4e27b3.
* fix that
* conventions
* just use CS
* consider controlsd state machine in card: not fully done
* hmm it's just becoming controlsd
* rm debugging
* Revert "hmm it's just becoming controlsd"
This reverts commit 534a357ee95bec4ed070667186af55d59421bbc7.
* Revert "just use CS"
This reverts commit 9fa7406f30c86200f20457f7b9ff95e731201bf9.
* add vCruise
* migrate car state
* Revert "migrate car state"
This reverts commit 4ae86ca163c6920070f410f608f7644ab632850b.
* Revert "add vCruise"
This reverts commit af247a8da41c3626ada4231b98042da1a1ae4633.
* simple state machine in card (doesn't work as is)
* Revert "simple state machine in card (doesn't work as is)"
This reverts commit b4af8a9b0a2e17fdfc89d344c64678ef51305c24.
* poll carState without conflate
* bump
* remove state transition
* fix
* update refs
* ignore cumLagMs and don't ignore valid
* fix controls mismatch; controlsd used to set alt exp
* controlsd_config_callback not needed for card
* revert ref temp
* update refs
* no poll
* not builder!
* test fix
* need to migrate initialized
* CC will be a reader
* more as_reader!
* fix None
* init after publish like before - no real difference
* controlsd clean up
* remove redundant check and check passive for init
* stash
* flip
* migrate missing carOutput for controlsd
* Update ref_commit
* bump cereal
* comment
* no class params
* no class
* Revert "no class"
This reverts commit 5499b83c2dcb5462070626f8523e3aec6f4c209d.
* add todo
* regen and update refs
* fix
* update refs
* and fix that
* should be controlsstate
* remove controlsState migration
CoS.initialized isn't needed yet
* fix
* flip!
* bump
* fix that
* update refs
* fix
* if canValid goes false, controlsd would still send
* bump
* rm diff
* need to be very careful with initializing
* update refs
* regen
* regen
* update
* undo
* update refs
* fix
* real fix
* test
* test2
* test3
* stash
* Revert "stash"
This reverts commit bf6765f526b48426f49a4b29c4042097f57fc4b0.
* rk.lagging can not be trusted. BODY segment has radarFault while modelV2 is not valid, causing radarState to not be valid
* order
* update refs again
* we never logged carOutput!
* bump
* add back checks
* standardize queue messages
* update control_command_gen
* fix
* fix logic
* update closing type
* qmessagetype -> enum
* update type hint
* old close() makes more sense
* cleanup
* fix
* revert that
* revert that
* better name
* actually this is better
* Revert "card: move all car events (#32427)"
This reverts commit 8f46028bd4.
* keep the event here
* oops
* Revert "oops"
This reverts commit ea99a2768fbeb7a6123dd755585157b530e7a2a1.
* Revert "keep the event here"
This reverts commit ec089b4e1afdf09b2e6b184de8f23584ef931601.
* this star doesn't make sense
* only docs for now
* flip
* fix spotty test_time_to_onroad.py
* better
fix
fix
fix
fix
* already there -_-
* we can fp again
* card: create pedal pressed event (#32393)
* move pedalPressed to card
* rm
* needs to be a builder
* move these
* clean up
* reader later
* Update ref_commit
* moved to card
* Adding demo version for acceleration only
* Adding, plot any event
* Adding dynamic blueprint creation and menu to choose what to plot
* Adding, pool of processes for faster data visualization
* Adding, install rerun if not present
* Adding. thumbnail support
* Refactoring, minor cleanup
* -Use rerun pre-release
-Remove json as a middle format
-Replace recursion with stack-based approach
* Refactoring, using services from cereal instead of hardcoding them
* Use of lr.run_across_segments instead of pool,
Use of python dict instead of capnp objs - better performance
Use LogReader syntax
* Enable logging of liveTracks, pandaStates
* Use of plotjuggler user experience
* Fixing bug in log_msg function
* cleanup
---------
Co-authored-by: savojovic <jovo.savic00@gmail.com>
Co-authored-by: savojovic <74861870+savojovic@users.noreply.github.com>
* move stateless, common car events to car interface
* try to reduce process replay diff a bit
* Revert "try to reduce process replay diff a bit"
This reverts commit b12798deabea67c5a636d6e70e80a3c21c7225ff.
* update refs
* VW: Steer to zero, for large values of zero
* ah, the joy of floating point
* comment, style
* actually fix floating point issue
* follow PlatformConfig refactor
* this check is not useful after PlatformConfig
* don't really need that
* work around docs assert
* little better
* one comment
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Ford: use platform codes to fuzzy fingerprint
TODO: write scripts/tests (print platform codes and version ranges etc.)
May close#31052
* get_platform_codes: fix return type
* add print_platform_codes.py script
* print_platform_codes: sort versions
* match_fw_to_car_fuzzy: use set comprehension, and fix typo
* Ford: add missing Mach-E fw
From the route 83a4e056c7072678/2023-11-13--16-51-33 (which is already
in selfdrive/car/tests/routes.py, added in #30691).
* add ford_fuzzy_fingerprint.ipynb notebook
* get_platform_codes: use regex to parse firmware
* test_ford: test_platform_codes_fuzzy_fw
* test_ford: use get_platform_codes in test_fw_versions
* match_fw_to_car_fuzzy: improve comments
* test_ford: add test_platform_codes_spot_check
* test_ford: add test_match_fw_fuzzy
* remove comment from notebook
* TestFordFW: remove engine ECU FW
* update print_platform_codes.py
* remove part number (unecessary)
* platform codes can just use platform hint and model year - software revision not useful
* fuzzy FP on the platform hint and model year hint range
* fix platform codes test
* update notebook
* add notebook
* explain model year hint better
* test part numbers again
* cleanup notebooks
* remove notebook
* cleanup match_fw_to_car_fuzzy and add comments
* update comment
* .
* Revert "remove notebook"
This reverts commit 5d4ca202f2a23601d5c829204119f36a58f2b451.
* add notebook back
* remove PSCM from PLATFORM_CODE_ECUS
ABS and IPMA are the best for uniquely matching, and the radar is always required
* Revert "remove PSCM from PLATFORM_CODE_ECUS"
This reverts commit b7baeac19c18b5aa0c31da52f12054f4bae6e1ff.
* fix from merge
* more fixes
revert
* FW_RE -> FW_PATTERN
* this can actually be set
* conventions
* just add
* convention
* refactor matcher, this brings it more in line with Hyundai. IMPORTANT NOTE:
NOTE THAT WE remove the separation for the different platform code model year hint ranges, I don't see that being a problem
* better/smaller test
* add test to catch overlapping platform codes
* remove nb
* not now
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* useless
* Revert "useless"
This reverts commit 28f0bb9e9794d60eefba8063b47d8ca113308008.
* this forever hangs you disconnect (or 2 hours)
* same timeout as the global websocket
* Revert "same timeout as the global websocket"
This reverts commit 0bd0cb8a38a3e17960c1fae205311d86a9cf8feb.
* setting the timeout affects the entire websocket and disconnects, not just recv timeout
* fix that
* fix test
* ignore modelV2 and longitudinalPlan on the body to avoid fcw alerts
* move joystick_mode up because ignore depends on it
* revert and ignore fcw itself instead
* Update action that pulls in deprecated version of Node.js
Missed an action that still pulls in a deprecated version of
Node.js, so correct that now.
* Fix another action that pulls in deprecated Node.js
Found another action that needs updating
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* stg10bit
* back2ten
* Revert "remove"
This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.
* 20hz and swb
* correct height
* 10bit
* ui hack for now
* slight
* perfect
* blk64
* ccm
* fix page faults
* template
* set 4x
* is this fine
* try
* this seems to work
* Revert "this seems to work"
This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.
* needs to be static
* close
* 64 is optimal
* 2
* take
* not 1
* offset
* whats going on
* i have no idea
* less resistence
* box defs
* no
* reduce blur artifacts
* simplify
* fix
* fake short is too much for bright
* can be subzero
* should not use lsvc
* no wasted bit
* cont no slow
* no less than 10bit
* it is based
* wrong
* right
* quart
* shift
* raise noise floor
* 4.5/4.7
* same ballpark
* int is fine
* shane owes me m4a4
* Revert "shane owes me m4a4"
This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.
* back
* Revert "4.5/4.7"
This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.
* default
* oof
* clean up
* simpilfy
* from sensorinfo
* no div
* better name
* not the wrong one
* not anymore relevant
* too
* not call it debayer
* cl headers
* arg is 2nd
* gone is is_bggr
* define
* no is hdr
* rgb_tmp
* p1
* clean up
* 4
* cant for
* fix somewhre else
* const
* ap
* rects
* just set staruc
* nnew tmp
* hmm
---------
Co-authored-by: Comma Device <device@comma.ai>
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* stg10bit
* back2ten
* Revert "remove"
This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.
* 20hz and swb
* correct height
* 10bit
* ui hack for now
* slight
* perfect
* blk64
* ccm
* fix page faults
* template
* set 4x
* is this fine
* try
* this seems to work
* Revert "this seems to work"
This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.
* needs to be static
* close
* 64 is optimal
* 2
* take
* not 1
* offset
* whats going on
* i have no idea
* less resistence
* box defs
* no
* reduce blur artifacts
* simplify
* fix
* fake short is too much for bright
* can be subzero
* should not use lsvc
* no wasted bit
* cont no slow
* no less than 10bit
* it is based
* wrong
* right
* quart
* shift
* raise noise floor
* 4.5/4.7
* same ballpark
* int is fine
* shane owes me m4a4
* Revert "shane owes me m4a4"
This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.
* back
* Revert "4.5/4.7"
This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.
* default
* oof
* clean up
* simpilfy
* from sensorinfo
* no div
* better name
* not the wrong one
* not anymore relevant
* too
* not call it debayer
* cl headers
* arg is 2nd
* gone is is_bggr
* define
* no is hdr
* rgb_tmp
* p1
* clean up
* 4
* cant for
* fix somewhre else
* const
* ap
* rects
* just set staruc
* nnew tmp
* pull it for now
* 12
* common rect
* Revert "not anymore relevant"
This reverts commit 1d574673a16cc31b7a255609e07775c3579eef15.
* Revert "too"
This reverts commit c2d4dcc52a859fe799362f9fcc2ffda99b264e50.
* Revert "Revert "too""
This reverts commit 0abbabe1fde51592f1619058638b4ac6a6dee4b3.
* no tol is fine
* rename
* sensor id
* unsgin
* flag
* some linalg
* cast
* should be h ref
* cap
---------
Co-authored-by: Comma Device <device@comma.ai>
* less scripts
* better
* fixes
* naming
* revert
* cleanup
* lets test it
* fix that one
* and rm
* don't run this
* fix
* not here
* revert testing
* fix docs
* default here too
* t
---------
Co-authored-by: Comma Device <device@comma.ai>
* add from 320098ff6c5e4730/2023-04-13--17-47-46
* from a3af9bb0ea9298f4/2024-04-07--10-35-20
* Revert "from a3af9bb0ea9298f4/2024-04-07--10-35-20"
This reverts commit 1bbfa8805891d072986e741296ff2248ab249f23.
* add from 5d8793699017d179/2024-04-16--16-21-14
Honda HR-V 2023 EX-L Mexico plant, US market
* this is that unknown response
* and this is the unknown addr from the og user
* clean up
* consistent order
* update pattern
* Fingerprints: KIA Niro HEV South Korea model
* Update selfdrive/car/hyundai/fingerprints.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Ford: add Ranger 2024 (CAN FD, dashcam only)
* force fingerprint
* debug
* add FW (using debug_fw_fingerprinting_offline)
* add test route
* Revert "debug"
This reverts commit 9d128cb1bbb28fb0cb8da6725c291ebe285e7467.
* Revert "force fingerprint"
This reverts commit 421d92172f354b4713a1371bec9dc9b1bbb6318f.
* update package and finalise steer ratio
"Adaptive Cruise Control with Lane Centering" is part of the Raptor
Standard Equipment Group (i.e. only on the Raptor trim). However,
looking at As-Built/VIN data for Raptor LARIATs show that although Ford
does not advertise it they do come with Lane Centering (the configurator
only says they have ACC with Stop and Go).
ACC with Stop and Go can also be added to the lower XLT trim as part of
the Technology Package, but it is unclear at this point whether that
includes Lane Centering.
The 2021 Ranger had a 17.0 steer ratio. The As-Built data suggests
17/18. PlotJuggler shows the liveParameters.steerRatio between 16.5-17.5
on two short drives.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* add function signature and behavior comment
* add test
* move chassis codes to platform config!
* add a shared chassis code test
* function
* test matching
* this commit isn't complete yet
* Revert "this commit isn't complete yet"
This reverts commit ae77d5cd54e1f43d390fb70c4da38a95ac34f8da.
* need to check WMI
* TODO: test WMI
* test wmi
* radar FW sanity check
* fix test
* fixes from merge
fixes from merge
* whoops
* fix static analysis!
* do match_fw_to_car
match_fw_to_car takes vin
* makes sense to keep it one function, and we can return exact or fuzzy!
* clean up
* kinda pointless
* fix more tests
* back to function being only fuzzy
* revert test_fw_fingerprint
* revert test_fw_fingerprint
* simplify
* clean up/fixes
* rename test
* less duplicatey WMI descriptions
* fix
* convert to enum
* I am confident about these WMIs
* these are also good
* we support 5N AUS/NZ and NAR (North American) AX Tiguans
fixes
* Tiguan also Mexico
* only one user for caddy
* got from the test route
* check that the gateway type matches the platform (each platform has 1 or 2 types)
* ~gateway~ -> exact FW match
* remove re
* ensure WMIs are set
* actually no reason to delete
* move comment up to the platform config
* proper wmis typing
* spacing
* flip
* add Tiguan NAR (North American Region)
* cars in AUS/NZ (2019+) have first generation chassis code :/
jyoung states true first generation cars should CAN error
* too complex
* Revert "too complex"
This reverts commit 7614bfd466f26cf9b3ebf267f5a2c06d97527496.
* no logging is fine
* EPS is non-essential for exact matching
* fix: returns int instead of bool in cmp function
* fix: usb_serial will not be equal
* refactor: stop using cmp function and instead use tuple of keys
* publish agnos
* test it
* more logging and fix
* remove this for a quick test
* time logging
* revert that
* space
* Revert "test it"
This reverts commit 3b80d97f7d436bc5b2cc29caf6bff1671f7f3f71.
* bump timeout
* build agnos
* include path
* cleanup
* rm this
* test it
* all agnos partitions are AB
* fix that
* correct
* build agnos first
* better temp dir
* revert the order
* try it on pc
* test it
* upload and fix
* build
* pass in environemnt variable
* not in jenkins
* publish in ci
* overwrite
* publish in ci
* fix
* test it
* Revert "test it"
This reverts commit b3de51dc693df79b980d7dffc18bcc3c88d83375.
* use right token
* cleanup after uploading
---------
Co-authored-by: Comma Device <device@comma.ai>
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700
* noop ciao
* here too
* mapsd too
* update translations
* disable mapsd test from test onroad
* disable mapRenderState test from timings
* lint
* fix exp mode toggle panel
* update tr
* french done
* dont build mapd
* only no nav
* just comment
* deprecate nav fields
* rm not comment
* dont deprecate too much
* remove from services
* merge cereal
* Adding foxglove support, demo version
* Adding image/thumbnail support
* Adding foxglove map support
* Adding foxglove map support
* Updating title in jsonschemas according to rlog attribute names
* Remove shemas folder, add dynamic schema creation
* Update identation to 2 spaces, code refactored
* Fix, jsonToSchema() recursion returns 0 when an empty arr found
* Update, empty arrays data type set to dummy value of type string
* Enable logs download
* Adding foxglove install functionality
* Adding, transform json lists into json obj
* Adding, pip install mcap library
* format it
* Refactoring msg adding to mcap writer by utilizing pool of worker processes
Disabling compression
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
* tar archive instead
* fix
* move this here
* migrate these
* fix this
* update readme
* fix that
* try to build nightly
* Revert "try to build nightly"
This reverts commit 4ea680cb6a1f985c0490168724c99bcb45af9899.
* caexclude is no longer required
* finish up
* sorted
* need this
* and that
* context mnager
* path based
* cabana(DBCFile): VAL_ allow empty description
Even though this doesn't make much sense, we should still be able to
parse it.
* cabana(DBCFile): allow escaped quotemarks in signal comment
* also message comments
* escape/unescape quotes
* test empty val desc
* test generating DBC with escaped quotes in comment
* seperate test case
* fix trailing space
* remove empty val
* trailing whitespace again
* including old data and forks
* CAR.HYUNDAI_SANTA_FE_HEV_2022
* CAR.HYUNDAI_IONIQ
* CAR.HYUNDAI_CUSTIN_1ST_GEN
* CAR.KIA_NIRO_PHEV
* CAR.HYUNDAI_IONIQ_HEV_2022
* CAR.GENESIS_G80
* CAR.KIA_SORENTO
* fix formatting!
* migrate plotjuggler platform for dbc
* test with can
* temp
* Revert "temp"
This reverts commit 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.
Revert "test with can"
This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.
* fix test
* mark MULTI as logging
* rm whitelists
* rm MULTI
* major clean up :D
* faster refs :D
* wow this was a broken test (can fd can be without aux, and this allowed eps)
* expected
* only for camera (needs test change)
* Revert "only for camera (needs test change)"
This reverts commit 6156bcd674f856e9a6476277d2b14b14b659f597.
* better msg
* yes we do
* rm from ed882557605319f9
* rm from 310cf131d28b30d8
* rm from e6dd11f4969e1f74
* rm from 145908dabb729ad9
* rm from b938870bef07f799
* rm from b0af2fff166d80fe
* unknown about these, but safe to do this
* rm from 077309a26bf98013
* rm from 01d4ba35f8288743
* rm from b5374bdeea21f5ce
* rm from 979eb0f6c3682a58
* rm from eb5a50f9e98f50b9
* rm from 786fc028c014be71
* rm from 3f77febac29e35d5
* these also unknown, but should be safe
* format!
* test all ecus
* rm from e8421f268ea89d79
* rm from 9d4fa1c83653b90b
* rm from 3f77febac29e35d5
* rm from 979eb0f6c3682a58
* rm from 077309a26bf98013
* rm from ef8d357a38dc4cf2
* these are probably fine
* rm from 54f0bbcb6527012e
* rm from 051378e6086bc3ef
* rm from 561e5f3991916e4b
* rm from 3fd9853538e1bca9
* rm from c8f86b163152d2c5
* rm from 40725113b3e20872
* rm from 3c8bfd637f561f13
* rm from 129db7c75bce8445
* format and test radar
* eps!
* rm from ed882557605319f9
* rm from ffce4a1d578827ee
* rm from 700d37ccd12315cf
* can't find, but probably same
* rm from 15755effe9d073b1
* rm from 5b7caafa7ec1a5cf
* rm from ec07911a91f863f3
* rm from 7627c16a16a6f69b
* rm from 007d5e4ad9f86d13
* rm from 06a3b9e474ce581d
* rm from 22203eb8892a6f28
* rm from ff973b941a69366f
* rm from 3ea622c3c0ec3055
* rm from https://github.com/commaai/openpilot/pull/23517
* rm from b0e1cdf87262c7ad
* old format FW version
* rm from 54f0bbcb6527012e & 4cbcc16b655c1591
* test abs
* format
* only including master data since eps and other ecus were only added in last 60 days
* CAR.HYUNDAI_SANTA_FE_2022
* CAR.GENESIS_G70
* CAR.KIA_K5_2021
* CAR.HYUNDAI_SONATA_HYBRID
* CAR.HYUNDAI_ELANTRA_2021
* CAR.HYUNDAI_ELANTRA_HEV_2021
* CAR.HYUNDAI_SANTA_FE
* CAR.KIA_STINGER
* CAR.KIA_NIRO_PHEV_2022
* slightly more data
* data from forks now
* CAR.GENESIS_G70_2020
* CAR.KIA_NIRO_HEV_2021
* CAR.KIA_FORTE
* CAR.HYUNDAI_IONIQ_PHEV
* CAR.HYUNDAI_KONA_EV_2022
* CAR.KIA_STINGER_2022
* HYUNDAI_KONA_EV
* CAR.KIA_OPTIMA_H_G4_FL
* clean up
* Ford: handle metric cruise speed (v2)
**Description**
I found a signal which appears to match the IPC "Show km/h" setting.
Requires https://github.com/commaai/opendbc/pull/1010.
**Verification**
- [ ] Test in car and confirm that toggling the "Show km/h" setting does
not result in the cruise speed shown in openpilot being incorrect.
- [ ] Test in a non-English (metric) car.
* not present on Q4
* fix freq
* test
* Revert "test"
This reverts commit 5e3a9f6df126d51685157de1e52bd6695db40fac.
* Update ref_commit
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* casync in jenkins
* rename some stuff, add a readme
* slightly better names
* clean
* more cleanup
* cleaner
* release3 staging too
* always rm the signed version
* cleanups
* in build dir
* better name
* simpler
* more
* divider
* built
* build
* and contains
* add channel description
* and git branches
* and build required
* move this up
* these are terms
* updates
* 3/3x
* bullets
* wording
* version metadata
* git type
* more channel -> release
* more build
* just release
* more channel to release
* also fix jenkins
* use build_metadata
* fix normailzed
* also normalized
* and here
* use build_metadata
* dont commit that
* don't touch the git stuff
* branch
* don't need that
* or that
* improved names
* build_metadata
* use this instead
* fix
* build
* test nightly build again
* fix
* fixes
* Revert "test nightly build again"
This reverts commit be5e7aa7089bfc0947c9b2b484d0277c109ee089.
* 4 more platforms
* only the first is missing srs?!
* vsa didn't respond on these 8 routes
* acura is good!
* do CRV Hybrid
* CRV is already done
* new line
* Revert "new line"
This reverts commit 411c92c77b695d3df716f84b6f302fa0f791d555.
* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
* K8 has hybrid descriptor (GL3H), AND we detect hybrid now
* don't know if Carnival's hybrid variant has them, but it's not out yet, and we detect hybrid
fixes: ec32d6aa1c7735d1/2024-03-15--16-41-46
* cmt
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
* revert ui
* not here
* migrate controlsState
* Revert "migrate controlsState" - i see no reason we need to test with
any specific personality
This reverts commit 6063508f2df1a5623f113cda34dcd59a1f4b2ac9.
* Update ref_commit
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't work
* Revert "doesn't work"
This reverts commit 7a3587b60b65ed0525a9d658e676465ca8ecbef9.
* always add to can parser
* not sure if this is clean
* minimal diff version, but more lines!
* Update fingerprints.py for new skoda kodiaq
* Update fingerprints.py to add 2 more ecu's found in the carFw array that had hyundai as brand
* Update fingerprints.py
* Update fingerprints.py 2022 Ford F-150 PowerBoost (fwdCamera)
* update MY
* also likely works for hybrid
* fix that
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Ford: show longitudinal personality in IPC
Adjust the time gap to 2, 3 or 4 bars for openpilot long.
TODO: set AccTGap_D_Dsply when value changes so that the popup appears
with the new time gap
Depends on #31760.
* ACC UI: show time gap popup when distance changes
* Revert "ACC UI: show time gap popup when distance changes"
This reverts commit c4e8e10970078a534d5714ddced92d540e9e3c0c.
* ACC UI: send on distance bars change
* don't need this check - just send on first frame
* add autoconnect to WifiManager::connect
* set wifi/hidden to true
* typo
* add condition to only set connection[wireless][hidden] to true when connecting to a hidden network
* default false value for is_hidden
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* revert longplan
* revert this
* Fix check
* more appropriate up here
* consistenet
* Update selfdrive/car/toyota/carstate.py
* Update ref_commit
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* add base comment
* clean up
* make orders clear
* not abcd
---------
Co-authored-by: Comma Device <device@comma.ai>
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* proc
* release
* fix
* this should move here
* e2e update test
* that too
* fix
* fix
* fix running in docker
* don't think GHA will work
* also test switching branches
* it's a test
* lets not delete that yet
* fix
* fix2
* fix
* fix
* tests too
* fix
* cleanup / init
* test agnos update
* test agnos
* move this back up
* no diff
* fix :(
* test_sort_by_time
* this isn't required
* not slow, and just compare sorted
* messy
* works
* clean up
* clean up
* not here
* clean up
* clean up
* clean up
* makes network call
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
* press the button
* 33hz/2
* fix tests
* PCM_CRUISE_SM is a UI message: it goes to 0 when not displayed, and is much lower rate
* only change when enabled so we don't hide the welcome message on cruise main button
* unbump
* then you can get into a weird state
* stuff
* for unplugged DSU we can still read PCM distance, but not buttons
* skip
* skip
* Toyota TSS-P: parse distance button from SDSU
* it's 1000hz wtf... da99509bd910288a/2024-03-04--13-51-30
* add events for SDSU
* need to check for CAN filter
* clena up
* check
* whoops
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Ford: parse ACC gap toggle button
Use the ACC gap toggle button signal from the SCCM. There are two other
signals for "increase" and "decrease" gap buttons, but no supported car
has these buttons.
* Run bot on 0e13ee2b821302f4
* remove IONIQ CAN fingerprints and move to Niro PHEV (part numbers match!)
* remove dups
* best guess is Hyundai C (IONIQ is also)
* e2e update test
* that too
* fix
* fix
* fix running in docker
* don't think GHA will work
* also test switching branches
* it's a test
* lets not delete that yet
* comment
* space
* fingerprinting
* wip
* bug
* fix another bug
* fix rebase
* clean up raven
* forgot to save
* one more rename
* one more rename
* radar fixes
* AP1 also has bosch radar
* put back dashcamOnly
* small fixes
* raven flag
* fix bug
* fix raven flag
* bump opendbc
* fix radar trigger for non-raven
* fix tests?
* bump panda
* more test fixes
* tesla fingerprinting is a bit slower now
* fix tests
* bump opendbc
* bump submodules to master
---------
Co-authored-by: Comma Device <device@comma.ai>
* Enable the distance button to switch personalities for Toyota/Lexus
* Default to the "standard" personality for now
* only parsing first
* only parse
* no personality in card
* safe
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Revert "Revert "Hyundai Azera: allow fingerprinting without comma power" (#31…"
This reverts commit 1ffc58a69a.
* we should get EPS
* add EPS to non-logging can 0 query
* VW: Early EPS faults are temporary, round deux
* a bit cleaner
* Revert "a bit cleaner"
This reverts commit e836f92394eba0ace8d9cc87b5aa5080d6332d17.
* a little better
* clarity
* consolidate
* cleanup
* subclass bosch and nidec
* end with comma
* one line
* remove unused flags
* as a test see what happens if we exceeed CP.flags
* Revert "as a test see what happens if we exceeed CP.flags"
This reverts commit f57a346df5e6f3c6ab19875b843633c0571d16e3.
* Update ref_commit
* increase
* huh
* Revert "huh"
This reverts commit 1a652cbed06a7c814711db6f2bc6b3146d3aec04.
* no huge fp dicts
* ugh
* try 300
* test
* at least increase a bit
* part 1. Toyota platform config
* more
* everything works now
* no more DBC
* janky but that saves a lot of car lines
* need to init inside values or else it won't be reliable
* no return
* fixes
* minor update
* common flags, no dbc grouping
* some clean up
* some clean up
* rename
* copied wrong :(
* another
* copied specs for easiest ones first
* second easiest
* fix erroneous commas
* more clean up
* do the rest
* bug
* the refactor is so error prone
* huh?!
* static
* fix stiffness factor
* detect unsupported DSU
* Revert "detect unsupported DSU"
This reverts commit 9b72de6c8ef282ce20f6472970874a960761884b.
* fix DBC diff
* test carparams
* test sets
* scratch
* catches this
* Revert "scratch"
This reverts commit de08daa9fb8cc0368c5847b669e87b1b2e577616.
* Revert "test sets"
This reverts commit 62402f9b021cdf16a27fd9fb0883d81169711cbd.
* Revert "test carparams"
This reverts commit b02971659c2a8268d0ac8fdff02231dc36b5a197.
* Update ref_commit
* fuck me!
* that kinda makes things pretty nice
* move it down
* and move this comment
* Wip
* more flags :/
* add the debug shit
* add
* lets not break this yet
* MORE flags git add .git add .git add .git add .!
* B
* add mando
* update ref
* possibly better?
* we can use flags here
* formatting
* formatting
* move up
* canfd subclass
* this is more clear
* spacing
* static!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* flags
* update ref
* use the flags directly
* use post_init (don't freeze)
* we can maintain frozen with custom class
* not preglobal
* move to common
* cleanup
* Update comma cable requirement for Ford CANFD
* Adding Long_Cable to part list
* Moving cable info into doc_definitions under CarHarness
* Updating parts for ford_q4
* Updating Q3 info
* Updated MachE with USBC coupler
* fix typo
* updating docs/cars.md
* Add 3X angled no cable
* Adding in nocable device package
* Add missing )
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* Generating new Docs.MD
* Added threex_nocable for MachE
* Swap MachE to regular mount no cable
* confirmed with Comma Operations all boxes include 1.5ft cable regardless of 9.5ft selection
* Updating CarInfo
* Update USB_Coupler for Q4 Harness
* Remove cable from import
* removed ]
* Disagree with the inconsistency but OK
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Update selfdrive/car/ford/values.py
---------
Co-authored-by: sheaduncan <sduncan@Yeti-PC>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* auto PR comments
* little more
* test
* update action
* cleanup
* ensure it only runs once
* comment that part out
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Do Accord
* add comment
* good test
* this catches the accord/accordh issue!
* as expected, only if both radar&camera have in common FW does the test fail
* cmt
* clean up
* better
* Use HondaFlags
* detect alt brake
* for test
* hypothesis isn't installed
* test failure
* works
* Revert " works"
This reverts commit bfc0d808abe548630e6507431f13b01e8a1316cb.
* Revert "test failure"
This reverts commit 10ab6eb63ccd411740751b742f31fd610397fe8e.
* Revert "hypothesis isn't installed"
This reverts commit d474cc3f0ed7e84fe8bd24f452b3315fd2b8d47c.
* Revert "for test"
This reverts commit 98e039f4fc0189ccb57c1dae6b344209ef15eb1c.
* this is important too
* clean up
* merge accord fingerprints, test
* remove duplicates
* accordh doesn't have these
* rm
* no unknown
* start over, merge platforms
* add cmt
* note non-essential ecus
* add non essential obd ecus
* combine FW
* format fingerprints (remove dups)
* migrate test models segs
* cmt
* Update ref_commit
* clean up
Refactored the command used to extract the version information in the .gitlab-ci.yml file. The new command targets the `#define COMMA_VERSION` line, going through 'common/version.h' and printing the version without quotation marks. This change affects both the "staging-c3" and "release-c3" branches.
This commit introduces a retry parameter under the default settings in .gitlab-ci.yml to improve the robustness of CI/CD pipeline. Additionally, an unnecessary whitespace has been removed from the file to maintain neat and clean code.
The commit introduces a new XML file, tools/External Tools.xml, laying out configurations for several external tool commands using Poetry and SCons. These tools include options for building in debug, clean, and release operations, enhancing the development process.
The build configurations for both Debug and Release modes have been updated to use the Poetry SCons tool. A new customTargets.xml file has been added to specify the build actions for Poetry SCons in Debug and Release targets.
Two new run configurations for Build Release and Build Debug have been added. These configurations include specific options, like location of working directory and external build option. Each configuration includes a unique name and target name.
The GitLab Runner installation and uninstallation scripts have been refined, including directory management improvements and user handling enhancements. The install script now exports the base directory for subprocess availability and validates script arguments presence. An uninstall script has been added for smoother user experience. Additionally, sudo permissions have been granted to the gitlab-runner user group in both scripts and the .gitlab-ci.yml file, enhancing workflow efficiency.
This update adds sudo permissions to the gitlab-runner user group. The .gitlab-ci.yml file has been altered to change user ownership of ${OUTPUT_DIR} in the after_script phase. In install_gitlab_runner.sh, we also add gitlab-runner to the sudo group and explicitly grant it NOPASSWD: ALL rights in the sudoers file.
A new function has been added to the gitlab_runner.sh script to check if a service is present on the system before trying to start or stop it. This will prevent potential errors caused by attempting to interact with nonexistent services.
The commit streamlines the 'rules' condition in our CI/CD pipeline configuration. It removes redundant and unnecessary conditions, leaving only the essential check for a new branch creation. This revision not only makes the code cleaner but also enhances our pipeline's clarity and readability.
* Dynamic End to End Longitudinal
* Revert "Dynamic End to End Longitudinal"
This reverts commit cec0fa8ad23b8473b27c58f6d20ba6d4d58e726e.
* Dynamic Longitudinal Controller
* Update CHANGELOGS.md
* add to builds
* Name change
* Toggle at wrong place :p
* oops take this out for now
* ZeroDivisionError
* add mpc mode to cereal
* add mpc mode to cereal
* Add UI button, replace MEMORY with DLC status in dev UI
* small change
* Higher stop counts
* add blinker logic
* initial set normally if DLC is on
* Update CHANGELOGS.md
* Fix
* fixes
* add dlc to Feature Status
* catch AttributeError
* fix
* add btn
* Dynamic Longitudinal Control (DLC) -> Dynamic Experimental Control (DEC)
* Capitalization on ACC and Blended
* add here
* sync
* sync
* Update CHANGELOGS.md
* cleanup
* more cleanup
* ui: Move toggle to the left of ParamControl
* blank icons
* tesla blue
* tesla blue
* Revert "ui: Move toggle to the left of ParamControl"
This reverts commit 3f6a3c831e5eebc740733ce625ef7dd11985c7e7.
* Revert "blank icons"
This reverts commit d778cf378b6374b89fa679b4f3358dbf48c89a06.
* Hyundai CAN Longitudinal: Parse lead info for camera-based SCC platforms
* typo
* another typo
* camera SCC has them flipped
* disable `radarUnavailble`
* Missing on these platforms
* parse lateral position of lead car from vision model output
* fix CP init
* Torque Lateral Control: Refactor settings
* don't need this
* only offroad allowed
* Don't need this
* allow when offroad
* gate them
* flipped
* handle them better
* cleaner
* remove duplicate
* toggle checks cleanup
* 2.5 second check
* trigger refresh when going offroad
* cleanup
* move toggle
* update title and description
* fix ampersand
* update live torque toggle
* live torqued every 2.5 second
* Subaru: Stop and Go autoresume
* Update CHANGELOGS.md
* Update CHANGELOGS.md
* do this
* sync with subaru-community
* sync for manual parking brake
* no slot machine pls
* fix this too
* flipped
* fix panda
* comments
* Update CHANGELOGS.md
* check every 2.5 second
* move them to a function
* more logical
* frame-based frequency sends
* type hinting
* should be tuple
* better grouping
* for docs regeneration
* same as upstream
* move it down
* cleanup
* use int flag and safety param, only block message when sng is allowed
* Do it here instead
* gate everything
* move comment
* block tx if sng is not allowed on certain platforms
* bump panda
* set core affinity and priority for gpxd and gpx_uploader
* use higher cores
* 4 is available offroad
* sync them all
* set for fleet manager
* only upload gpx while offroad
* ui: Singleton Feature Status text and color
* lower
* move color to eclipse to left of text
* move to right
* does not work
* cleanup
* more cleanup
* move a bit
* rename
* add commment
* ui: `SPOptionControl`
* This works
* only need to initialize
* Use QButtonGroup
* Add method to update specific labels
* Always init label with value
* add method to update external methods
* Update in another PR
* Unnecessary
* construct std map with defined range
* Test that it works
* In separate PR
* change var
* refreshLabels() instead
* Revert "refreshLabels() instead"
This reverts commit ceed9935cf48c7db974e45ab5ab496a7bc3f9f26.
* allow individual `refresh` classes
* now we can do it in another PR!
* General: OnroadScreenOff
* General: OnroadScreenOffBrightness
* General: BrightnessControl
* Controls: CameraOffset
* Controls: PathOffset
* Controls: AutoLaneChangeTimer
* Controls: GapAdjustCruiseMode
* Controls: TorqueFriction
* Controls: TorqueMaxLatAccel
* Controls: SpeedLimitOffsetType
* Controls: SpeedLimitValueOffset
* General: MaxTimeOffroad
* Visuals: DevUiInfo
* Visuals: ChevronInfo
* unused
* add comment
* ui: `SPOptionControl`
* This works
* only need to initialize
* Use QButtonGroup
* Add method to update specific labels
* Always init label with value
* add method to update external methods
* Update in another PR
* Unnecessary
* construct std map with defined range
* Test that it works
* In separate PR
* change var
* refreshLabels() instead
* Revert "refreshLabels() instead"
This reverts commit ceed9935cf48c7db974e45ab5ab496a7bc3f9f26.
* allow individual `refresh` classes
* now we can do it in another PR!
* ui: only allow single speed limit type to display
* Use unit conversion to set speed limit style if not nav
* Remove Speed Limit Style override options
* unused
* unused
* screenrecorder: small fixes
* remove QPushButton press, use mouse release instead
* Revert "remove QPushButton press, use mouse release instead"
This reverts commit 02821f63bf428332c41301a1aeb577b838ac6885.
* use horizonal layout to store buttons
* make button smaller and center text
* make it callable
* ui: disable longitudinal personality when GAC is enabled
* different profiles between stock and gac
* not this class
* update profiles in stock
* only checks once on init
* Match GAC names
* update description
* Add SP Jenkinsfile
* try this
* or this?
* New method
* good ol method
* how about this
* Revert "how about this"
This reverts commit a05741621f86ea65f727c1814c7fee0a819159ae.
* another new method
* try this
* Revert "try this"
This reverts commit a4456e4167bcb47b2ccd1c0c6b2544379563fcf9.
* Revert "another new method"
This reverts commit 7faea7661e5a660411a9bc68b48f119a1bfca1d2.
* skip for now
* do this
* set env
* this
* run in c3
* building now!
* No concurrent builds
* test no concurrent builds
* try discord notifier
* in description
* don't stop
* try this
* always send
* can we do this?
* in a script pls
* ready
* no need
* take a step back
* test
* misspell
* replace cred
* try this
* quote
* this should send it
* gave it wrong URL
* use explicit url for now
* Revert "use explicit url for now"
This reverts commit 932d0117d1e1720caf5d3f0c6af659457f438e7f.
* use explicit url for now
* try this
* working as-is!
* init
* looks good
* left done
* next to speedometer
* adjusted
* pass in x and y
* color & x
* spaced out properly next to speedometer!
* blindspots and pulsing rate
* fixes
* int instead
* Update CHANGELOGS.md
* add road edge block
* lower
* center a bit more
* that's it!
* only show green when hazard is on
* MADS: Cruise Main button engage with cruise state available
* simplify
* Revert "simplify"
This reverts commit 09276bc5d250d4357f593276686045e1359c0c37.
* Hyundai: Longitudinal support for CAN-based Camera SCC cars
* gate FCA12 send to CAMERA_SCC_CARS for now
* unused
* sync with upstream PR
* Update CHANGELOGS.md
* Update CHANGELOGS.md
* separate from upstream
* bump panda
* Auto Lane Change: Delay execution if lane change was blocked by BSM
* add toggle
* add changelogs
* flipped
* show/hide toggles with param updates
* fix docs
* 1 second instead
* Ram: always prioritize user button presses
* Custom Stock Long Control: manual presses need to reset timer
* separate logic for ram_cars
* handle FCA resume button differently
* Ram: CRUISE_BUTTONS rx/tx improvements
* unnecessary
* try forwarding everything
* only block tx for speed set/change buttons if cruise not engaged
* separate pacifica and ram
* flip around
* gotta send set buttons too
* rename
* don't check the buttons then
* bump panda
* cleanup
* General: use ListWidget
* Controls: use ListWidget
* Visuals: use ListWidget
* General: tuple list
* Controls: full refactor based on ListWidget change
* Controls: FINALLYYYYYYY
* Controls: move things around
* check actual toggle as well
* handle this
* Visuals: use ListWidget
* const for
* separate each panel into each file
* rename and move files
* Revert "rename and move files"
This reverts commit 5cfedabe2c6a2cb25355318107f119ade480baac.
* Revert "separate each panel into each file"
This reverts commit aa2c0e9162d5344a5cbbbfaf1ff2bd77d1e5a10b.
* take out toyota stock long for now
* remove scrollbar (use in other areas!)
* use ListWidget for toggles
* Revert "remove scrollbar (use in other areas!)"
This reverts commit 0b6bbc49e968598b204558060e04fb6f64ad1977.
* turn off scrollbar
* new fcr styling
* ui: display CPU temperature on sidebar
* ui: display CPU temperature on sidebar
* take it out for now
* Revert "take it out for now"
This reverts commit 3e7daa11f6a3e8ed6dec92df02bb4c390c99583c.
* small changes
* push this
* string
* flip???
* no setproperty
* check param every 1 second
* wrong param!
* do this
* flip them back
* don't need this
* Tmux error viewer: new file name convention and cleanup
* log in local_osm_install
* show on ui
* add this
* not needed
* just need these
* unused
* log custom_dep
* rename
* cleaner
* Custom Stock Longitudinal Control - base
* HKG
* simpler
* expose toggle
* allow events and engagements
* gate hysteresis for now
* screen tap SLC logic
* Honda
* update with submaster
* Revert "simpler"
This reverts commit 61b9a02faec721d4460c50c6e3f81b7d459d506b.
* send to cereal
* handle new pcm cruise engagement on HKG
* small cleanup
* define vehicle-specific lowest set speed
* not fitting
* new logic to help with weird rapid spam
* comment
* gaspressed don't override
* slow down button send when 2 values away
* less complex
* round them up
* Revert "less complex"
This reverts commit d850c404cccca5940f4e861c5df0317a38a4ab6b.
* gotta convert
* only slow down for slc and normal
* gaspress allow override
* no delay
* gate behind custom stock long
* add hysteresis to curve speed button sends
* remove limiting for Honda
* Revert "remove limiting for Honda"
This reverts commit b50f6199508e313fa1a30e1ab74970c507d89d78.
* 20/4 hz
* 25 times, just like old times
* god damn slow it down
* faster
* a tad bit faster
* slower at the end
* Volkswagen
* more checks
* log vw customs stock long
* change it up
* change it up for vw checks
* oops
* make sure it sends 10 times before changing to another button sets
* unnecessary
* use different count
* better logic
* bring back speed_diff
* vw: faster
* chrysler support
* mazda support
* fixup! chrysler support
* bump panda
* bump panda
* fix upstream merge
* Enable for Mazda
* initial and lowest set speed for all supported brands
* use buttonEvents from carstate for FCA and Mazda
* gate this behind non PCM only
* lower calls
* fix counter in button send
* log FCA and Mazda
* format
* just send one copy
* FCA: make SET+ set instead of resume
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* Revert "FCA: make SET+ set instead of resume"
This reverts commit 523a0537b728e8243e9cecb47169799d519aac3f.
* try this out
* try to match jvepilot's logic
* send with extra incrementing counts
* Revert "Revert "FCA: make SET+ set instead of resume""
This reverts commit f414a51e784b040d0f04881adcfc78d7faacda2a.
* have to block it
* lower send at 4 Hz
* can't be int
* 10 Hz max, 1 copy
* mazda send at 10 Hz
* chrysler at 10 hz
* send at 10 Hz
* remove this check for vw for now
* hkg can-fd go back to 4Hz, 1 copy
* hkg can-fd go back to 5Hz, 1 copy
* vw: different send freq logic
* Set cruise button every frame for FCA and HKG
* Set cruise button every frame for Mazda
* Revert "Set cruise button every frame for HKG"
* can't use brackets
* FCA: only send if counter has changed
* HKG CAN-FD: only send if counter has changed
* only up button frame if needed
* Revert "Set cruise button every frame for FCA"
* HKG CAN-FD: fix name
* FCA: handle resume button press engage cruisestate enabled
* FCA: separate RAM and non-RAM
* bump panda (test CAN Bus Disconnected bad commit)
* bump panda
* bump panda
* Revert "Nicki Minaj Model (#28218)"
This reverts commit 348f68b68c0bd2fcb6fdd6269e911d63ada968b4.
* gate behind customStockLong
---------
Co-authored-by: Mitchell Goff <mitchellgoffpc@gmail.com>
* GAC: Harald's method
* unused
* match harald's
* Revert "match harald's"
This reverts commit f2015eb2d8ffe80f8e02ffb92bd1d244dbfdb38c.
* try this
* Revert "try this"
This reverts commit 993adce26f594c5d2da1752657fe3af21c17cd27.
* do this instead
* fix
* cleanup
* align with harald's method
* fix init at 0
* use cereal
* unused
* maniac, aggro, stock
* unused
* fake lead when no lead
* print desired following distance from lead_0
* default at 3
* update carstate obj
* clip this
* use actual profiles
* cleanup
* scale maniac text smaller
* should be 1
* MADS: FCA Ram: add LKAS button
* FCA: add LKAS button and heartbit send
* bump panda
* non-Ram only
* non-Ram only too
* Revert "FCA: RAM HD - steer down to 0 (hardware modification required)"
* make sure cruise button is forwarded?!
* only check tx for CHRYSLER_PACIFICA, forward all cruise buttons for Ram
* add fw for not working ram 1500 and hd
* Revert "add fw for not working ram 1500 and hd"
This reverts commit 6f60b488ac1cebdbcafaa62ea4df097fd765b7d8.
* add fw for not working ram 1500 and hd
* use this logic
* fixup! use this logic
* does it help?
* Revert "does it help?"
This reverts commit 6cca9105459dd50d657ded94cba863baa0c6151d.
* Revert "fixup! use this logic"
This reverts commit 3a0d43ef76c762244e9edfab5497de9c55ccd468.
* Revert "use this logic"
This reverts commit 337eb1596f1a4e782d11fb15c0bdfe76763fd0d0.
* set event
* Revert "make sure cruise button is forwarded?!"
This reverts commit 1b51818c89fbf31315d1c992efb96298c7b63899.
* Revert "only check tx for CHRYSLER_PACIFICA, forward all cruise buttons for Ram"
This reverts commit c72ef05cf0f4450d21a2be7ddbc1c50273570cc4.
* Revert "Revert "FCA: RAM HD - steer down to 0 (hardware modification required)""
This reverts commit 0849fdc1f1557807af83d8c69fb7432743a95b2d.
* Can't use upstream to check EPS fw for minEnableSpeed
* reversed
* revert and wait for upstream
* bump panda
* Record from OnroadWindow
* not from here
* not needed
* make it whole
* Revert "make it whole"
This reverts commit 318c28c1ac921b52672fdd4665d903c2bdf5ef41.
* Revert "not needed"
This reverts commit 45d9707736b942b3a671bf853333a35741beb079.
* Revert "not from here"
This reverts commit 1bb002ff86630f3b1f6c6171606e4f7a8922253b.
* Revert "Record from OnroadWindow"
This reverts commit f4ceab4d9f4f1be992ba447c1474fdd47063c41b.
* cleaning
* cleaning
* 1 min per clip
* remove
* add back
* don't initialize lane change if road edge detected
* add event
* use frog's method
* sync name
* unused
* Only block during preLaneChange
* change it up
* UI: Display E2E Longitudinal status icon
* don't forget init
* take these out
* and this
* can't leave this
* spam the event
* publish here instead
* try this now
* expose the toggle
* Spam all the time!!!
* Spam all the time with this!
* see if this works
* new way to trigger
* fix
* another one
* more to it
* more of that
* move to car controls instead
* no longer needed
* 20 hz
* unnecessary
* send like this pls
* move to long planner
* let's see what it looks like first
* don't alert yet lol
* re-enable and try out prompt!
* move chime event to longitudinal_planner
* AlertStatus to userPrompt
* Add more reset conditions
* less conditions to test first
* louder sound
* permanent alert
* LOUDER SON!
* use stock prompt
* Revert "less conditions to test first"
This reverts commit b24a096e65e80f303f7d92072cdf273a30dd37e2.
* remove lead car take off alert (in separate PR)
* cleanup
* longer
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* use the event
* move logic to c++
* cleanup
* no prompt border
* use brake light from car state
* lead car take off event
* lead car take off event
* always reset last distance
* show border when prompted
* remove lead car take off alert (in separate PR)
* don't prompt when lead car detected
* Revert "Nicki Minaj Model (#28218)"
This reverts commit b25e96c9d8fe0ac3a93c97eec2e91064c12a5649.
* bad sounds
* simpler
* lead car takeoff prompt
* log to tmux
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* only print when stopping or starting
* remove debug msgs
* Revert "Nicki Minaj Model (#28218)"
This reverts commit 4fa06f12db858f65570bbf4bc2d9ee1709aead19.
---------
Co-authored-by: Mitchell Goff <mitchellgoffpc@gmail.com>
* UI: Display E2E Longitudinal status icon
* don't forget init
* take these out
* and this
* can't leave this
* spam the event
* publish here instead
* try this now
* expose the toggle
* Spam all the time!!!
* Spam all the time with this!
* see if this works
* new way to trigger
* fix
* another one
* more to it
* more of that
* move to car controls instead
* no longer needed
* 20 hz
* unnecessary
* send like this pls
* move to long planner
* let's see what it looks like first
* don't alert yet lol
* re-enable and try out prompt!
* move chime event to longitudinal_planner
* AlertStatus to userPrompt
* Add more reset conditions
* less conditions to test first
* louder sound
* permanent alert
* LOUDER SON!
* use stock prompt
* Revert "less conditions to test first"
This reverts commit b24a096e65e80f303f7d92072cdf273a30dd37e2.
* remove lead car take off alert (in separate PR)
* cleanup
* longer
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* use the event
* move logic to c++
* cleanup
* no prompt border
* use brake light from car state
* lead car take off event
* lead car take off event
* always reset last distance
* show border when prompted
* remove lead car take off alert (in separate PR)
* don't prompt when lead car detected
* Revert "Nicki Minaj Model (#28218)"
This reverts commit b25e96c9d8fe0ac3a93c97eec2e91064c12a5649.
* bad sounds
* simpler
---------
Co-authored-by: Mitchell Goff <mitchellgoffpc@gmail.com>
* draft
* only in dlp button for now
* update with uiState
* Revert "update with uiState"
This reverts commit cbc755f0601c2595f7357c61a486c570000ecb3c.
* independent variable
* it works!
* faster
* prep for other elements
* apply to brightness checks
* proper
* lasts 30 seconds for now
* init at -1
* fade in when first tapped
* fade in finish at 250ms
* fade in finish at 100ms
* gate behind a toggle now
* redisplay button if tapped before disappear
* apply on gac
* only allow press when at 100% opacity
* mapd: offline/local database
* link overpy before manager
* add path to deps
* down here
* this too
* don't force redownload/reinstall unless db not current
* make things neater in json
* small fix
* Revert "small fix"
This reverts commit dbc70ee6d40b51e4d7c4a4af4523d23737350905.
* Revert "make things neater in json"
This reverts commit 1b244c552c1bf877e8b6bf879ca73ebf72617025.
* neater attempt 2 (no reboot for now)
* neater attempt 2 (no reboot for now)
* "selected" not working
* make it stick
* already QString
* check when menu is up
* check when menu is up
* interactive buttons
* add label to inform users about car off
* update texts
* set all params properly
* clean up ui logic
* test
* revert
* ui logic again
* interactive button
* after confirmation updates
* only check when selected
* stop signs?
* bruh
* missed
* small cleanup
* query for real from local db
* Revert "query for real from local db"
This reverts commit d7eb664da2949b073c7d7eb00e0098aa01c83ad3.
* don't hold in same object
* remote server as fallback if local server fails
* use different waypoint
* use function
* declare missing vars
* skip SSL/TLS verification
* fallback to online query if local query fails
* don't prompt to reboot if none is selected
* update ui on press
* Revert "skip SSL/TLS verification"
This reverts commit 2eb5c0972a08227edbfc4f50c38d22d2ced62423.
* simplier
* handle ConnectionError
* point to sunnypilot-osm S3 bucket
* revert freq of road name
* small cleanup
* small cleanup
* revert
* cleanup
* TEMP: test online/offline switchover
* Revert "TEMP: test online/offline switchover"
This reverts commit 4641b8e6f26f4015559a9aff2271f1850708ab09.
* set user-agent
* more databases!
* new urls
* TEST: remove check here
* parse timestamp from file content instead of HEAD Last Modified
* not correct
* wrong var
* don't need this
* have list in cpp
* don't read from json
* provide expectation
* add var to gate feature speed limits
* remove unused
* Hide 2nd row dev UI when map is visible
* Dev UI init
* fixup! Dev UI init
* fixup! Dev UI init
* fixup! Dev UI init
* fixup! Dev UI init
* fixup! Dev UI init
* fixup! Dev UI init
* Disable lateraState for now?
* Revert "Disable lateraState for now?"
This reverts commit ff669862e9ab7cfe421a0266dfc503b3b190143a.
* add cs.laterelState
* should be bool
* bruh
* change dm icon too
* Bruh should be y
* don't draw border
* bolded text
* bring back memory usage
* angleSteer status color
* move it higher
* higher
* lower
* closer together
* Move this button too
* fixup! Move this button too
* Move this text?
* to the left
* left and down
* missed an argument
* move them a bit
* readjust bottom row positioning
* test position
* revert to this
* wider!
* proper space reference
* unused
* other method
* fix
* shorter
* more spaces
* wider
* do it like this
* should be width
* add on top
* wider
* lineup right
* align this right
* different one
* try this
* fix
* align right!
* make unit strings standalone
* Try this out
* adjust
* align to unit strings
* adjust!
* adjust!
* Revert "adjust!"
This reverts commit 748b74c21a986b4ed62acdcceb83226ff523e5ce.
* Revert "adjust!"
This reverts commit 4f5373b0de503203098c5fd495e72227f4525be4.
* more adjust
* final adjust?
* final adjust?
* wider
* keep left
* Try this out
* more together
* hmm
* adjust
* align differently
* adjust final
* adjust more
* adjust more
* Try this out
* last
* Try this
* Try that
* wider
* only check when starting
* comment
* remove second column and second row; change settings to 5 or 10 metrics; implement in future PRs
* fixup! remove second column and second row; change settings to 5 or 10 metrics; implement in future PRs
* fixup! remove second column and second row; change settings to 5 or 10 metrics; implement in future PRs
* Gap Adjust Cruise (GAC): init
* cs: add longitudinal supported cars
* disable for Toyota for now
* send to car cluster
* more
* KrKeegan: More Aggresive Start from Standstill
* fix
* set prev button after
* init bool
* wrong var
* use common update param function
* bruh no wonder why
* lock to default distance when using exp mode
* make vw match other makes
* implement ui button
* gate ui button
* log desired_TF
* move button
* only show when cruise state available
* only allow press when cruise state available
* Revert "KrKeegan: More Aggresive Start from Standstill"
This reverts commit 20bdff34c83d5a0c248d6996155c995c8a99810f.
* unnecessary
* nothing else
* pass it through
* add toyota support
* fixup! add toyota support
* oops, necessary
* don't show ui button when using e2e long
* different signal to use
* Forgot to update
* Clean it up?
* this?
* ugh
* force int!!
* convert then round
* hide when in exp mode
* toyota: log button
* Revert "different signal to use"
This reverts commit edc64d31af527af842aabe2934e5720f73bf75cc.
* toyota flippy flippy
* wrong signal for vw
* oops
* UI: Debug: Tap on Ui to capture snapshot of debug data
* UI: Debug UI: Toggle to display debug UI elements & UI prerequisites
* UI: VisionTurnController Implementation
* UI: Debug UI: Toggle to display debug UI elements
* UI: LiveMapData: Implementation
* UI: SpeedLimitControl: Implementation
* UI: TurnSpeedController: Implementation
* fixup! UI: SpeedLimitControl: Implementation
* Add adjustable speed limit offset (in % or actual values)
* fix
* fix 2
* fix 3
* wrong value used
* don't need this
* needs this!
* and this?
* needs to be at the top
* has to be public
* take them off
* gotta have this
* wrong!
* update this every time
* try to update
* hmm maybe it was this
* missed this
* Revert "missed this"
This reverts commit 926b45410544e4f1bbc5174d0d7b03fafedf610f.
* Revert "hmm maybe it was this"
This reverts commit 7f75543db71d6f438f6473c66d4f94df317f16f2.
* refresh them
* update them in both places!
* make them public please
* don't forget this path
* try this refresh?
* Revert "make them public please"
This reverts commit 669a3ee1d5607c84109294db7a567ca86cb91b0f.
* revert these
* try using signals to update
* Revert "try using signals to update"
This reverts commit f3ad02bde71467aa7fc27c0b95d03748345193e6.
* update state after it's emitted
* make it public
* Revert "make it public"
This reverts commit ddf431d198133359b8bd656dde9061ec671f2312.
* Revert "update state after it's emitted"
This reverts commit aad2876166843b63d889e90830bf3d32edaa2857.
* try this out
* fixup! try this out
* fixup! try this out
* fixup! try this out
* fixup! try this out
* don't need this
* fixup! try this out
* fixup! try this out
* fixup! try this out
* fixup! try this out
* make sure we can see it
* make it float
* Try to update this way
* fixup! Try to update this way
* Revert "fixup! Try to update this way"
This reverts commit f4725bcb070cc8e8ebeb6e37afeb930694e96e22.
* Revert "Try to update this way"
This reverts commit af72af8a4a193b24e99931200fac18c6625a2431.
* new method to hide/show
* fixup! new method to hide/show
* fixup! new method to hide/show
* fixup! new method to hide/show
* fixup! new method to hide/show
* fixup! new method to hide/show
* omg it works?!
* run these at 2Hz pls
* UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* fixup! UI: use comma speed limit design instead of move-fast
* garbage collection
* redundant
* gc attempt?
* Revert "garbage collection"
This reverts commit 127fc8bd9d1eaea7725cf775dc7034ac6aaf09f4.
* garbage collection
* catch exceptions
* ignore mapd if crashed
* copy dependencies after first download
* changed dir
* oops
* proper termination before exiting
* same class
* Revert "same class"
This reverts commit dda695477371bf259b89aae726210dfe9d5f913e.
* Revert "proper termination before exiting"
This reverts commit 95c039dac86a389c0be043aadf2a3e8cbd4515c8.
* don't let accelerator press to re-engage SLC when NDOG is off
* can we free them up?
* Revert "can we free them up?"
This reverts commit d7736524645376ffb43acb77678086f6ae3c4e0b.
* fixup! don't let accelerator press to re-engage SLC when NDOG is off
* introduce navInstruction speed limits into SLC
* nuke UI for now - memory test
* do this instead
* Overpass: does not exist
* Revert "nuke UI for now - memory test"
This reverts commit fd81ffde0443917580ec4ad71095c178173883fe.
* meh
* Distance button on steering wheel to toggle experimental mode
* HKG and Honda
* Longitudinal: parse distance button from steering wheel
* missing gm signal
* GM, VW (MQB & PQ), Toyota
* try this logic out
* try this out
* he might have gotten it!
* Hmmmm
* white edges!
* wrong
* wider!
* Try to match stock opacity
* too bright
* fix
* dimmer
* Revert to upstream color schemes and show borders
* put them together
* sharper
* UI: screen recorder ;)
* oops
* try out new look
* dep
* Try this
* bruh
* Hmm
* and this
* or this?
* how's this?
* this is fine
* move it move it
* finalize
* small
* bigger
* smaller
* pinpoint this
* Missed this
* and this
* gone?
* press down state
* no sound for now
* Revert "Remove lane planning code (#25651)"
* DLP: preserves lanelines
* MADS: cruiseEngageBlocked event
* change path now!
* Revert "change path now!"
This reverts commit 7db2af33378aa02288b6222ed722d705ca6e92ec.
* Revert "Revert "change path now!""
This reverts commit 19f50a19e98721f7b8b9018b2e788629df45137f.
* c string
* atoi instead
* does this work?
* move it move it
* move there
* Try this one
* dotted line
* looks horrible
* how about this?
* Nah let's keep it simple
* track these with cereals
* send button!
* add more
* don't need this
* and this too
* make sure it shows first
* more
* to right for now
* stock size
* different color
* move some logic around
* don't miss
* don't miss this
* check somewhere else
* oops
* not liking it
* bring back current button
* don't need to be constant
* take it out for now
* wrap for translation
* sunnypilot: MADS - Base + HKG
* fix upstream conflicts
* Don't miss this
* Missed it
* Don't initiate lane change when braking
* HKG: better cluster state
* HKG: only blink when disengaging lateral
* HKG: Optima's icons
* HKG: update vars and blink for CAN-FD
* HKG: don't get stuck
* obsolete
* remove this for now
* border color should sync
* change border color
* simplify things
* HKG: update events
* Honda: MADS
* HKG: cleanup
* Toyota: MADS
* Revert "remove this for now"
This reverts commit 76ddd435084e051ced9a343372900ced96180989.
* Revert "HKG: cleanup"
This reverts commit e1ab96c6f7634508b5f3820868d22f4694361622.
* Toyota: use the working one
* same colors
* block resume press if no previous set speed
* HKG: handle events better
* Honda: handle events better
* Toyota: handle events better
* Volkswagen MQB & PQ: MADS
* Subaru: MADS
* FCA: MADS
* add another argument for per port specifics
* GM: MADS
* Toyota: missed this
* Mazda: MADS
* Nissan: MADS
* have to use this
* pass events to the next
* move it around
* move some stuff around
* cleanup
* simplify and check if cruise is initialized with non PCM
* don't think we need this anymore
* Volkswagen: These 2 buttons don't get used
* check resume available differently
* check better
* simplify
* Mazda: missed one update check
* HKG: Move carstate logic to interface
* check from ret instead
* cruise state enabled spam bug
* check pcm
* set it earlier
* own cruise initialize check
* fixup! own cruise initialize check
* more inclusive
* HKG: redundant
* Honda: Move carstate logic to interface
* only check cruise speed when not PCM
* Toyota: Move carstate logic to interface
* fixup! HKG: Move carstate logic to interface
* fixup! Honda: Move carstate logic to interface
* fixup! Honda: Move carstate logic to interface
* Volkswagen: Move carstate logic to interface
* check if cruise has ever been enabled in state machine
* already exists
* just one more
* do not allow steering in certain situations
* Subaru: Move carstate logic to interface
* FCA: Move carstate logic to interface
* GM: Move carstate logic to interface
* Mazda: Move carstate logic to interface
* Nissan: Move carstate logic to interface
* HKG: move init
* declare at once
* cleanup variables
* prevent stuck engaged
* initialize for all cars
* slimmer
* no entry for brake press engage
* Revert "no entry for brake press engage"
This reverts commit 9e6e1ca5000c213017091765a0e50d2d794cebe9.
* Toyota: Change the logic
* Nissan: Cleanup carstate
* HKG: only disengage when cruise intially not available
* Revert "HKG: only disengage when cruise intially not available"
This reverts commit 123cce1818ea7285cbd433524c4f0e80e7c99cb4.
* allow press anytime
* cancel cruise when control wants to cancel
* remove some stuff
* wrong one
* can't do that
* would this fix it?
// Comment to add to the PR if no template has been used
const NO_TEMPLATE_MESSAGE =
"It looks like you didn't use one of the Pull Request templates. Please check [the contributing docs](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md). \
Also make sure that you didn't modify any of the checkboxes or headings within the template.";
stale-pr-message:'This PR has had no activity for ${{ env.DAYS_BEFORE_PR_STALE }} days. It will be automatically closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days if there is no activity.'
close-pr-message:'This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.'
stale-pr-label:stale
delete-branch:${{ github.event.pull_request.head.repo.full_name == 'commaai/openpilot' }}# only delete branches on the main repo
exempt-pr-labels:"ignore stale,needs testing,car port"# if wip or it needs testing from the community, don't mark as stale
exempt-pr-labels:"ignore stale,needs testing,car port,car"# if wip or it needs testing from the community, don't mark as stale
* Re-tuned and tested by the community (July 1, 2024)
* UPDATED: Driving Model Selector v5
* NEW❗: Driving Model additions
* Notre Dame (July 01, 2024) - NDv3
* UPDATED: Toyota: Continued support for Smart DSU (SDSU) and Radar CAN Filter
* In response to the official deprecation of support for Smart DSU (SDSU) and Radar CAN Filter in the upstream ([commaai/openpilot#32777](https://github.com/commaai/openpilot/pull/32777)), sunnypilot will continue maintaining software support for Smart DSU (SDSU) and Radar CAN Filter
* UPDATED: Continued support for Mapbox navigation
* In response to the official temporary deprecation of support for Mapbox navigation in the upstream ([commaai/openpilot#32773](https://github.com/commaai/openpilot/pull/32773)), sunnypilot will continue maintaining software support for Mapbox navigation
* NEW❗: Toyota - Automatic Door Locking and Unlocking thanks to AlexandreSato, cydia2020, and dragonpilot-community!
* Auto Lock by Speed: All doors are automatically locked when vehicle speed is approximately 6 mph (10 km/h) or higher
* Auto Unlock by Shift to P: All doors are automatically unlocked when shifting the shift lever to P
* FIXED: Driving Personality:
* Maniac mode now correctly enforced when selected
* UI Updates
* Display Metrics Below Chevron
* NEW❗: Time to Lead Car
* Displays the time to reach the position previously occupied by the lead car
* NEW❗: Display Distance, Speed, and Time to Lead Car simultaneously
* Kia Ceed Plug-in Hybrid Non-SCC 2022 support thanks to TerminatorNL!
sunnypilot - 0.9.7.1 (2024-06-13)
========================
* New driving model
* Inputs the past curvature for smoother and more accurate lateral control
* Simplified neural network architecture in the model's last layers
* Minor fixes to desire augmentation and weight decay
* New driver monitoring model
* Improved end-to-end bit for phone detection
* Adjust driving personality with the follow distance button
* Support for hybrid variants of supported Ford models
* Fingerprinting without the OBD-II port on all cars
* Improved fuzzy fingerprinting for Ford and Volkswagen
************************
* UPDATED: Synced with commaai's openpilot
* master commit f8cb04e (June 10, 2024)
* NEW❗: sunnylink (Alpha early access)
* NEW❗: Config/Settings Backup
* Remotely back up and restore sunnypilot settings easily
* Device registration with sunnylink ensures a secure, integrated experience across services
* AES encryption derived from the device's RSA private key is used for utmost security
* Settings are encrypted on-device, transmitted securely via HTTPS, and stored encrypted on sunnylink
* Prevents loss of settings after device resets, offering peace of mind through end-to-end encryption
* Early alpha access to all current and previous GitHub Sponsors and Patreon supporters
* GitHub account pairing from device settings scanning QR code
* Pairing your account will allow you to access features via our API (still WIP but accessible if you dig a little on our code 😉)
* Allow inheritance of your sponsorship status, allowing you to get extra features and early access whenever applicable
* NEW❗: iOS Siri Shortcuts Navigation support thanks to twilsonco and mike86437!
* iOS and macOS Shortcuts to quickly set navigation destinations from your iOS device
* comma Prime support
* Personal Mapbox/Amap/Google Maps token support
* Instructions on how to set up your iOS Siri Shortcuts: https://routinehub.co/shortcut/17677/
* NEW❗: Forced Offroad mode
* Force sunnypilot in the offroad state even when the car is on
* When Forced Offroad mode is on, allows changing offroad-only settings even when the car is turned on
* To engage/disengage Force Offroad, go to Settings -> Device panel
* UPDATED: Auto Lane Change Timer -> Auto Lane Change by Blinker
* NEW❗: New "Off" option to disable lane change by blinker
* UPDATED: Pause Lateral Below Speed with Blinker
* NEW❗: Customizable Pause Lateral Speed
* Pause lateral actuation with blinker when traveling below the desired speed selected. Default is 20 MPH or 32 km/h.
* UPDATED: Hyundai CAN Longitudinal
* Auto-enable radar tracks on platforms with applicable Mando radar
* UPDATED: Hyundai CAN-FD Camera-based SCC
* NEW❗: Parse lead info for camera-based SCC platforms with longitudinal support
* Improve lead tracking when using openpilot longitudinal
* RE-ENABLED: Map-based Turn Speed Control (M-TSC) for supported platforms
* openpilot Longitudinal Control available cars
* Custom Stock Longitudinal Control available cars
* UPDATED: Continued support for comma Pedal
* In response to the official deprecation of support for comma Pedal in the upstream, sunnypilot will continue maintaining software support for comma Pedal
* UPDATED: Driving Model Selector v4
* NEW❗: Driving Model additions
* North Dakota (April 29, 2024) - NDv2
* WD40 (April 09, 2024) - WD40
* Duck Amigo (March 18, 2024) - DA
* Recertified Herbalist (March 01, 2024) - CHLR
* Legacy Driving Models with Navigate on openpilot (NoO) support
* Includes Duck Amigo and all preceding models
* UPDATED: Bumping mapd by [@pfeiferj](https://github.com/pfeiferj) to version [v1.9.0](https://github.com/pfeiferj/mapd/releases/tag/v1.9.0) thanks to pfeiferj!
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to view and modify the Software, subject to the following conditions:
1.**Permission Required**: Permission Required for Commercial, For-Profit, or Closed Source Use: Use of the Software, in whole or in part, for any commercial purposes, for-profit projects, or in closed source projects requires explicit written permission from the original author(s).
2.**Redistribution**: Any redistribution of the Software, modified or unmodified, must retain this license notice and the following acknowledgment:
"This software is licensed under a custom license requiring permission for use."
3.**Visibility**: Any project that uses the Software must visibly mention the following acknowledgment:
"This project uses software from Haibin Wen and SUNNYPILOT LLC and is licensed under a custom license requiring permission for use."
4.**No Warranty**: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contact sunnypilot Support <support@sunnypilot.ai> for permission requests.
cereal is the messaging system for openpilot. It uses [msgq](https://github.com/commaai/msgq) as a pub/sub backend, and [Cap'n proto](https://capnproto.org/capnp-tool.html) for serialization of the structs.
## Messaging Spec
You'll find the message types in [log.capnp](log.capnp). It uses [Cap'n proto](https://capnproto.org/capnp-tool.html) and defines one struct called `Event`.
All `Events` have a `logMonoTime` and a `valid`. Then a big union defines the packet type.
### Best Practices
- **All fields must describe quantities in SI units**, unless otherwise specified in the field name.
- In the context of the message they are in, field names should be completely unambiguous.
- All values should be easy to plot and be human-readable with minimal parsing.
### Maintaining backwards-compatibility
When making changes to the messaging spec you want to maintain backwards-compatibility, such that old logs can
be parsed with a new version of cereal. Adding structs and adding members to structs is generally safe, most other
things are not. Read more details [here](https://capnproto.org/language.html).
### Custom forks
Forks of [openpilot](https://github.com/commaai/openpilot) might want to add things to the messaging
spec, however this could conflict with future changes made in mainline cereal/openpilot. Rebasing against mainline openpilot
then means breaking backwards-compatibility with all old logs of your fork. So we added reserved events in
[custom.capnp](custom.capnp) that we will leave empty in mainline cereal/openpilot. **If you only modify those, you can ensure your
fork will remain backwards-compatible with all versions of mainline openpilot and your fork.**
* once you open a PR, the bounty is locked to you until you stop working on it
* open a ticket at [comma.ai/support](https://comma.ai/support/shop-order) with links to your PRs to claim
* get an extra 20% if you redeem your bounty in [comma shop](https://comma.ai/shop) credit (including refunds on previous orders)
* for bounties >$100, the first PR gets a lock, which times out after a week of no progress
New bounties can be proposed in the [**#contributing**](https://discord.com/channels/469524606043160576/1183173332531687454) channel in Discord.
We put up each bounty with the intention that it'll get merged, but occasionally the right resolution is to close the bounty, which only becomes clear once some effort is put in.
This is still valuable work, so we'll pay out $100 for getting any bounty closed with a good explanation.
## Issue bounties
@@ -20,6 +22,8 @@ We've tagged bounty-eligible issues across openpilot and the rest of our repos;
***$500** - a few days of work for an experienced openpilot developer
***$1k+** - a week or two of work (could be less for the right person)
New bounties can be proposed in the [**#contributing**](https://discord.com/channels/469524606043160576/1183173332531687454) channel in Discord.
## Car bounties
The car bounties only apply to cars that have a path to ship in openpilot release, which excludes unsupportable cars (e.g. Fords with a steering lockout) or cars that require extra hardware (Honda Accord with serial steering).
@@ -53,10 +57,6 @@ The control doesn't have to be perfect, but it should generally do what it's sup
Get a Rivian driving with openpilot.
Requires a merged port with lateral control and at least a POC of longitudinal control.
#### Toyota SecOc - $5000
We're contributing $5k to the [community-organized bounty](https://github.com/commaai/openpilot/discussions/19932).
#### Chevy Bolt with SuperCruise - $2500
The Bolt is already supported on the trim with standard ACC. Get openpilot working on the trim with SuperCruise. It must be a normal install: no extra pandas or other hardware, no ECU reflashes, etc. The full bounty is for a port with lateral and longitudinal control. $1500 of the bounty can be claimed with a lateral-only port.
|Volkswagen|Touran 2016-23|Adaptive Cruise Control (ACC) & Lane Assist|openpilot available[<sup>1,12</sup>](#footnotes)|0 mph|0 mph|[](##)|[](##)|<details><summary>Parts</summary><sub>- 1 USB-C coupler<br>- 1 VW J533 connector<br>- 1 comma 3X<br>- 1 harness box<br>- 1 long OBD-C cable<br>- 1 mount<br>- 1 right angle OBD-C cable (1.5 ft)<br><a href="https://comma.ai/shop/comma-3x.html?make=Volkswagen&model=Touran 2016-23">Buy Here</a></sub></details>||
### Footnotes
<sup>1</sup>openpilot Longitudinal Control (Alpha) is available behind a toggle; the toggle is only available in non-release branches such as `devel` or `master-ci`. <br />
<sup>2</sup>By default, this car will use the stock Adaptive Cruise Control (ACC) for longitudinal control. If the Driver Support Unit (DSU) is disconnected, openpilot ACC will replace stock ACC. <b><i>NOTE: disconnecting the DSU disables Automatic Emergency Braking (AEB).</i></b> <br />
<sup>3</sup>Refers only to the Focus Mk4 (C519) available in Europe/China/Taiwan/Australasia, not the Focus Mk3 (C346) in North and South America/Southeast Asia. <br />
<sup>4</sup>Requires a <a href="https://github.com/commaai/openpilot/wiki/GM#hardware" target="_blank">community built ASCM harness</a>. <b><i>NOTE: disconnecting the ASCM disables Automatic Emergency Braking (AEB).</i></b> <br />
<sup>5</sup>2019 Honda Civic 1.6L Diesel Sedan does not have ALC below 12mph. <br />
<sup>6</sup>Requires a <a href="https://comma.ai/shop/can-fd-panda-kit" target="_blank">CAN FD panda kit</a> if not using comma 3X for this <a href="https://en.wikipedia.org/wiki/CAN_FD" target="_blank">CAN FD car</a>. <br />
<sup>7</sup>In the non-US market, openpilot requires the car to come equipped with EyeSight with Lane Keep Assistance. <br />
<sup>8</sup>Enabling longitudinal control (alpha) will disable all EyeSight functionality, including AEB, LDW, and RAB. <br />
<sup>9</sup>openpilot operates above 28mph for Camry 4CYL L, 4CYL LE and 4CYL SE which don't have Full-Speed Range Dynamic Radar Cruise Control. <br />
<sup>10</sup>Not including the China market Kamiq, which is based on the (currently) unsupported PQ34 platform. <br />
<sup>11</sup>Refers only to the MQB-based European B8 Passat, not the NMS Passat in the USA/China/Mideast markets. <br />
<sup>12</sup>Some Škoda vehicles are equipped with heated windshields, which are known to block GPS signal needed for some comma 3X functionality. <br />
<sup>13</sup>Only available for vehicles using a gateway (J533) harness. At this time, vehicles using a camera harness are limited to using stock ACC. <br />
<sup>14</sup>Model-years 2022 and beyond may have a combined CAN gateway and BCM, which is supported by openpilot in software, but doesn't yet have a harness available from the comma store. <br />
<sup>4</sup>2019 Honda Civic 1.6L Diesel Sedan does not have ALC below 12mph. <br />
<sup>5</sup>Requires a <a href="https://comma.ai/shop/can-fd-panda-kit" target="_blank">CAN FD panda kit</a> if not using comma 3X for this <a href="https://en.wikipedia.org/wiki/CAN_FD" target="_blank">CAN FD car</a>. <br />
<sup>6</sup>In the non-US market, openpilot requires the car to come equipped with EyeSight with Lane Keep Assistance. <br />
<sup>7</sup>Enabling longitudinal control (alpha) will disable all EyeSight functionality, including AEB, LDW, and RAB. <br />
<sup>8</sup>openpilot operates above 28mph for Camry 4CYL L, 4CYL LE and 4CYL SE which don't have Full-Speed Range Dynamic Radar Cruise Control. <br />
<sup>9</sup>Not including the China market Kamiq, which is based on the (currently) unsupported PQ34 platform. <br />
<sup>10</sup>Refers only to the MQB-based European B8 Passat, not the NMS Passat in the USA/China/Mideast markets. <br />
<sup>11</sup>Some Škoda vehicles are equipped with heated windshields, which are known to block GPS signal needed for some comma 3X functionality. <br />
<sup>12</sup>Only available for vehicles using a gateway (J533) harness. At this time, vehicles using a camera harness are limited to using stock ACC. <br />
<sup>13</sup>Model-years 2022 and beyond may have a combined CAN gateway and BCM, which is supported by openpilot in software, but doesn't yet have a harness available from the comma store. <br />
## Community Maintained Cars
Although they're not upstream, the community has openpilot running on other makes and models. See the 'Community Supported Models' section of each make [on our wiki](https://wiki.comma.ai/).
@@ -352,7 +351,9 @@ openpilot does not yet support these Toyota models due to a new message authenti
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.