Commit Graph

6471 Commits

Author SHA1 Message Date
Adeeb Shihadeh 81763a18b5 fix not going onroad on clean dashcam install (#2280) 2020-10-06 11:10:45 +02:00
Adeeb Shihadeh 176c06499d write car params before profiling 2020-10-05 21:34:57 -07:00
Adeeb Shihadeh 6709106025 don't want to profile that 2020-10-05 20:48:23 -07:00
Adeeb Shihadeh 0d11acf34e paramsd profiling 2020-10-05 20:41:24 -07:00
Willem Melching 3f88df62c7 Fix calibration invalid alert on startup (#2270)
* change controlsd calibration initial value

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-05 19:16:52 -07:00
Adeeb Shihadeh 70bc935210 bump cereal 2020-10-05 18:43:21 -07:00
Greg Hogan 2293a6a36c eliminate round-trip reading entire file (#2275)
* eliminate round-trip reading entire file

* only if reading entire file

* print headers in errors

* fix end
2020-10-05 16:59:19 -07:00
ZwX1616 55351859a7 transient considerations (#2276) 2020-10-05 15:41:17 -07:00
ZwX1616 21d4ac1eeb Reduced wheel touch time (#2259)
* decrease wheel touch time

* update refs

* fix unittest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-05 14:39:24 -07:00
Willem Melching e51da619c1 LSM6DS3 (#2268)
* add initial lsm6ds3 setup

* accel works

* ignore lsm6ds3 in locationd

* add gyro

* add temp

Co-authored-by: Comma Device <device@comma.ai>
2020-10-05 16:16:25 +02:00
grekiki a09fd7c860 CI: Add valgrind (#2245)
* prepare a test for valgrind by fixing linter issues

* something went wrong

* Try update cereal

* Not working, fixing replay_learning.py

* Testing

* Testing

* Working now

* More logs, a bit of cleaning, still no idea how this works

* Ok got 10% cleaning done

* trying some stackOverflow code

* Lots of cleaning

* wip

* Delete valgrind_testing.py

* Delete replay_learning.py

* Add to CI, cannot fail though

* Add to CI, cannot fail though

* Now the unit test should fail

* Dump valgrind output in case of a failure

* fix subrepos

* fix subs

* hopefully fixes every issue that we have

* wait for message confirmation

* Revert "wait for message confirmation"

This reverts commit ad7ba280ec6536015ac1a442c9732bfe42fd5664.

* fix local issues

* Revert "fix local issues"

This reverts commit 4498df21df471fa6e9360d50407eaefdf24ae69f.

* attempt 3 to fix things

* untested function extraction

* refactor

* add valgrind task

* add delay and BASEDIR

* Make test not fail, it is not designed for that

* fix subrepositories

* fix tests

* Real fix now :)

* scons

* ... stupid CI

* fix valgrind CI

* Update test.yaml

* Update test.yaml

* Update test.yaml

* add valgrind logs as file

* remove delays

* kill process more reliably

* rename action

* small cleanup

* fix casting to int in case of large leaks

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 16:09:32 +02:00
Adeeb Shihadeh a77548bff6 radard cleanup (#2266)
* some cleanup

* more realistic profiling

* Update selfdrive/controls/radard.py

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

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 11:37:39 +02:00
Adeeb Shihadeh df6a66c785 radard profiling (#2265) 2020-10-04 15:55:25 -07:00
Willem Melching 8e0bb6a7ce Fix MacOS CI (#2145)
* compile flag for cython

* fix more setups

* bump cereal

* reenable mac build

* don't let that fail the build

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-04 15:03:20 -07:00
Adeeb Shihadeh 06cb2f963d UI: refactor light sensor (#2129)
* refactor light thread

* qcom low power mode

Co-authored-by: Comma Device <device@comma.ai>
2020-10-03 20:58:46 -07:00
Adeeb Shihadeh 47a42ff432 bump version to 0.7.10 2020-10-03 14:51:47 -07:00
ZwX1616 2b974150c4 Refactor loggerd rotations (#2247)
* loggerd:refactor rotate encoder

* change notify_all to notify_one

* finish

* cancelWait

* start front_encoder_thread on need

* rebase master to resolve conflict

* tici qcam works, but

* ifs are ugly

* synced rotate off frame ids

* only start counting frames after modeld alive

* typo

* fix some bugs

* never over rotate

* works

* missing space

* zero frame count tolerance

* lol

* add back omx race protection

* not need that

* not to confuse different locks

* playing with locks is playing with fire

* tici now has qcam

* size is overrated

* make cppcheck happy

* fall back if no camera

* warn

* missing condition

* first is freestyle

* no stream id before connecting

* wait for increment

* first will be imperfect

* wait is futile

* block frames when writing state

* just log write time

* exit loops when exit

* tici qcamera

* fixed

* add atomics

* incl

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-03 07:56:16 -07:00
Adeeb Shihadeh 059cf6b43e Run all driving processes on cores 2-3 (#2257) 2020-10-02 17:18:18 -07:00
Adeeb Shihadeh 38ded9b1e7 Tici updated (#2126)
* run updated on tici

* do this for now

* two didn't like empty string

* fix permissions
2020-10-02 16:36:20 -07:00
Adeeb Shihadeh 427d4a5a9e run loggerd tests in CI (#2241)
* run loggerd tests in jenkins

* fast

* check segs on the fly

* missing import

* wait for dir

* no thread

* relax FILE_SIZE_TOLERANCE

* cleanup

* unused

* set ci flag

* wait longer for first seg

* fix race condition with setting RecordFront

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-01 18:42:43 -07:00
Adeeb Shihadeh 14d056a14d bump submodules 2020-10-01 14:11:44 -07:00
Adeeb Shihadeh 67aec50b88 Increase HKG torque limit (#2249)
* increase hkg torque limit

* update refs

* bump panda
2020-10-01 13:16:51 -07:00
Adeeb Shihadeh 809b427e72 0.7.9 release notes tweak 2020-10-01 11:21:02 -07:00
Willem Melching b24b0ebb19 Update release notes 2020-10-01 20:08:11 +02:00
Willem Melching 1c6fb56769 simplify testing closet client 2020-10-01 16:01:34 +02:00
Comma Device 3f0491b7e5 update testing closet client 2020-10-01 06:52:59 -07:00
Willem Melching dba49bbf84 fix compilation with Clang 10 on ubuntu 20.04 (#2243)
* fix compilation with Clang 10 on ubuntu 20.04

* Allow newer warning options in old clang

* Fix space
2020-09-30 14:58:56 +02:00
Adeeb Shihadeh 846b56831f jenkins: clean workspace (#2248) 2020-09-29 22:14:54 -07:00
Adeeb Shihadeh 2a2cfd6bb5 updated: remove old overlay init file 2020-09-29 21:26:27 -07:00
Adeeb Shihadeh 9060d3c87b fix paths for waste3 debug script 2020-09-29 15:51:58 -07:00
Tom Dörr c13c6ef76b Add Flags to Control Simulator (#2246)
* Add flags

* Update readme
2020-09-29 14:00:03 -07:00
Dean Lee 209e7aa471 fix resource leak when rotating encoder (#2141) 2020-09-29 13:53:32 -07:00
Adeeb Shihadeh be7cc63e3d bump submodules 2020-09-29 13:23:40 -07:00
Adeeb Shihadeh 3f40a9ee75 updated: log git corruption (#2242)
* log git corruption

* better cloudlog
2020-09-29 12:08:55 -07:00
Adeeb Shihadeh 98fedff6b1 add ECU disable script from #1459 2020-09-29 11:54:29 -07:00
Willem Melching 0abd089ec4 Revert "fix compilation with Clang 10 on ubuntu 20.04"
This reverts commit fe8d08806f.
2020-09-29 13:12:38 +02:00
Willem Melching fe8d08806f fix compilation with Clang 10 on ubuntu 20.04 2020-09-29 12:54:51 +02:00
Greg Hogan 0902575e34 pre-reqs for honda bosch longitudinal control (#1458)
* pre-reqs for honda bosch longitudinal control

* openpilot_longitudinal_control -> radar_disabled

* fix chrysler test

* review feedback

* little cleaner

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-29 00:04:15 -07:00
cydia2020 6d5b2af3f2 add 1 second delay to acc pedal alert (#2221)
So that the screen wouldn't appear to "flicker" when openpilot is engaged while the acc pedal is being released
2020-09-28 16:17:21 -07:00
Adeeb Shihadeh 2490be762d tici light sensor (#2238) 2020-09-28 14:49:07 -07:00
Tom Dörr 459aa1123d Name openpilot docker container (#2239) 2020-09-28 14:44:03 -07:00
Adeeb Shihadeh 562cde2022 this sounds better 2020-09-28 13:48:09 -07:00
Adeeb Shihadeh 6101951dc4 no more question issue type, we have discussions 2020-09-28 13:43:46 -07:00
Tom Dörr e6eedbe704 Enable Ctrl-C for Carla Server (#2240) 2020-09-28 13:41:37 -07:00
Nelson Chen 0bd66a40d8 Add 2021 Corolla Hybrid to Supported Cars in README.md (#2229)
Followup to https://github.com/commaai/openpilot/pull/1845 which added FW/FPv2 from a *2021* Corolla Hybrid.

User confirmed again their vehicle is a 2021 Corolla Hybrid recently: https://discordapp.com/channels/469524606043160576/524327905937850394/759264135812349962

By the way, the ICE-only 2021 Corolla has still not been confirmed or tried against and no mention has been found in Discord about successful attempts or failures regarding that model and model year.
2020-09-28 11:54:13 -07:00
qadmus cba53957bd Fix grade force in test_long plant (#2225)
Co-authored-by: user <email@web.com>
2020-09-28 11:54:48 +02:00
Dean Lee 9983389ffe close lock_fd if flock failed (#2231) 2020-09-28 11:47:38 +02:00
Logan Lasiter 7d28afcde3 Add symphony-cpu lib once (#2232) 2020-09-28 11:46:51 +02:00
Erich Moraga 278bb5063a Add engine f/w for CAR.LEXUS_RX (#2235)
@vonlee#4243 2017 Lexus RX350 DongleID e6112c12439776bb
2020-09-27 18:42:57 -07:00
vanillagorillaa c35af4b619 Typo: thershold -> threshold (#2230) 2020-09-25 22:50:55 -07:00