Commit Graph

1074 Commits

Author SHA1 Message Date
Willem Melching f4e8df7ee6 slow down upload check when offroad (#1634) 2020-06-03 19:28:41 -07:00
Adeeb 367155168a Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
2020-06-03 16:13:34 -07:00
VirtuallyChris eebdf52ff5 add Rav4_TSS2 engine fw 2020-06-03 15:18:30 -07:00
George Hotz f19d25dd8d calloc an extra byte in read_file 2020-06-03 14:22:45 -07:00
George Hotz 4e7fe3a9ec save valid_len 2020-06-03 14:18:42 -07:00
Jafar Al-Gharaibeh 73db079199 Fix rounding of minSteerSpeed in events (#1620)
I thought I was missing a rounding in Mazda code, but it turned
out to be a missing rounding after the recent event refactoring

Python3 interpreter:
>>> print(" %d  %d" % (1.6,1.4))
 1  1
>>> print(" %d  %d" % (round(1.6),round(1.4)))
 2  1
>>> print(" %d  %d" % (int(round(1.6)),round(1.4)))
 2  1
>>> print(" %d  %d" % (int(round(1.6)),int(round(1.4))))
 2  1

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-06-03 14:01:32 -07:00
George Hotz c76cf53175 bump cereal 2020-06-03 13:51:42 -07:00
Willem Melching 2400417084 vehicle model types (#1631) 2020-06-03 13:47:47 -07:00
Adeeb ab83e48ec4 Add pre-commit hooks (#1629) 2020-06-03 12:54:49 -07:00
Willem Melching 2144154c32 update rednose 2020-06-03 12:12:37 -07:00
George Hotz d1d2984f36 fetch image from route script 2020-06-03 11:32:51 -07:00
Willem Melching 0f20ac728f Bounds checks on liveParameters for testing on desk 2020-06-03 11:31:12 -07:00
Willem Melching e3ffdf3647 Paramsd can now be killed normally 2020-06-03 11:11:06 -07:00
Willem Melching 6e0bb25ab4 run deleter when offroad 2020-06-02 17:39:58 -07:00
Willem Melching 66455b075d locationd profiling (#1625) 2020-06-02 17:32:55 -07:00
Adeeb 165bcf1f31 Fix speed too low (#1627)
* fix speed too low

* bump ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-06-02 17:31:59 -07:00
Willem Melching 60620fe773 bump submodules 2020-06-02 16:29:50 -07:00
Willem Melching 843a64c72f Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh 676d0901e5 clean up release files 2020-06-02 15:41:41 -07:00
Willem Melching 8fa6846c75 bump opendbc + rednose 2020-06-02 15:21:26 -07:00
Willem Melching b042ac034e Turn Jenkins CPU test back on (#1617)
* run cpu test again

* Update cpu values

* Locationd can be more too

* Give some updater allowance

* Just remove updated
2020-06-01 18:57:04 -07:00
Harald Schafer 73b6eb4829 new laika 2020-06-01 18:45:56 -07:00
VirtuallyChris 68040408da Add Putty key 2020-06-01 18:35:28 -07:00
Willem Melching 884b327374 ui.cc: read_db_value is not null terminated 2020-06-01 16:41:04 -07:00
Willem Melching 205cb04ee9 speedTooHigh should not be an immediate disable 2020-06-01 15:53:41 -07:00
Willem Melching 0a5bb88ca2 fix flake8 error in honda carstate 2020-06-01 15:28:47 -07:00
Willem Melching 5b8f025fb0 bump opendbc with hrv gas signal 2020-06-01 15:28:34 -07:00
cowanhmoore afaa2b917c HRV fix gas pedal signal (#1582)
Seperate CAR.HRV from CAR.FIT
HRV used GAS_PEDAL, not GAS_PEDAL_2 for FIT
2020-06-01 15:26:47 -07:00
Willem Melching fa7d8f6e1b remove unused line in nissan carstate 2020-06-01 14:39:06 -07:00
Willem Melching 7316872607 bump opendbc 2020-06-01 14:38:55 -07:00
Andre Volmensky 843b2940c5 Nissan mph bit (#1609)
* Added MPH bit for Rogue/XTrail

* Init seatbeltUnlatched as True
2020-06-01 14:38:20 -07:00
Dean Lee c9dbaf821c Template version of read_param (#1593) 2020-06-01 14:30:53 -07:00
Willem Melching d00cdf1e0c longitudinal test should broadcast liveLocationKalman 2020-06-01 14:24:48 -07:00
Dean Lee cdb48cc180 dmonitoring : use memory cache to avoid malloc/free on every frame (#1599)
* use memory cache

* use template function to return buffer

* inline function

* const size_t

* use std::vector instead of kj::array
2020-06-01 14:00:43 -07:00
Willem Melching fab8425f2f Make driverview not pin two cores at 100% 2020-06-01 13:58:54 -07:00
Willem Melching a2ca743f66 bump cereal 2020-06-01 13:47:17 -07:00
Willem Melching a108e7f211 paramsd output at 20 Hz instead of 100 Hz 2020-06-01 13:47:17 -07:00
Harald Schafer 56e155d41c better name 2020-06-01 12:09:09 -07:00
Willem Melching f575a9ec12 Fix low speed engage on stop and go Hondas (#1613)
* fix low speed engage on stop and go Hondas

* update ref commit
2020-06-01 10:14:11 -07:00
Jafar Al-Gharaibeh 41fbce5906 Mazda: Slower rate for ACC cancel msg to avoid cruise disable (#1615)
* Slower rate for ACC cancel msg to avoid cruise disable

 Sending ACC cancel message at 10hz may end up disabling
main cruise state. That is because stoc ACC use the same
signal for both functions. If cruise is already enabled
the signal canceles it, otherwise cruise is disabled.
10hz seems to be still fast in some cases not allowing
the state to sync up between OP and the Stock state.
5hz avoids that issue. Also, the resume message was also
updated to 5hz as that seems to work better as well.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Round up 27.96 to 28mph

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-06-01 02:04:47 -07:00
Adeeb Shihadeh 3e3656e62b bump opendbc 2020-06-01 02:03:24 -07:00
Adeeb Shihadeh 5b431d41a8 bump cereal 2020-06-01 01:55:56 -07:00
Adeeb Shihadeh cc7bc6785f bump panda 2020-06-01 01:49:55 -07:00
Adeeb Shihadeh 5aad365fc0 bump submodules 2020-05-31 18:18:59 -07:00
Adeeb Shihadeh 6466ec982a enable flake8 E502: backslash is redundant between brackets 2020-05-31 17:41:18 -07:00
Adeeb Shihadeh ebed2d1dcc enable flake8 E251: unexpected spaces around keyword / parameter equals 2020-05-31 17:34:47 -07:00
Adeeb Shihadeh f3dcf861c7 enable flake8 E303: too many blank lines 2020-05-31 17:21:11 -07:00
Adeeb Shihadeh b86460c28e bump again 2020-05-31 14:44:42 -07:00
Willem Melching 35663f2fbc bump submodules 2020-05-31 14:37:10 -07:00
Adeeb Shihadeh 27754a277c enable E261 in flake8: two spaces before inline comment 2020-05-31 14:07:29 -07:00