Erich Moraga
53d7a9b2e1
Add CAR.RAV4H_TSS2 ESP f/w ( #2213 )
...
@kranzler#5198 2020 RAV4 Hybrid DongleID 9f13dd7cadc3591e
https://discord.com/channels/469524606043160576/524327905937850394/757632175318368316
old-commit-hash: 170d19a2e12af0cfcc0b0df85d6284da4ceaa6b1
2020-09-21 10:15:38 -07:00
Dean Lee
a7c8adcdbe
read bool param with read_db_bool ( #2205 )
...
* read bool param with read_db_bool
* Update selfdrive/loggerd/loggerd.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 0e5a5efffce15cc507d8104aceb58c132689d7c8
2020-09-21 18:17:35 +02:00
Willem Melching
8ee4ac45fe
tici: BMX055 magnetometer& temperature sensor ( #2212 )
...
* BMX055 Magnetometer support
* add temp sensor
old-commit-hash: f55e79e46aa03023b2dc6c5ab8cefb74bbd438a5
2020-09-21 17:33:36 +02:00
Comma Device
4f622a1dbb
Fix makefiles after read_file() helper
...
old-commit-hash: 4be0e23ca588f110056917863a725f164996ca49
2020-09-21 08:03:36 -07:00
Dean Lee
ef8b6d20fb
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
old-commit-hash: 64762070097884de48b7168ec337a96e3f03a07a
2020-09-21 16:10:38 +02:00
Dean Lee
0392ecd4ca
touch.c:deleting useless function ( #2208 )
...
old-commit-hash: 58e5223aba4a16db42c1937f478ec7d54e28813b
2020-09-21 11:43:54 +02:00
qadmus
c613f8dfcc
cleanup long planner, mpc: unused globals and arguments ( #2211 )
...
Co-authored-by: user <email@web.com >
old-commit-hash: 72e0ac2de1087760822b8a552c569ab3a859e2a5
2020-09-21 11:43:28 +02:00
Willem Melching
2b95a9fec2
Revert "tici: take into account frame timestamp ( #2199 )"
...
This reverts commit 58dc2982af6593d7a31464342d80190fa365287e.
old-commit-hash: 65e5032a97cba8c294e0763eeaaa430d4803a4d6
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh
58f07d754c
add type hints to selfdrive/version.py
...
old-commit-hash: 0040ac987aa4e836744abc5f541c1aeeda17edf5
2020-09-19 14:55:27 -07:00
Adeeb Shihadeh
864f32ce1b
quick lgtm fixes
...
old-commit-hash: 4acc82604d456dc5280e62f946f3fdd1e0ce5810
2020-09-19 12:53:36 -07:00
Adeeb Shihadeh
69c45af274
alertmanager type hints ( #2201 )
...
* alertmanager types
* clean that up
* more cleanup
* little more
* space
old-commit-hash: 15e4048318c2bf2e3e064c3f1e7e288edb9f902c
2020-09-19 10:53:14 -07:00
VirtuallyChris
c95b35f5cd
2019 C-HR fw
...
old-commit-hash: 6da22dd4b652716ee98ee4e96010f5451f5e2a50
2020-09-18 18:43:21 -07:00
Adeeb Shihadeh
98135d4482
tici: set volume at 90%
...
old-commit-hash: 002e0065cb7a57b03eddc346ef6986de1be0532c
2020-09-18 14:54:12 -07:00
ZwX1616
e8cbf6cf11
revert tici ui rotate
...
old-commit-hash: b3fad609d9886e55696529290acdc70263e59fff
2020-09-18 14:12:03 -07:00
ZwX1616
6045fd3b1c
tici camera art ( #2188 )
...
* nerf highlights
* prioritize less noise
* no overhead
* make focus easier
* cant finetune under high gain
* add some comments
* inspired by xx mindset
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 911206fc414904962f0543e605c9ee70945c70ff
2020-09-18 11:43:41 -07:00
Willem Melching
5d817c4f46
tici: take into account frame timestamp ( #2199 )
...
* compensate for frame processing time
* add rolling shutter time
* Add max frame delay of 250ms
* only delay on tici
old-commit-hash: 3a494e144bd85166fe347cf3c0b8bfbf22d8e462
2020-09-18 17:42:29 +02:00
Willem Melching
5ebb082216
Only run rtshield when onroad
...
old-commit-hash: 39fc171f91238c969d815541a371013267ffe92a
2020-09-18 13:48:58 +02:00
Willem Melching
c26ae3dcb5
Get power usage from current sensor ( #2192 )
...
old-commit-hash: 73a2067be33ba3a6737a8817c3a3b6ffd0e542d9
2020-09-18 12:25:55 +02:00
Adeeb Shihadeh
8221c26fab
type hints for alerts and fix community feature alert ( #2196 )
...
* fix startup alert for community features
* type hints for alerts
* more type hints
* fix dashcam only alerts
* more type hints
old-commit-hash: a81a18205e85ac576a5cf5e330e3f7b99fcb4152
2020-09-17 22:06:31 -07:00
Adeeb Shihadeh
806d0961d7
promote hyundai palisade to offically supported ( #2195 )
...
old-commit-hash: b5466002ad33ba5f6ccde64713c4ae2daf282332
2020-09-17 21:35:30 -07:00
Adeeb Shihadeh
86bb0caf66
Realtime shield ( #2194 )
...
* cpu 3 shield
* set priority before affinity
* add to release files
* only run on android
old-commit-hash: b341fdc6444b7dee5c949a67584ed1ab7145b91f
2020-09-17 15:49:14 -07:00
Adeeb Shihadeh
241ed1b312
these should be debug logs
...
old-commit-hash: 92922ce2ae0814670d69cdcd460fb6c13d2b7ba2
2020-09-17 13:14:18 -07:00
Willem Melching
3ff821f18c
tici: offroad ui powersave ( #2191 )
...
* ui powersaving
* Lower brightness even more
old-commit-hash: 9330070bb5b4afd424841cd97c3c9bf5cb8d33fb
2020-09-17 15:50:09 +02:00
Adeeb Shihadeh
2f8213f997
rt debug scripts ( #2165 )
...
* rt debug scripts
* bigger buffer
* cleanup
* move to internal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ebab66062248012fe6c1a25a6d789297849cb868
2020-09-16 17:42:37 -07:00
Comma Device
c6cfa6e30f
fix tici ui lag
...
old-commit-hash: 45c58f561aa516da55b4e6371c32e675193ee164
2020-09-17 00:13:54 +00:00
VirtuallyChris
5d6caa2b2c
Add 2020 Highlander and Ridgeline fw
...
old-commit-hash: 2163b1e1df5d2779a0f3061b29f180eb9f413974
2020-09-16 17:01:30 -07:00
Adeeb Shihadeh
7bd98df410
add android procs to cpu usage sript
...
old-commit-hash: 33ad9d67eafa13f1c608368136a37e0a08a5bb68
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
bdf52941c8
Improve realtime performance on NEOS ( #2166 )
...
* fix setting core affinity
* dmonitoringd doesn't need rt priority
* android only gets two cores
* model and planner get core 2
* log missed cycle count
* neos update
* prod image
* revert NEOS changes
* still need this
old-commit-hash: ef21b83937d25b824018ac1d07fa7759ae6f8128
2020-09-16 15:33:12 -07:00
Erich Moraga
19c4951157
Add CAR.LEXUS_RX various missing firmware ( #2189 )
...
@fire#7210 2018 RX350L DongleID/route 45b442be1779b307|2020-09-15--12-04-24
old-commit-hash: 60d5cb2be598c9ca81b5133843afe12bb44433a6
2020-09-16 14:15:23 -07:00
Erich Moraga
be7fd552a1
Add firmwares for CAR.COROLLA_TSS2 ( #2185 )
...
jun Jin#6444 2019 Malaysian Corolla sedan w/ TSS2
DongleID/route 7bc774bc8e17fd8a|2020-09-16--14-28-46
https://discord.com/channels/469524606043160576/524327905937850394/755781555779010630
old-commit-hash: fd3cc05149c3c35e367b46c059269a45c723244f
2020-09-16 13:35:59 -07:00
Dean Lee
e663ec864a
remove unused submaster ( #2187 )
...
old-commit-hash: 8f45685c916cbc9e8c873844504e089a83d6dcf3
2020-09-16 11:11:07 -07:00
Willem Melching
291d150a3c
hub is handled by systemd gpio service ( #2172 )
...
old-commit-hash: 855f52c3e0c8fc732d472a888eb2c5dff466c6e6
2020-09-16 17:58:46 +02:00
Willem Melching
47b5b1516d
tici: fix ui rotation ( #2184 )
...
* rotate ui 90 degree
* put rotation behind ifdef
* Also ifdef that
* ui intrinsic_matrix
* that doesnt do anything
* Keep parent on non qcom
old-commit-hash: 9bbb1663033776918a33846879bad0b22c33d2fc
2020-09-16 17:46:08 +02:00
Shane Smiskol
0840445e0b
Update 17 Corolla safetyParam ( #2175 )
...
old-commit-hash: 23b38a878bf9b1769b06853cde71dab201edebef
2020-09-16 11:40:19 +02:00
HaraldSchafer
805a86b0dd
only do reset if already calibrated ( #2176 )
...
old-commit-hash: 0b849d5a4e417d73e4b821b909839f379d70e75d
2020-09-15 07:44:13 -07:00
Adeeb Shihadeh
0caedb9195
bump max vision clients for tici
...
old-commit-hash: 0604f194b3d904e4e21b8ce545ccff408e90faba
2020-09-14 21:29:46 -07:00
Comma Device
d1c9b43931
fix tbuffer img tearing
...
old-commit-hash: c9183c11bd583da81aa769d9b9ddaaecd86f6d56
2020-09-15 03:32:29 +00:00
Adeeb Shihadeh
64b92f49da
fix stretched UI on pc
...
old-commit-hash: 16f40e6ff3f19af9d6d9c68fafbf142f5eb61271
2020-09-14 19:07:14 -07:00
ZwX1616
fb77feccd8
improve tici camerad robustness ( #2135 )
...
* equalize performance on three threads
* need to request first
* clean up indexing
* obsolete
* handling skips and drops
* clean up repeated chunks
* use main frame id
* oneshot
* real skip check
* move to test
* should be cropped H here
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 13588e4255e3667459bc5b23068dbccd2fab2a39
2020-09-14 16:05:57 -07:00
Comma Device
23d0571312
need to free tici DSP asap
...
old-commit-hash: 3801374da98197f375e28e73ead0a227389c4256
2020-09-14 22:03:13 +00:00
ZwX1616
6f3c2fba6e
Cut down unnecessary DM uncertain alerts ( #2157 )
...
* cut down high std alerts
* clean comments
* uncertain curve tune
* update test gt
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: a2adfdb155f2293d9a2e7be11e81af8c020f011b
2020-09-14 10:43:19 -07:00
HaraldSchafer
d36675e618
Auto reset bad calibration ( #2151 )
...
* initial commit
* thanks pylint
* smoooooth
* cleanup
* cleaner
* switched
* always decay weight
old-commit-hash: df99316621ae51870a92fdc767ec4651261b7314
2020-09-14 04:02:58 -07:00
Dean Lee
ef811e1105
use MessageBuilder::toBytes ( #2167 )
...
old-commit-hash: 272f60221c45cc543660a5e491cb800182c8b8f2
2020-09-14 01:17:00 -07:00
Adeeb Shihadeh
218c3d3de7
send initial calibration packet immediately
...
old-commit-hash: 74801bd216601df2ff38d853787139337a375c3c
2020-09-13 13:54:14 -07:00
Dean Lee
7cee5aae63
more messagebuilder ( #2162 )
...
* more messagebuilder
* little more
* revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 9fa56b4eab62b5d793e6c6d714c9dbab47bb3f0a
2020-09-13 13:00:06 -07:00
Adeeb Shihadeh
bc5a293de9
set canValid for mock car
...
old-commit-hash: ea06941d4d023b82eae8f9d342f972c4744353a1
2020-09-13 11:32:37 -07:00
Adeeb Shihadeh
ac3422fc0f
message builder ( #2161 )
...
* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com >
old-commit-hash: 4d5733924a2fdd8a3bbaf5f48869ac744b983401
2020-09-12 21:48:15 -07:00
Dean Lee
2baf5c7356
UI: simplify layout calculation ( #2131 )
...
* add Rect struct
* simplify layout calculation by using viz_rect
* fix
* add whitespace
* use the correct value for vwp_w
* correct vwp_w again
* rebase
* dd
old-commit-hash: 8417be6f40a0b1ee92524da7c1bd4e114cd32674
2020-09-12 18:35:36 -07:00
Adeeb Shihadeh
3372b5e878
tici driver monitoring ( #2158 )
...
* use cpu for now on tici
* pin to core 5
* fix driver view
* probably wrong
* correct this time
* RHD too
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: fdbfe5292797c5638855fb947ebc5f4eb161353c
2020-09-12 17:50:22 -07:00
Adeeb Shihadeh
6dbfe6fb9e
prevent reversing alert from showing while changing gears
...
old-commit-hash: a4a4e28c1a9948297d36f562aad6343294380d47
2020-09-12 17:21:30 -07:00