Commit Graph

7421 Commits

Author SHA1 Message Date
Dean Lee
e736029235 fix Fix problematic realloc (#19812) 2021-03-12 19:57:07 -08:00
Dean Lee
e654d9ddf9 cleanup camera_qcom const structs (#20251)
* move actuator_ringing_params from global to function actuator_move

* remove varaible infinity_dac from CameraState

* static actuator_ringing_params

* continue

* rebase master
2021-03-12 19:52:04 -08:00
ZwX1616
65bb979c34 set_exposure_target test (#20318)
* build

* remove junk

* clean up

* clean up rebase

* new patterns

* add gts

* add to jenkis

* this more useful

* typo

* test only

* Update Jenkinsfile

* test flag

* remove from jenkins

* these should all just be common:wq

* oops

* unigt

* add to unit tests?

* build all is fine

Co-authored-by: Comma Device <device@comma.ai>
2021-03-12 17:40:50 -08:00
qadmus
ad123714ba Add GM steering rate and EPS torque to CarState (#20319)
* Add GM steering rate and EPS torque to CarState

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-12 14:51:20 -08:00
Erich Moraga
ff1c15d2dc Add missing engine f/w for HIGHLANDERH_TSS2 (#20332)
@vaughn#9342 15a5a57e91c1fe5d|2021-03-12--14-39-11 2021 Highlander Hybrid
2021-03-12 14:51:01 -08:00
Adeeb Shihadeh
90795fc773 reduce log spam (#20330)
* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
2021-03-12 11:45:29 -08:00
Dean Lee
d023397ba9 thneed: remove redundant function nanos_since_boot (#20329) 2021-03-12 10:31:55 -08:00
Willem Melching
c23ec9f753 LateralPlanner should only compute curvature (#20289)
* get curvature from planner

* no need to check active

* remove that

* remove self

* liveParams not needed

* cast

* fix test bug

* fixes

* fix ui.py

* fix radians

* update refs

* update refs

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-11 21:08:51 -08:00
Dean Lee
92e69e8b75 refactor function alloc (#20192) 2021-03-11 17:40:33 -08:00
Dean Lee
8a966de2b6 use loop index (#20307) 2021-03-11 17:24:02 -08:00
HaraldSchafer
0223578461 Better high speed alert message (#20322) 2021-03-11 17:01:29 -08:00
speedking456
e59f7e0540 Kia Seltos 2021 (#20321)
* Update hyundaican.py

* Update carcontroller.py

* Update interface.py

* Update values.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update values.py

* Merge 4 conflict resolution

* Update README.md

* Update test_car_models.py

* Update values.py
2021-03-11 15:56:14 -08:00
ZwX1616
b734647fb7 only destroy if inited (#20317) 2021-03-11 13:53:24 -08:00
Jason Young
042c877393 VW MQB: Updated message and signal data, round 1 (#20297)
* EPS_01 -> LH_EPS_03

* LDW_02 signal naming updates

* LDW_02 signal naming updates

* Copypasta repair

* New garbage, same as the old garbage

* Bump opendbc
2021-03-11 11:44:14 -08:00
Dean Lee
b32386cc35 transform_queue: const mat3& projection (#20316) 2021-03-11 11:42:16 -08:00
Dean Lee
d5c17723da driving.h: fix indentation (#20315) 2021-03-11 17:00:14 +01:00
Dean Lee
980f8774ba ui/update_model: cleanup (#20313)
* cleanup

* fix ident
2021-03-11 16:59:40 +01:00
Erich Moraga
95a26d190c Add several missing Palisade firmwares (#20312)
@termatt#5300 2021 Hyundai Palisade  DongleID/route f9438df8b6c11612|2021-03-10--20-53-08
2021-03-11 16:13:34 +01:00
Willem Melching
1f24b1eb0f ui.cc: lane lines have different x values 2021-03-11 15:39:37 +01:00
Dean Lee
bca53f337f softmax(): use std::max_element (#20306) 2021-03-11 15:05:13 +01:00
Dean Lee
4cce4385af FrameBuffer: move the status,success variables closer to usage (#20308) 2021-03-11 15:02:35 +01:00
Dean Lee
8abc85ea5e LapConv::Update: use CL_TRUE instead of true (#20311) 2021-03-11 15:01:44 +01:00
Adeeb Shihadeh
d6beffd4d1 fix setting brightness on tici 2021-03-10 23:10:54 -08:00
Adeeb Shihadeh
d45550c424 UI HW Abstraction layer (#20301)
* start cpp hw abstraction layer

* cleanup

* only set brightness on change

* confirmation dialogs

* add to release files

* fix tici brightness

* using percentage now

Co-authored-by: Comma Device <device@comma.ai>
2021-03-10 22:51:50 -08:00
Dean Lee
4e9e751ba5 paint.cc: fix indentation & code style (#20302) 2021-03-10 20:52:01 -08:00
Adeeb Shihadeh
62512d6265 Kia Ceed 2019 (#20283)
* Update values.py

* Update interface.py

* Update values.py

* Update README.md

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update test_car_models.py

* Update test_car_models.py

* passes tests

* only fw

* add to release notes

* move that

* send lfa mfa

Co-authored-by: ZanZaD13 <65367004+ZanZaD13@users.noreply.github.com>
2021-03-10 17:02:31 -08:00
Willem Melching
70d683261c boardd: stricter ublox logging 2021-03-10 14:50:26 +01:00
Willem Melching
af02811d42 turn off gpsMalfunction alert until uBlox config is fixed 2021-03-10 11:13:46 +01:00
iejMac
ea5fec7636 optimizing simulator performance (#20295)
* 20 hz

* weird blank screen on Low quality

* Epic quality
2021-03-09 23:48:46 -08:00
Comma Device
8111d78cf3 uncomment 2021-03-09 23:00:25 -08:00
Comma Device
7a3d195f53 smoother spinner transition on startup 2021-03-09 22:59:43 -08:00
Adeeb Shihadeh
dd74f09eab turn pigeon off when going offroad (#20296)
* cleanup

* power off pigeon

* comment

Co-authored-by: Comma Device <device@comma.ai>
2021-03-09 22:48:27 -08:00
Adeeb Shihadeh
2d79ccb9ad fix static analysis CI 2021-03-09 17:49:15 -08:00
Comma Device
f126118bc0 power monitoring script 2021-03-09 17:09:25 -08:00
rodclem
1dc0c0763e 2021 Acura RDX firmware clean up + update readme (#20288) 2021-03-09 14:03:34 -08:00
Jason Young
1813c72a76 VW MQB: Use raw steering angle signal (#20247)
* Use raw instead of processed steering angle

* update ref commit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-09 13:47:00 -08:00
Shane Smiskol
a3556410de Spinner: wait for UI to start (#20279)
* Impose a max rate for updating spinner progress

* fix import

* Show spinner until offroad is started

* no need for time

* Fix ROOT_DIR

* Fix fb include

* fix relative path

* don't touch these files

* Close spinner after all procs have started

* don't touch file

* Move up

* Revert changes to spinner, and only sleep on final progress update

* add this back

* revert time

* test sending 100

* test sending 100

* revert makefile changes

* rm 2nd 100% update

* pass spinner to thread function

* pass ignore list

* Default to None

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-09 13:37:11 -08:00
Willem Melching
026a580ee3 Use exposure for screen brightness (#20290)
* use camera to set screen brightness

* leave default

* lower default

* fix offroad

* increase offroad brightness

* ifdef ifndef

* fix qcomgp
2021-03-09 17:58:26 +01:00
Willem Melching
d66661fa67 boardd: 0.9s timeout, only log no reset 2021-03-09 17:54:40 +01:00
Willem Melching
6884d7c9bd boardd: increase CLASS_RXM timeout 2021-03-09 17:28:19 +01:00
Willem Melching
fbdeee5738 boardd: remove check on CLASS_MON 2021-03-09 15:45:22 +01:00
Jason Young
bee0cc6dac VW MQB: Support for other transmission types (#20253)
* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Support pieces for e-Golf and manual trans

* Fix comment typo

* TRANS->TransmissionType, GEAR->GearShifter

* TRANS->TransmissionType, GEAR->GearShifter
2021-03-09 15:39:58 +01:00
Willem Melching
958e7b0071 manager watchdog, log exit code 2021-03-09 13:11:40 +01:00
Willem Melching
fff5cde352 board: respect 10 second ublox init time 2021-03-09 12:05:16 +01:00
Willem Melching
4fc81c2a08 Boardd: Track ublox message frequency and re-init (#20278)
* track message frequency

* also keep old reset trigger

* cleanup

* improve comments

* Add 10 seconds

* these are now signed

* also check ignition last

* cleanup

* correct include

* lower threshold

* dont clear map
2021-03-09 11:49:58 +01:00
Dean Lee
a7672e2851 Run models in function run_model (#20272)
* reconnect vipc_client after disconnection

* run models in run_model()

* cleanup

* use std::Mutex

* use std::thread

* const

* comments

* cleanup include

* rename live_thread to calibration_thread

* add comment
2021-03-09 10:32:13 +01:00
Adeeb Shihadeh
614808f384 qt_sound: lower volume 2021-03-08 22:10:48 -08:00
rodclem
8c72ffc4cc Add firmware values for 2021 Acura RDX (#20282) 2021-03-08 20:19:22 -08:00
Willem Melching
a94ba4fb8b Add watchdog check to manager (#20277)
* this should work but doesnt

* Only offroad

* works

* make it work offorad

* reduce diff

* cleanup

* need util

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-08 19:17:46 -08:00
Adeeb Shihadeh
8c207d3cd5 only show EON charge alert on EONs 2021-03-08 17:00:58 -08:00