Commit Graph

1669 Commits

Author SHA1 Message Date
Willem Melching
c8d32ce78a wider margins on stiffness
old-commit-hash: fac023147127fd79805b54428ac33b819f1138cd
2020-06-09 17:36:16 -07:00
Erich Moraga
a9e069f5f1 2016 RX350 F Sport (#1671)
@gweedor#9653 DongleID 28f8c941d8b28743
old-commit-hash: a2e6e4c71c804bb5caf59e4df1609320d66247ef
2020-06-09 16:59:27 -07:00
Willem Melching
7dfdf3578c bump cereal
old-commit-hash: a777fa851e8a444cadb516fc4e35b641018f0559
2020-06-09 16:45:56 -07:00
Willem Melching
76a465e0ec Write orientation & transform in C++ (#1637)
* locationd at 20hz

* update ref

* bump cereal

* dont modify global state

* add scons files

* ecef2geodetic and geodetic2ecef

* Finish local coords class

* Add header file

* Add orientation.cc

* cleanup

* Add functions to header file

* Add cython wrapper

* y u no work?

* This passes the tests

* test rot2quat and quat2rot

* Teste euler2rot and rot2euler

* rot_matrix

* test ecef_euler_from_ned and ned_euler_from_ecef

* add benchmark

* Add test

* Consistent newlines

* no more radians supported in geodetic

* test localcoord single

* test localcoord single

* all tests pass

* Unused import

* Add alternate namings

* Add source for formulas

* no explicit tests needed

* remove benchmark

* Add release files

* Typo

* Remove print statement

* no access to raw transform matrix

* temporarily add tolerance

* handcode quat2euler

* update ref
old-commit-hash: c18e7da3c25c59a19efda8ec3a1b716c2571cc2f
2020-06-09 16:44:26 -07:00
Dean Lee
5fb85ede56 add function read_db_bytes (#1662)
old-commit-hash: 90d97de74ddc4672b35a5186e868794468a44345
2020-06-09 13:46:49 -07:00
Adeeb
ea0292d86e Move driver monitoring out of controls (#1642)
* move dmonitoring out of controls

* run monitoring unit tests in CI
old-commit-hash: d4858e5ff5753f8a800f3e90cb4c0f69213b87f3
2020-06-09 13:25:15 -07:00
VirtuallyChris
26235622b8 Add Rav4 esp fw
old-commit-hash: 2fa07d2c0a0df3fc7ee3d738a51f8c4ce5eef282
2020-06-09 11:23:53 -07:00
Greg Hogan
02d68d91fb mkdirs_exists_ok more specific URL detection
old-commit-hash: 3b180240d53564274a9258ff1f851a478bb0b741
2020-06-09 08:56:16 -07:00
Greg Hogan
5db2854138 ensure mkdirs_exists_ok is not called for URLs
old-commit-hash: 7bf9b04570b0eea77de33181a58134ec8ddb4b19
2020-06-08 19:29:33 -07:00
Dean Lee
36ee93e0fe remove function is_leon (#1660)
old-commit-hash: 5fdb60d43e8d141c086d9c25f2235cfb18106a17
2020-06-08 17:24:55 -07:00
Adeeb
daea932130 Release cleanup (#1649)
* start cleanup

* whitelist submodule release files

* don't need to ship tests

* revert changes to build script

* add those tests back

* fix typo

* whitelist dbcs

* test

* run the right test

* whitelist opendbc/can

* revert that

* add missing dotfiles

* clean up

* ford DBCs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c24a7e248a295641f58d39e0db25dde1b742fc16
2020-06-08 14:24:14 -07:00
xx979xx
4aa1d21bde fix auto resume logic (#1657)
old-commit-hash: c8377131dc155d1c1330762fbe79a47205204604
2020-06-08 14:15:22 -07:00
Adeeb Shihadeh
bf8277dfa9 bump submodules
old-commit-hash: 4509ee7247ce3fdc9400501c4c16b13d6b0a29a5
2020-06-08 13:12:55 -07:00
Adeeb Shihadeh
d7d8f3091b clean up webcam readme
old-commit-hash: c6bd1874503b26e8443ecb28afd6819b44684e78
2020-06-06 21:21:25 -07:00
HaraldSchafer
5df437cb14 More rigorous definition of calibration
old-commit-hash: 51061175252d14265e608fe6ed5640d0840fdb70
2020-06-05 21:52:58 -07:00
George Hotz
4b6c80336b Getting PC openpilot working again (#1650)
* fixup keras_runner to work and be nicer

* truncate the lane lines based on the valid len
old-commit-hash: 7770041f9201c4f84717435b7a585fd70a937923
2020-06-05 17:40:56 -07:00
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