Commit Graph

12534 Commits

Author SHA1 Message Date
Adeeb Shihadeh
4917e22615 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
2023-08-24 14:58:30 -07:00
Shane Smiskol
b9d77afd7e ui/map: initialize speed filter with current speed (#29605)
fix map starting from 0 zoom
2023-08-24 14:53:47 -07:00
mitchellgoffpc
fc8c97e7a9 Some cleanup in modeld sconscript 2023-08-24 14:41:04 -07:00
mitchellgoffpc
a184d40b7a Disable error message in thneed ioctl interceptor to fix pyenv issues 2023-08-24 14:41:04 -07:00
Shane Smiskol
54e98fa888 C++ FirstOrderFilter: add initialized flag (#29602)
add initialized flag with default to not change behavior
2023-08-24 14:33:11 -07:00
Dean Lee
d54fa5c7f1 v4l_encoder: fix error handling for poll (#29166)
* fix error handling for poll

* revert

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-24 12:56:06 -07:00
Dean Lee
3930ec9fac locationd: passing eigen objects by reference (#28719)
pass eigen objects by reference
2023-08-24 12:55:47 -07:00
Dean Lee
b234cb0223 ui: remove Q_PROPERTY from AnnotatedCameraWidget (#28745) 2023-08-24 11:09:26 -07:00
Shane Smiskol
821cfff56d car interfaces: long running fuzzy test (#29592)
* draft

* draft 2

* increase deadline and run

* imports

* run -> use
2023-08-24 10:45:50 -07:00
Dean Lee
7bfd3dac81 cpplint: add filter whitespace/comma (#29595) 2023-08-24 10:42:06 -07:00
Dean Lee
792ad7d816 ui/map: delete map after unsubscribing from prime (#29136)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-24 16:51:53 +01:00
Dean Lee
20e8170399 common/i2c: remove duplicate #include (#29594) 2023-08-24 16:21:03 +01:00
Dean Lee
9c7bf50703 cpplint: add filter whitespace/tab (#29588) 2023-08-24 08:06:58 -07:00
Cameron Clough
74b9a6af9e add missing openpilot prefix to imports 2023-08-24 15:46:56 +01:00
Dean Lee
21da5a216f cpplint: add filter build/include_subdir (#29585) 2023-08-24 15:42:17 +01:00
Adeeb Shihadeh
d013f2174a manager: refactor process starting logic (#29574)
* refactor into sane api

* always set

* cleanup

* cleanup

* and there too

* fix order

* fail

* and ensure we test

* pass test

pass test

* order

* only diff not related

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-24 06:00:55 -07:00
Shane Smiskol
d58cb9994f car interface test: pick from possible ECUs (#29593)
pick from possible ecus
2023-08-24 05:27:58 -07:00
Cameron Clough
05e91c074d ui: hasPrime/primeChanged helper (#29590) 2023-08-24 12:47:22 +01:00
Cameron Clough
102047013f bump cereal 2023-08-24 12:42:08 +01:00
Dean Lee
99279b8eef ui: use enum PrimeType for prime_type (#29491) 2023-08-24 12:26:45 +01:00
Shane Smiskol
e38ce6087f car interfaces test: don't sleep (#29589)
don't sleep in test_car_interfaces
2023-08-24 04:24:22 -07:00
Shane Smiskol
84b897cf44 manager: test process exclusion (#29586)
* add test

* add comment

* Update selfdrive/manager/test/test_manager.py

* more accurate
2023-08-24 00:34:36 -07:00
Dean Lee
3c94d953ab replay: fix visionbuf alignment on device (#26913)
* align visionbuf

* update test case

* cleanup

* fix cpplint warning
2023-08-24 00:03:16 -07:00
Justin Newberry
da7504e1e7 CI: Normalize file permissions (#29584)
* normalize file permissions

* comment

* add comment

* remove that

* shell

* should be on the top
2023-08-23 23:50:51 -07:00
Dean Lee
4ea7833060 ui/map_instructions: restore padding (#29548)
* restore padding

* fixes

* fix left and right margins

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 23:32:01 -07:00
Dean Lee
ac93902983 cpplint: add filter whitespace/forcolon (#29582)
whitespace/forcolon
2023-08-23 22:46:02 -07:00
Shane Smiskol
3719be8b76 Subaru: Forester Hybrid 2020 dashcam (#24770)
* Add support for Forester Hybrid 2020

Co-authored-by: martinl <martin@mlp.ee>

* it's a param now

* make it work

* fix

* merge and cleanup

* remove duplicate

* should be forester

* bump submodules

* should be abs

* add missing params

* still need a test route

* still need a test route

* consitent

* here too

* todo

* more

* Update selfdrive/car/tests/routes.py

* clean up

---------

Co-authored-by: martinl <martin@mlp.ee>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2023-08-23 21:30:12 -07:00
Irene
cb342461f0 Toyota: add TODO comment for TSS-P BSM (#28396)
* Toyota: enable BSM on C-Hr

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* remove duplicate block

* Remove useless addition

* make this a comment for now

* remove extra bit

* clean up

* clean up

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 20:52:01 -07:00
Dean Lee
8b7004e68d swaglog: remove unnecessary string copy (#29164) 2023-08-23 20:10:23 -07:00
Dean Lee
95e9232963 encoder/VideoWriter: remove unnecessary call to avcodec_close (#29039) 2023-08-23 20:08:19 -07:00
Harald Schäfer
f4f8047e97 Laikad: ignore more garbage measurements (#29569)
* Laikad: ignore more garbage measurememnts

* bump laika
2023-08-23 19:48:55 -07:00
Adeeb Shihadeh
973d90be77 Subaru: Crosstrek Hybrid dashcam mode (#25378)
* Subaru: Crosstrek Hybrid support

* hybrid cars in dashcam only

* revert that

* just dashcam

* tah should be abs

* remove unused import

* use the old dbc for now

* hybrid car exceptions in carstate

* need dashstatus until we get a proper cruiseactivated bit

* missing CP

* merge conflicts

* lets be consistent about extend

* cleanup

* fix and comments

* preglobal fix

* and the rest

* and this

* added hybrid to release

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2023-08-23 18:50:55 -07:00
Dean Lee
ddd849a882 encoderd: remove unnecessary calls to encoder_close() on exit. (#28970) 2023-08-23 17:56:22 -07:00
Gellis12
a0f3b83062 Add initial fingerprint 2.0 for Nissan Leaf 2018-23 (#29505)
Initial fingerprint 2.0 for Nissan Leaf 2018-23
2023-08-23 17:46:34 -07:00
Justin Newberry
2fdde9b77d CI: switch to --cache-to type=inline for buildkit cache (#29575)
this is cleaner
2023-08-23 17:41:33 -07:00
Erich Moraga
ba1ad422d7 Toyota: add engine & fwdRadar ECU versions for 2023 Toyota Camry Hybrid (#29508)
`@Varvaras` 2023 Toyota Camry Hybrid  Dongle ID/route 3a47f2dd831feb30|2023-08-20--19-41-21
2023-08-23 17:37:38 -07:00
pencilpusher
472151b6a0 ui/map: keep the car icon aligned to its bearing (#29482)
* rotate icon with current bearing

When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.

* spacing

* comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 17:33:58 -07:00
Dean Lee
5fcb7e9038 ui/PrimeUserWidget: cleanup layout (#29492)
cleanup layout

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 16:34:18 -07:00
Dean Lee
55cca6ed26 scons: remove missing MPC headers (#29485)
* remove invalid files

* Update selfdrive/controls/lib/lateral_mpc_lib/SConscript

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 15:43:27 -07:00
Justin Newberry
2e4f8e6608 CI: Docs rebuild base image (#29566)
* docs rebuild base image

* fix order
2023-08-23 15:33:23 -07:00
Jason Wen
3b01d99d30 Hyundai longitudinal (CAN): display AEB indicator on non-FCA cars (#29484)
* Hyundai longitudinal (CAN): display AEB indicator on dashboard on non-FCA cars

* clear up comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 15:22:52 -07:00
Dean Lee
f203648de0 cpplint: add filter whitespace/semicolon (#29568) 2023-08-23 15:00:30 -07:00
Dean Lee
2c20a2b5d7 sound.h: add #pragma once (#29567) 2023-08-23 14:47:34 -07:00
Shane Smiskol
af8af3209d thermald: type annotate main thread (#29414)
* type

* stash

* Revert "stash"

This reverts commit f5e5e0d08c967d1a5d9c239e6335f8a47890b1a1.

* bug in mypy
2023-08-23 14:42:27 -07:00
Dean Lee
5480d32bb5 cpplint: add filter whitespace/parens (#29565) 2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
239d6a24be sensord: fix LSM magnetometer thermal variation (#29265)
* do set reset for every measurement cycle

* use one sensorvec

* convert from continuous to manual mode

* separate the set/reset and TM_M

* make magnetometer readings manual, set appropriate sleep

* add more sleep and check validity of values

* add magnetometer to a separate thread

* refactor

* bugfix

* each sensor in a new thread, handle generically

* bugfix

* rm global

* update cpu

* update test

* update test

* revert cereal change

* split out temp sensors

* little more

* fix

* fix

* bump cereal

* linter fixes

---------

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2023-08-23 14:21:10 -07:00
Adeeb Shihadeh
d3fb75a972 sensord: run as many sensors as possible (#29564) 2023-08-23 14:07:00 -07:00
Adeeb Shihadeh
42769345d5 sensord: lower temperature sensor freq to 2Hz (#29563) 2023-08-23 14:00:26 -07:00
Adeeb Shihadeh
e726505918 bump cereal (#29561) 2023-08-23 13:42:37 -07:00
Dean Lee
2d99521e75 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-23 13:25:17 -07:00