Commit Graph

1672 Commits

Author SHA1 Message Date
Dean Lee 0f9202c4b7 add set_brightness in framebuffer.h (#1659)
old-commit-hash: 8ad1135e80
2020-06-10 10:28:18 -07:00
martinl 2dfb8db054 Fix typo in Github Actions workflow (#1673)
old-commit-hash: 53a8df5a41
2020-06-10 07:30:09 -07:00
Adeeb Shihadeh dec3861197 don't reboot on PC
old-commit-hash: dc68b4defd
2020-06-09 17:38:42 -07:00
Willem Melching c8d32ce78a wider margins on stiffness
old-commit-hash: fac0231471
2020-06-09 17:36:16 -07:00
Erich Moraga a9e069f5f1 2016 RX350 F Sport (#1671)
@gweedor#9653 DongleID 28f8c941d8b28743
old-commit-hash: a2e6e4c71c
2020-06-09 16:59:27 -07:00
Willem Melching 7dfdf3578c bump cereal
old-commit-hash: a777fa851e
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: c18e7da3c2
2020-06-09 16:44:26 -07:00
Dean Lee 5fb85ede56 add function read_db_bytes (#1662)
old-commit-hash: 90d97de74d
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: d4858e5ff5
2020-06-09 13:25:15 -07:00
VirtuallyChris 26235622b8 Add Rav4 esp fw
old-commit-hash: 2fa07d2c0a
2020-06-09 11:23:53 -07:00
Greg Hogan 02d68d91fb mkdirs_exists_ok more specific URL detection
old-commit-hash: 3b180240d5
2020-06-09 08:56:16 -07:00
Greg Hogan 5db2854138 ensure mkdirs_exists_ok is not called for URLs
old-commit-hash: 7bf9b04570
2020-06-08 19:29:33 -07:00
Dean Lee 36ee93e0fe remove function is_leon (#1660)
old-commit-hash: 5fdb60d43e
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: c24a7e248a
2020-06-08 14:24:14 -07:00
xx979xx 4aa1d21bde fix auto resume logic (#1657)
old-commit-hash: c8377131dc
2020-06-08 14:15:22 -07:00
Adeeb Shihadeh bf8277dfa9 bump submodules
old-commit-hash: 4509ee7247
2020-06-08 13:12:55 -07:00
Adeeb Shihadeh d7d8f3091b clean up webcam readme
old-commit-hash: c6bd187450
2020-06-06 21:21:25 -07:00
HaraldSchafer 5df437cb14 More rigorous definition of calibration
old-commit-hash: 5106117525
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: 7770041f92
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: 15dc6044d4
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: 8c346dfae5
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: d720f28ecb
2020-06-05 15:33:45 -07:00
Willem Melching 5c30b96932 boardd: no conflate on sendcan (#1645)
old-commit-hash: 19512315ff
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: 68531b071c
2020-06-05 17:09:41 -04:00
Willem Melching b831619ec6 use pipenv for dev dependencies
old-commit-hash: 72cc0fc801
2020-06-05 14:03:54 -07:00
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