Commit Graph

364 Commits

Author SHA1 Message Date
George Hotz
8db0993663 tici: add (somewhat) broken camerad support (#1300)
* capnparm

* building in progress

* scons build works

* that script fixes opencl

* start new camera code

* includes and more camera scripts

* control c works now

* no device control yet

* phy too

* just one camera for now

* fix capnparm

* hmm, the inits are needed

* more cameras

* link stop start

* doesn't work yet

* fix ion on qcom2

* start poll ish

* 4 pictures and done

* no jpeg

* it works to picture

* destroy sync obj

* both work for now

* defined QCOM2

* fix fd leak

* run modeld

* 10 bit mode

* real frame stride

* needs digital gain

* dnew

* no color correcting on new

* that snpe doesn't work

* qcom2 gate

* cleanups

* oops, fix aarch64 detector

* update cereal

* modeld works with SNPE

* fix driver monitoring model

Co-authored-by: Tici <robbe@comma.ai>
2020-03-31 16:34:55 -07:00
Willem Melching
746f7ed9b1 2020 Chrysler Pacifica (#1297)
* 2020 pacifica support

* Update readme
2020-03-31 15:47:49 -07:00
Willem Melching
c495b2d9be Tombstone add exception handler 2020-03-31 14:47:46 -07:00
Willem Melching
ca2d9af954 Fix comment 2020-03-31 14:43:53 -07:00
Willem Melching
d8d2d568dc Simplify tombstoned, should fix #1258 2020-03-31 14:41:55 -07:00
eFini
106be23c4e use put_nonblocking when possible (#1288)
* use put_nonblocking when possible

* revert uneeded changes
2020-03-31 12:09:38 -07:00
Willem Melching
3cb1568a54 High speed alert (#1295)
* add speed to high alerts

* Add permanent alert

* Two lines

* No permanent alerts

* Less bad alert

* Typo
2020-03-30 18:41:56 -07:00
vetmiker
e0ba222336 Smooth out Sienna tuning (#1292)
Current Sienna tuning leads to pretty significant bouncing and oversteering, this change fixes it. Thanks to @Jax for finding some great values and checking with a Toyota mechanic on the real steer ratio for Siennas!
2020-03-30 16:19:24 -07:00
eFini
4311550293 only run system() command when vol has changed (#1148)
* only run system command when vol has changed

* fix indent
2020-03-30 14:41:17 -07:00
George Hotz
6e5a2d404b Preparing for the efficientnet (#1255)
* snpe version 1.35.0.698

* fix files common for new snpe

* efficient net with normal names

* compiling with 1.32 works

* actual snpe files

* fix monitoring, delete unneeded

* point the symlinks to the right places

* err, modeld needs the CPU

* benchmark for 50 its

* put back old model for now

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: George Hotz <geohot@gmail.com>
2020-03-30 14:20:51 -07:00
Willem Melching
b721b8521f Remove duplicate firmware versions from CIVIC_BOSCH 2020-03-30 12:42:15 -07:00
Willem Melching
003c236fa2 Add CIVIC_BOSCH fw versions 2020-03-30 12:39:21 -07:00
Willem Melching
8abc0afe46 Bump version to 0.7.5 2020-03-30 12:33:25 -07:00
Willem Melching
3dad97a211 One more BaseException in test_uploader.py 2020-03-30 12:30:21 -07:00
Greg Hogan
13ec384ea0 uploader: allow ctrl+c 2020-03-30 12:27:39 -07:00
yufeng66
ba1e79d0ea update rav4h_tss2 tune (#1260)
* update rav4h_tss2 tune

reduce pid gains for rav4h_tss2 to reduce ping pong at local speed and big turn

* update tuning for rav4_tss2 in additional to rav4h_tss2
2020-03-30 11:59:01 -07:00
Andre Volmensky
9c16ad8e18 Nissan set speed (#1289)
* LKA_ACTIVE should be set with enabled, not cruiseState.enabled. Was causing panda violations

* Added cruiseState.speed to Nissan X-Trail

* Bump opendbc

* Remove redundant if statement

* Fix tests

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-29 15:28:06 -07:00
Willem Melching
46ae7f0369 update ref 2020-03-29 14:53:51 -07:00
BRose98
daba092038 Removed self-assignments (#1283)
* Removed self-assignments

* pulled master version of changed cubmodules

* Corrected the submodules

Co-authored-by: BRose98 <b.roseboom@students.uu.nl>
2020-03-29 12:31:27 -07:00
Arne Schwarck
3db63b781d Do we still need this? (#1290)
Tesla is not supported so do we still need this here as VW uses 840 in their FP
2020-03-29 12:25:15 -07:00
Willem Melching
fca82ba503 add nissan to test_processes 2020-03-27 21:54:40 -07:00
Willem Melching
1df6b67511 Nissan leaf (#1275)
* split out leaf and xtrail

* Add brake pedal

* This should work

* Fix test car models + bump panda

* Combined cruise enabled detection in single message

* Proper frequency checks

* Add doors

* Blinkers and doors

* Seatbelt

* Gear

* Add cancel message

* Unify steering pressed

* Remove angle limit

* Add steer saturation alert for angle based control

* Add set speed

* Change wheel speed factor

* Fix offset in set speed

* Timeout on engage for steer saturated

* Put counter back

* try cancel using seatbelt

* Try different cancel message

* Rename cancel signal

* Add LKAS alert

* Add missing fingerprint values

* Update test car models

* Add some comments
2020-03-27 21:44:59 -07:00
Harald Schafer
6766776e73 reformat for sim 2020-03-27 17:02:40 -07:00
ZwX1616
2992806235 move changes to PR 2020-03-27 11:54:34 -07:00
ZwX1616
4bcfe54efd cleanups 2020-03-27 11:44:06 -07:00
eFini
47f17622d9 paint.cc uses color defined in ui.hpp (#1261)
* pain.cc uses color defined in ui.hpp

* use macro
2020-03-27 11:00:42 -07:00
DeanLee
993b0e9427 repace nvgFontFace with nvgFontFaceId (#1279) 2020-03-27 11:00:07 -07:00
George Hotz
2ecddbb3b6 Move all non Honda+Toyota to community supported (#1280)
* readme update, still need the gates on the cars themselves

* add community feature gating to other car ports

* promotion note

* from the brand

* readme touchups

* sell the harness

* full ISO

* update ref

Co-authored-by: George Hotz <geohot@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-27 10:59:07 -07:00
Andy
54f34abdb3 Replace usages of datetime.now() with datetime.utcnow() (#1267) 2020-03-26 19:49:58 -07:00
ZwX1616
a95e61edf4 add webcam to cameras (#1201) 2020-03-26 19:19:47 -07:00
Willem Melching
4e4bea8525 Add pedal msgs to 2019 ridgeline 2020-03-26 19:08:34 -07:00
vanillagorillaa
9e6d691616 2020 Ridgeline FW Versions (#1277)
* 2020 Ridgeline FW Versions

* add missing camera fw

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-26 19:04:26 -07:00
rming
133ee25e3e Honda Accord 2018 1.5t FP (#1274) 2020-03-26 18:16:38 -07:00
Harald Schafer
34f2c0da75 longitudinal e2e mpc 2020-03-26 17:43:11 -07:00
Harald Schafer
d02f55ae0b add long_x 2020-03-26 17:40:12 -07:00
Harald Schafer
adac0135b3 this wasnt the issue 2020-03-26 17:25:21 -07:00
Harald Schafer
16c84074f2 lane comp 2020-03-26 14:01:36 -07:00
HaraldSchafer
5f8e3b4d93 New lane planner (#1276)
* better lane planner

* works well on test

* needs speed now

* update ref
2020-03-25 16:57:58 -07:00
Willem Melching
82fb752e3c Nissan cleanup (#1273)
* nissan cleanup

* Fix typos

* Remove print statements

* Remove leaf fingerprint
2020-03-25 10:42:43 -07:00
Willem Melching
60431802ba run carcontrollers multiple times 2020-03-24 16:04:42 -07:00
Harald Schafer
cc5b9b32bf better nothing than wrong 2020-03-24 11:01:41 -07:00
Willem Melching
bb1557f8de Paramsd tuning 2020-03-24 09:40:14 -07:00
Harald Schafer
82f316732a correctness is expensive 2020-03-23 18:02:59 -07:00
robbederks
905f6b1b77 Power monitoring fix (#1269)
* Release lock after exceptions

* No pulsed measurement on uno

* Fix last_measurement_time=None while integrating when going offroad

* Also clear next pulsed measurement time

* Move around locks

* Locks are good now?
2020-03-23 18:02:53 -07:00
Willem Melching
a24d08e569 paramsd improvements from branch 2020-03-23 16:57:05 -07:00
George Hotz
f0779d86e4 fix offroad processing events in bg (#1266)
* fix offroad processing events in bg

* first run of ui

* actually, we don't need that at all

Co-authored-by: Comma Device <device@comma.ai>
2020-03-23 14:16:51 -07:00
Willem Melching
e074b4fbe8 fix test ref 2020-03-23 14:16:32 -07:00
Comma Device
50d2dc24d2 fix multiline strings in ui_draw_sidebar_metric 2020-03-23 20:11:48 +00:00
Arne Schwarck
38d9b06c83 @Wei Prius FP (#1264)
dongle_id = 68f0cfd614f0ddf7
2020-03-23 09:53:37 -07:00
Arne Schwarck
00362f0997 TOYOTA HIGHLANDER 2017 FP (#1250)
car doesn't match any fingerprints: {0: {426: 6, 550: 8, 119: 6, 355: 5, 608: 8, 1568: 8, 552: 4, 610: 5, 120: 4, 1192: 8, 186: 4, 464: 8, 725: 2, 544: 4, 36: 8, 37: 8, 740: 5, 466: 8, 170: 8, 800: 8, 562: 6, 452: 8, 180: 8, 705: 8, 1561: 8, 467: 8, 114: 5, 1182: 8, 916: 3, 1198: 8, 845: 5, 1017: 8, 1178: 8, 1191: 8}, 1: {528: 8, 529: 8, 530: 8, 531: 8, 532: 8, 533: 8, 534: 8, 535: 8}, 2: {426: 6, 550: 8, 119: 6, 355: 5, 608: 8, 1568: 8, 552: 4, 610: 5, 120: 4, 1192: 8, 186: 4, 464: 8, 725: 2, 544: 4, 36: 8, 37: 8, 740: 5, 466: 8, 170: 8, 800: 8, 562: 6, 452: 8, 180: 8, 705: 8, 1561: 8, 467: 8, 114: 5, 1182: 8, 916: 3, 1198: 8, 845: 5, 1017: 8, 1178: 8, 1191: 8}, 3: {}}

car doesn't match any fw: [<car.capnp:CarParams.CarFw builder (ecu = engine, fwVersion = "\x01896630E09000\x00\x00\x00\x00", address = 1792, subAddress = 0)>, <car.capnp:CarParams.CarFw builder (ecu = eps, fwVersion = "8965B48210\x00\x00\x00\x00\x00\x00", address = 1953, subAddress = 0)>, <car.capnp:CarParams.CarFw builder (ecu = fwdRadar, fwVersion = "8821F4702300\x00\x00\x00\x00", address = 1872, subAddress = 15)>, <car.capnp:CarParams.CarFw builder (ecu = fwdCamera, fwVersion = "8646F0E01200\x00\x00\x00\x00", address = 1872, subAddress = 109)>]

Sadly I do not have a dongle ID for some reason.
2020-03-23 09:52:14 -07:00