Commit Graph

1653 Commits

Author SHA1 Message Date
Willem Melching d0f60029cb Remove slow down for turns (#1647)
* Remove slow down for turns

* update ref
old-commit-hash: 15dc6044d44e7f85293cb9b0187c7d2a51a84c55
2020-06-05 16:01:53 -07:00
dependabot-preview[bot] 2870f8d1d6 Create Dependabot config file (#1648)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
old-commit-hash: 8c346dfae56e839d11a45b38ca8049556bc4ae38
2020-06-05 15:55:17 -07:00
Dean Lee 92b5c00d0e ui.cc: remove variables from UIScene, use event::Reader to get data (#1585)
* use struct to store lead status

* remove white space

* use RadarState::LeadData::Reader

* use reader to get thermal data

* use reader

* continue

* remove variables

reset submodules,fix some errors

reset submodules

revert

* remove s->scene.gps_planner_active

* modify

* cleanup

* done

* resolve conflict

* remove irrelevant comment

* remove white space
old-commit-hash: d720f28ecb35c06a5ffb6004e79d82c80707fcde
2020-06-05 15:33:45 -07:00
Willem Melching 5c30b96932 boardd: no conflate on sendcan (#1645)
old-commit-hash: 19512315ffc6db82b06b5b8f688ee09656a620e4
2020-06-05 14:20:52 -07:00
Jason Young ebed52527b Reduce scheduler latency for realtime processes (#1638)
* WIP: reduce boardd and other lags

* Copypasta fault

* Silence spurious startup warning

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 68531b071cde6fa5856d9b68bed63ecb50e03c2a
2020-06-05 17:09:41 -04:00
Willem Melching b831619ec6 use pipenv for dev dependencies
old-commit-hash: 72cc0fc801fc4df60cc23e6818580a91e76f4f18
2020-06-05 14:03:54 -07:00
Adeeb Shihadeh 35fe5fa31b remove trailing whitespace pre-commi hook for now
old-commit-hash: c454bff2f842dce9f66bae60e93ad68d0cc392e6
2020-06-05 12:52:55 -07:00
Adeeb 16c0bc99b2 Remove common/messaging.h (#1635)
* remove common/messaging.h

* release files
old-commit-hash: 7666d99694615f0a4a960e0b739018c4628ffa50
2020-06-05 12:46:49 -07:00
Dean Lee f7ffc61c52 pass subframes_map by refer (#1640)
old-commit-hash: 5f58307153cd018a6c5e3a8da9416a6749cbabea
2020-06-05 12:42:23 -07:00
Dean Lee bbafa5a72d pass DMonitoringResult as referer (#1639)
old-commit-hash: c7ff6dd194b48629dbd05a2cc87afd328fffa3a5
2020-06-05 12:42:01 -07:00
Adeeb Shihadeh f69483e094 quick LGTM fixes
old-commit-hash: 3463f1165e5546f8c8054e8dcedc830607ad643b
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: 63c8e8439b6d19020055f922340d8e33d906363a
2020-06-04 18:57:25 -07:00
Adeeb Shihadeh 3d848e0d9e update run_docker_tests.sh
old-commit-hash: 7db4e5bd0573ff8ed0cdd841d909701f27886231
2020-06-04 14:27:54 -07:00
Adeeb Shihadeh 962cdac3b1 pre-commit also handles pylint
old-commit-hash: 966e2d41544a7ccbcf901355b8116734c448aa63
2020-06-04 14:19:10 -07:00
Adeeb Shihadeh e60e71c6da pre-commit handles flake8 now
old-commit-hash: 355159f04a7676b2c6a6ea1687211ba7bda428be
2020-06-04 14:09:37 -07:00
Willem Melching 55c3a89421 slow down upload check when offroad (#1634)
old-commit-hash: f4e8df7ee6de2998968bfa93f09f2359ca21b89e
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: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
VirtuallyChris dd16cd5d56 add Rav4_TSS2 engine fw
old-commit-hash: eebdf52ff57857171c55df3cdc10f64adc2ad039
2020-06-03 15:18:30 -07:00
George Hotz 69678ee181 calloc an extra byte in read_file
old-commit-hash: f19d25dd8d3e521fab82195027cc08cd08cb80d8
2020-06-03 14:22:45 -07:00
George Hotz 669977eb1f save valid_len
old-commit-hash: 4e7fe3a9ec4fddd517ea470af3b7eb3a6fd415e3
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: 73db0791997efa270f6793b7acb422aedc22d21f
2020-06-03 14:01:32 -07:00
George Hotz cca6ac0599 bump cereal
old-commit-hash: c76cf53175f0aab81ba9a0e08846d2f549361c92
2020-06-03 13:51:42 -07:00
Willem Melching dbdbef72d6 vehicle model types (#1631)
old-commit-hash: 240041708450d916bb49ee229ee4cff0e5f5ab59
2020-06-03 13:47:47 -07:00
Adeeb d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Willem Melching e6cf5883b1 update rednose
old-commit-hash: 2144154c328abf67b7fb265c580226e3b94a59e6
2020-06-03 12:12:37 -07:00
George Hotz 710710364d fetch image from route script
old-commit-hash: d1d2984f366e6b541b80c5364cd1f17f817ecb02
2020-06-03 11:32:51 -07:00
Willem Melching db4a918c2a Bounds checks on liveParameters for testing on desk
old-commit-hash: 0f20ac728f4558ee8a849646f366d816a2479b62
2020-06-03 11:31:12 -07:00
Willem Melching c8d5b49a44 Paramsd can now be killed normally
old-commit-hash: e3ffdf3647075ce7415a9ba6b808b5021931acc1
2020-06-03 11:11:06 -07:00
Willem Melching adc846c1fd run deleter when offroad
old-commit-hash: 6e0bb25ab4659db306df10ba90fdc18562b2cc4f
2020-06-02 17:39:58 -07:00
Willem Melching ad66386877 locationd profiling (#1625)
old-commit-hash: 66455b075d918d9f04fae6921d0a692ee3f8afd0
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: 165bcf1f31ffc34b56c84cf8e71f41ce224dd7e3
2020-06-02 17:31:59 -07:00
Willem Melching 1d1e58eeb1 bump submodules
old-commit-hash: 60620fe773dc000a6cd8dfef66293d164631316f
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: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh a03da046c3 clean up release files
old-commit-hash: 676d0901e5496f3c81d32e2716149544731f688e
2020-06-02 15:41:41 -07:00
Willem Melching 2deddf76c7 bump opendbc + rednose
old-commit-hash: 8fa6846c75a78b79e69f350e1094582acb8e461a
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: b042ac034e539df09a7040dd4f28b2afc2429f55
2020-06-01 18:57:04 -07:00
Harald Schafer 8dbb5baa5a new laika
old-commit-hash: 73b6eb48290596e3310a7a1f0af24dc48b07af90
2020-06-01 18:45:56 -07:00
VirtuallyChris ed4709c1d2 Add Putty key
old-commit-hash: 68040408da9809a480f224bbe4d09e8c3be40608
2020-06-01 18:35:28 -07:00
Willem Melching f9036398e8 ui.cc: read_db_value is not null terminated
old-commit-hash: 884b327374890358424c90d1fc20b459f599987e
2020-06-01 16:41:04 -07:00
Willem Melching a749ebb1c4 speedTooHigh should not be an immediate disable
old-commit-hash: 205cb04ee95f51c0d96f20d71564ef6d1c530d85
2020-06-01 15:53:41 -07:00
Willem Melching 2bc6a34ee5 fix flake8 error in honda carstate
old-commit-hash: 0a5bb88ca293a690d947ea5d98e915f3f3c8eca9
2020-06-01 15:28:47 -07:00
Willem Melching b9183cd05c bump opendbc with hrv gas signal
old-commit-hash: 5b8f025fb046c0f3e19bfdad03ac72fe5df30243
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: afaa2b917c249872f59b5ab1a03a93c02d7a3789
2020-06-01 15:26:47 -07:00
Willem Melching 650ee4c0de remove unused line in nissan carstate
old-commit-hash: fa7d8f6e1b6c8a27dacff2bbff89b3cbe79c5609
2020-06-01 14:39:06 -07:00
Willem Melching cdf653b566 bump opendbc
old-commit-hash: 7316872607c79e6600d0ea8913357902f1bea314
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: 843b2940c5b35a92cc3f9f7d0f4310a420a8ad94
2020-06-01 14:38:20 -07:00
Dean Lee 32fa3e26be Template version of read_param (#1593)
old-commit-hash: c9dbaf821c5654019dec0ac814c56ed54c3cacf3
2020-06-01 14:30:53 -07:00
Willem Melching e738ab6f04 longitudinal test should broadcast liveLocationKalman
old-commit-hash: d00cdf1e0c7bf7fc8bb7726bafb93e8e6f946574
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: cdb48cc180bd22fbad75785d07a7f47da959880c
2020-06-01 14:00:43 -07:00
Willem Melching 3e630fce60 Make driverview not pin two cores at 100%
old-commit-hash: fab8425f2f5277f3e767e29f01942448674428b0
2020-06-01 13:58:54 -07:00