Commit Graph

11395 Commits

Author SHA1 Message Date
Jason Wen fb6acf9ff1 ui: New ButtomParamControl design 2023-10-04 16:59:33 +00:00
Jason Wen 2c43f3b15b ui: Use local variables for cereal 2023-10-04 02:42:20 +00:00
Jason Wen 98dbd39209 Mazda: Custom Stock Longitudinal Control: calculate counters manually 2023-10-03 21:38:52 +00:00
Jason Wen 8d993284b3 Hyundai: Custom Stock Longitudinal Control: calculate counters manually 2023-10-03 21:23:37 +00:00
Jason Wen 9af11f99b0 Merge branch 'subaru-sng-fix' into 'master-priv'
Subaru: Stop and Go autoresume counter fix

See merge request openpilot-devtekve/sunnyhaibin/openpilot-special!321
2023-10-03 20:54:19 +00:00
Jason Wen c4068f34a2 Subaru: Stop and Go autoresume counter fix 2023-10-03 20:54:18 +00:00
Jason Wen c946f50a70 Subaru: Stop and Go: Initialize for all platforms (#329) 2023-10-03 11:14:29 -04:00
Jason Wen 62e6d6392d V-TSC: Parse lane lines calculation fix (#326) 2023-10-02 22:54:01 -04:00
Jason Wen 5e0c958618 Subaru: Safety param assignment fix (#327) 2023-10-02 20:52:25 -04:00
Jason Wen 48d7faf48f Dynamic Longitudinal Control (#218)
* 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
2023-10-01 23:59:27 -04:00
Jason Wen d0e58efaf6 Hyundai CAN Longitudinal: Only use vision-based yRel for Hyundai camera-based SCC platforms (#320) 2023-10-01 21:43:00 -04:00
Jason Wen 1a3899e062 ui: Hide Custom Stock Longitudinal Control if not available (#319) 2023-10-01 15:22:50 -04:00
Jason Wen 7a072093dd Merge branch 'master' into dev-priv/master
# Conflicts:
#	CHANGELOGS.md
#	selfdrive/controls/controlsd.py
#	selfdrive/controls/lib/lateral_planner.py
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/controls/lib/speed_limit_controller.py
#	selfdrive/controls/plannerd.py
#	selfdrive/mapd/mapd.py
#	selfdrive/ui/qt/onroad.cc
#	selfdrive/ui/ui.cc
2023-10-01 11:35:25 -04:00
Jason Wen 925bc21912 Update CHANGELOGS.md 2023-10-01 11:32:22 -04:00
Jason Wen dfe106f1b0 Revert "ui: Hide bottom row dev UI when alerts are displayed (#272)" (#318)
* Revert "ui: Hide bottom row dev UI when alerts are displayed (#272)"

This reverts commit ccde494acc.

* Update CHANGELOGS.md
2023-10-01 11:30:51 -04:00
Jason Wen e6d11a46b4 Torqued: Hide torqued in Dev UI when Custom Live Tune is overriding (#317) 2023-10-01 03:14:36 -04:00
Jason Wen cc47228363 Cereal: Use custom reserved structs (aka MSPA) (#316)
* Cereal: Use custom reserved structs

* bump cereal

* fix dmonitoring

* pandaStateSP & controlsStateSP

* LongitudinalPlanSP

* LateralPlanSP

* LiveMapDataSP

* E2eLongStateSP

* fixup! LongitudinalPlanSP

* fix

* LongitudinalPersonality fix

* sync with upstream

* bump cereal

* LongitudinalPersonalitySP fixed

* LongitudinalPlanSP fix

* no need

* bump cereal

* bump panda

* no longer logs controlsAllowedLong

* bump cereal

* bump cereal

* fix

* LiveMapDataSP fix

* MSPA (#217)

* Cereal: Use custom reserved structs

* fix dmonitoring

* sync with upstream

* bump cereal

* bump cereal

* fix

* bump cereal

* fix

* unused

* check sm valid

* bump cereal

* MSPA: Unused service (#218)

* bump panda

* bump panda

* bump panda
2023-10-01 03:13:14 -04:00
Jason Wen 823e82ec0a MADS: Remove controlsAllowedLong pandaStates to sync with stock cereal (#315)
* MADS: Remove controlsAllowedLong pandaStates to sync with stock cereal

* bump panda

* bump panda
2023-10-01 02:27:52 -04:00
Jason Wen 61d39a5558 MSPA: Unused service (#218) 2023-10-01 02:10:49 -04:00
Jason Wen c8debe77db MSPA (#217)
* Cereal: Use custom reserved structs

* fix dmonitoring

* sync with upstream

* bump cereal

* bump cereal

* fix

* bump cereal

* fix

* unused

* check sm valid
2023-10-01 02:05:05 -04:00
Jason Wen 12a56eb46e ui: Settings toggle color change (#314)
* 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.
2023-09-30 22:16:49 -04:00
Jason Wen 5d8354ec63 ui: Redesign settings sidebar panel (#313)
* ui: Redesign settings sidebar panel

* redesign close button

* add icon

* remove

* no icons for now

* more adjust
2023-09-30 03:16:55 -04:00
Jason Wen d6a768c96f Hyundai CAN Longitudinal: Parse lead info for camera-based SCC platforms (#299)
* 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
2023-09-30 01:20:13 -04:00
Jason Wen b982079429 HKG: Car Port for Kia Seltos Non-SCC 2023-24 (#288)
* HKG: add Kia Seltos 2024 Non-SCC platform

* 2023 MY also works

* finish port

* Update CHANGELOGS.md

* update name

* add fw

* fix

* fix list
2023-09-29 08:59:01 -04:00
Jason Wen 47096cbb3c Merge branch 'master' into dev-priv/master
# Conflicts:
#	CHANGELOGS.md
2023-09-29 08:57:43 -04:00
Jason Wen 44b0b11ff1 HKG: add Kia Seltos 2023-24 Non-SCC platform (#215)
* HKG: add Kia Seltos 2024 Non-SCC platform

* 2023 MY also works

* Update CHANGELOGS.md

* add fw

* fix

* fix list
2023-09-29 08:56:50 -04:00
Jason Wen 613d5b4aba Torque Lateral Control: Refactor settings (#300)
* 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
2023-09-29 02:36:55 -04:00
Jason Wen 71fc267606 ui: Feature Status: Update only when param is changed (#311)
* ui: Feature Status: Update only when param is changed

* less calls
2023-09-29 01:49:43 -04:00
Jason Wen c0f2e6bc05 ui: Allow SPOptionControl button group enabled state modifications (#310) 2023-09-29 00:54:15 -04:00
Jason Wen c49b5c8e35 Lateral Planner: Fix Custom Offsets and Path Offset in all modes (#309)
* Lateral Planner: Fix Custom Offsets and Path Offset in all modes

* Update init values
2023-09-29 00:39:49 -04:00
Jason Wen 429f7307be Subaru: Stop and Go autoresume (#289)
* 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
2023-09-29 00:33:03 -04:00
Jason Wen c2c2be07bc 3D Building on Map (#308)
* ui: 3D buildings on map

* add toggle

* toggleable offroad only

* fixes

* Revert "toggleable offroad only"

This reverts commit 7c0c8d99bca3bbec00921c2d438e68b5f9054393.
2023-09-28 00:10:51 -04:00
Jason Wen 5214a703d7 Sentry: Cleanup unncessary inits (#307)
* Sentry: cleanup unncessary inits

* unnecessary

* unused

* cleanup
2023-09-27 21:59:13 -04:00
Jason Wen a612ee07d7 ui: Fix blinker positions when in split view (#306)
* ui: Fix blinker positions when in split view

* Shorten name
2023-09-27 12:27:02 -04:00
Jason Wen 5bf6368947 ui: Clear road name cache when going onroad (#305)
* ui: Clear road name cache at UI initiation

* clear on offroad
2023-09-27 11:17:16 -04:00
Jason Wen c8cb9b3b75 ESCC: Disable radarUnavailable when detected (#304) 2023-09-27 02:27:34 -04:00
Jason Wen 5dbecc7d38 Hyundai: radar interface fixups (#303) 2023-09-27 02:10:44 -04:00
Jason Wen 67208ee372 ui: sunnypilot settings panels params cleanup (#302) 2023-09-26 23:00:10 -04:00
Jason Wen 934aa7acd2 ui: Controls Panel: slight cleanup (#301) 2023-09-26 21:46:31 -04:00
Jason Wen 5cf452acdd Hyundai: radar interface cleanup (#298) 2023-09-26 10:00:41 -04:00
Jason Wen 65b74b45c4 Toyota: Stop and Go hack implementation (#290) 2023-09-25 14:46:50 -04:00
Jason Wen dd98954ce3 Toyota: ZSS support (#292)
* Toyota: ZSS support

* comment
2023-09-25 14:45:27 -04:00
Jason Wen 99d64ed1b4 ui: Sync Onroad Settings buttons with Onroad Feature Status (#297) 2023-09-25 12:45:15 -04:00
Jason Wen 172d629393 Retain hotspot/tether: Check HotspotOnBoot toggle (#296) 2023-09-25 11:44:26 -04:00
Jason Wen 7445c42b5d Retain hotspot/tether: Initialize after modem is configured (#295) 2023-09-25 10:48:39 -04:00
Jason Wen 8d75ca9a7b Retain hotspot/tether: Fix initialization (#293)
* Retain hotspot/tether: Fix initialization

* init before manager starts

* simpler
2023-09-25 01:14:48 -04:00
Jason Wen 9cab2802ea Merge branch 'master' into dev-priv/master 2023-09-24 00:22:53 -04:00
Jason Wen ab66732ee9 ui: Some comments in sunnypilot settings (#291) 2023-09-24 11:33:19 -04:00
Jason Wen fb9a990184 FCR: sync with upstream supported car platforms 2023-09-24 00:09:50 -04:00
Jason Wen 3b1ad57ee2 sunnypilot: Fix upstream conflict 2023-09-23 14:12:49 -04:00