Commit Graph

11597 Commits

Author SHA1 Message Date
Adeeb Shihadeh 35fe5fa31b remove trailing whitespace pre-commi hook for now
old-commit-hash: c454bff2f8
2020-06-05 12:52:55 -07:00
Adeeb 16c0bc99b2 Remove common/messaging.h (#1635)
* remove common/messaging.h

* release files
old-commit-hash: 7666d99694
2020-06-05 12:46:49 -07:00
Dean Lee f7ffc61c52 pass subframes_map by refer (#1640)
old-commit-hash: 5f58307153
2020-06-05 12:42:23 -07:00
Dean Lee bbafa5a72d pass DMonitoringResult as referer (#1639)
old-commit-hash: c7ff6dd194
2020-06-05 12:42:01 -07:00
Adeeb Shihadeh f69483e094 quick LGTM fixes
old-commit-hash: 3463f1165e
2020-06-05 11:29:09 -07:00
Willem Melching ce6dd8d4e9 Model + camerad test (#1622)
* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b
2020-06-04 18:57:25 -07:00
Adeeb Shihadeh 3d848e0d9e update run_docker_tests.sh
old-commit-hash: 7db4e5bd05
2020-06-04 14:27:54 -07:00
Adeeb Shihadeh 962cdac3b1 pre-commit also handles pylint
old-commit-hash: 966e2d4154
2020-06-04 14:19:10 -07:00
Adeeb Shihadeh e60e71c6da pre-commit handles flake8 now
old-commit-hash: 355159f04a
2020-06-04 14:09:37 -07:00
Willem Melching 55c3a89421 slow down upload check when offroad (#1634)
old-commit-hash: f4e8df7ee6
2020-06-03 19:28:41 -07:00
Adeeb 9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
2020-06-03 16:13:34 -07:00
VirtuallyChris dd16cd5d56 add Rav4_TSS2 engine fw
old-commit-hash: eebdf52ff5
2020-06-03 15:18:30 -07:00
George Hotz 69678ee181 calloc an extra byte in read_file
old-commit-hash: f19d25dd8d
2020-06-03 14:22:45 -07:00
George Hotz 669977eb1f save valid_len
old-commit-hash: 4e7fe3a9ec
2020-06-03 14:18:42 -07:00
Jafar Al-Gharaibeh bbe43de357 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>
old-commit-hash: 73db079199
2020-06-03 14:01:32 -07:00
George Hotz cca6ac0599 bump cereal
old-commit-hash: c76cf53175
2020-06-03 13:51:42 -07:00
Willem Melching dbdbef72d6 vehicle model types (#1631)
old-commit-hash: 2400417084
2020-06-03 13:47:47 -07:00
Adeeb d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4
2020-06-03 12:54:49 -07:00
Willem Melching e6cf5883b1 update rednose
old-commit-hash: 2144154c32
2020-06-03 12:12:37 -07:00
George Hotz 710710364d fetch image from route script
old-commit-hash: d1d2984f36
2020-06-03 11:32:51 -07:00
Willem Melching db4a918c2a Bounds checks on liveParameters for testing on desk
old-commit-hash: 0f20ac728f
2020-06-03 11:31:12 -07:00
Willem Melching c8d5b49a44 Paramsd can now be killed normally
old-commit-hash: e3ffdf3647
2020-06-03 11:11:06 -07:00
Willem Melching adc846c1fd run deleter when offroad
old-commit-hash: 6e0bb25ab4
2020-06-02 17:39:58 -07:00
Willem Melching ad66386877 locationd profiling (#1625)
old-commit-hash: 66455b075d
2020-06-02 17:32:55 -07:00
Adeeb 8c0971086b Fix speed too low (#1627)
* fix speed too low

* bump ref

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

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh a03da046c3 clean up release files
old-commit-hash: 676d0901e5
2020-06-02 15:41:41 -07:00
Willem Melching 2deddf76c7 bump opendbc + rednose
old-commit-hash: 8fa6846c75
2020-06-02 15:21:26 -07:00
Willem Melching 3ac6adc393 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
old-commit-hash: b042ac034e
2020-06-01 18:57:04 -07:00
Harald Schafer 8dbb5baa5a new laika
old-commit-hash: 73b6eb4829
2020-06-01 18:45:56 -07:00
VirtuallyChris ed4709c1d2 Add Putty key
old-commit-hash: 68040408da
2020-06-01 18:35:28 -07:00
Willem Melching f9036398e8 ui.cc: read_db_value is not null terminated
old-commit-hash: 884b327374
2020-06-01 16:41:04 -07:00
Willem Melching a749ebb1c4 speedTooHigh should not be an immediate disable
old-commit-hash: 205cb04ee9
2020-06-01 15:53:41 -07:00
Willem Melching 2bc6a34ee5 fix flake8 error in honda carstate
old-commit-hash: 0a5bb88ca2
2020-06-01 15:28:47 -07:00
Willem Melching b9183cd05c bump opendbc with hrv gas signal
old-commit-hash: 5b8f025fb0
2020-06-01 15:28:34 -07:00
cowanhmoore 81d0cdfcec HRV fix gas pedal signal (#1582)
Seperate CAR.HRV from CAR.FIT
HRV used GAS_PEDAL, not GAS_PEDAL_2 for FIT
old-commit-hash: afaa2b917c
2020-06-01 15:26:47 -07:00
Willem Melching 650ee4c0de remove unused line in nissan carstate
old-commit-hash: fa7d8f6e1b
2020-06-01 14:39:06 -07:00
Willem Melching cdf653b566 bump opendbc
old-commit-hash: 7316872607
2020-06-01 14:38:55 -07:00
Andre Volmensky 6ad040fda7 Nissan mph bit (#1609)
* Added MPH bit for Rogue/XTrail

* Init seatbeltUnlatched as True
old-commit-hash: 843b2940c5
2020-06-01 14:38:20 -07:00
Dean Lee 32fa3e26be Template version of read_param (#1593)
old-commit-hash: c9dbaf821c
2020-06-01 14:30:53 -07:00
Willem Melching e738ab6f04 longitudinal test should broadcast liveLocationKalman
old-commit-hash: d00cdf1e0c
2020-06-01 14:24:48 -07:00
Dean Lee dbc8ca1d26 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
old-commit-hash: cdb48cc180
2020-06-01 14:00:43 -07:00
Willem Melching 3e630fce60 Make driverview not pin two cores at 100%
old-commit-hash: fab8425f2f
2020-06-01 13:58:54 -07:00
Willem Melching 24f4b9753f bump cereal
old-commit-hash: a2ca743f66
2020-06-01 13:47:17 -07:00
Willem Melching 6f09d990af paramsd output at 20 Hz instead of 100 Hz
old-commit-hash: a108e7f211
2020-06-01 13:47:17 -07:00
Harald Schafer 96c280aa94 better name
old-commit-hash: 56e155d41c
2020-06-01 12:09:09 -07:00
Willem Melching 3df1a2c681 Fix low speed engage on stop and go Hondas (#1613)
* fix low speed engage on stop and go Hondas

* update ref commit
old-commit-hash: f575a9ec12
2020-06-01 10:14:11 -07:00
Jafar Al-Gharaibeh 80a6d76ce5 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>
old-commit-hash: 41fbce5906
2020-06-01 02:04:47 -07:00
Adeeb Shihadeh 03c271ebeb bump opendbc
old-commit-hash: 3e3656e62b
2020-06-01 02:03:24 -07:00