Commit Graph

1168 Commits (bbb6fa1172b11cb890e60c7c7c5db19d5fb220c5)

Author SHA1 Message Date
Erich Moraga 97b1ee25a7
2016 RX350 F Sport corrections (#1679)
This fixes the botched PR I did yesterday...
https://github.com/commaai/openpilot/pull/1671
Accidentally used CAR.LEXUS_RXH_TSS2 firmware from my clipboard yesterday, instead of @gweedor#9653's...  Today I was extra careful ;-)

@gweedor#9653 DongleID 28f8c941d8b28743
2020-06-10 20:47:10 -07:00
Jason Young 1932e2824e
Clear build products before NEOS update (#1677)
Co-authored-by: Comma Device <device@comma.ai>
2020-06-10 18:40:49 -07:00
Adeeb Shihadeh cf72a4eb34 don't clear scons cache in CI 2020-06-10 17:49:34 -07:00
HaraldSchafer 87bbbd4100
Clean mesh3d 2 (#1618)
* seems overkill

* not too extreme

* make linter happy

* try adding accel scale

* some tweaks

* Revert "some tweaks"

This reverts commit 58cec365da650fa653dee91c7a5cbe37b8289908.

* Revert "Revert "some tweaks""

This reverts commit 517108b5b676b4ab31bba92a9eb59afa1b3d3faf.

* stability concerns

* this works

* still works

* ugh sympy is weird, still may be not correct

* comment clean

* comment

* clarify

* fix

* unused
2020-06-10 17:25:48 -07:00
Willem Melching c82fda995b Increase temperature range 2020-06-10 17:20:39 -07:00
ZwX1616 681ef81ed8
fix dtype (#1676) 2020-06-10 15:15:51 -07:00
Jason Young ec5fc0e92b
Update realtime priority for modeld/dmonitoringd (#1675) 2020-06-10 17:40:22 -04:00
Willem Melching ceba6fc675 Set brightness takes an int 2020-06-10 12:42:00 -07:00
Willem Melching 431690be1e Move helper function definition to top of file 2020-06-10 11:41:45 -07:00
Willem Melching 29262db5d6 add getter for LocalCoord transformation matrices 2020-06-10 11:35:45 -07:00
Dean Lee 8ad1135e80
add set_brightness in framebuffer.h (#1659) 2020-06-10 10:28:18 -07:00
martinl 53a8df5a41
Fix typo in Github Actions workflow (#1673) 2020-06-10 07:30:09 -07:00
Adeeb Shihadeh dc68b4defd don't reboot on PC 2020-06-09 17:38:42 -07:00
Willem Melching fac0231471 wider margins on stiffness 2020-06-09 17:36:16 -07:00
Erich Moraga a2e6e4c71c
2016 RX350 F Sport (#1671)
@gweedor#9653 DongleID 28f8c941d8b28743
2020-06-09 16:59:27 -07:00
Willem Melching a777fa851e bump cereal 2020-06-09 16:45:56 -07:00
Willem Melching c18e7da3c2
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
2020-06-09 16:44:26 -07:00
Dean Lee 90d97de74d
add function read_db_bytes (#1662) 2020-06-09 13:46:49 -07:00
Adeeb d4858e5ff5
Move driver monitoring out of controls (#1642)
* move dmonitoring out of controls

* run monitoring unit tests in CI
2020-06-09 13:25:15 -07:00
VirtuallyChris 2fa07d2c0a Add Rav4 esp fw 2020-06-09 11:23:53 -07:00
Greg Hogan 3b180240d5 mkdirs_exists_ok more specific URL detection 2020-06-09 08:56:16 -07:00
Greg Hogan 7bf9b04570 ensure mkdirs_exists_ok is not called for URLs 2020-06-08 19:29:33 -07:00
Dean Lee 5fdb60d43e
remove function is_leon (#1660) 2020-06-08 17:24:55 -07:00
Adeeb c24a7e248a
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>
2020-06-08 14:24:14 -07:00
xx979xx c8377131dc
fix auto resume logic (#1657) 2020-06-08 14:15:22 -07:00
Adeeb Shihadeh 4509ee7247 bump submodules 2020-06-08 13:12:55 -07:00
Adeeb Shihadeh c6bd187450 clean up webcam readme 2020-06-06 21:21:25 -07:00
HaraldSchafer 5106117525
More rigorous definition of calibration 2020-06-05 21:52:58 -07:00
George Hotz 7770041f92
Getting PC openpilot working again (#1650)
* fixup keras_runner to work and be nicer

* truncate the lane lines based on the valid len
2020-06-05 17:40:56 -07:00
Willem Melching 15dc6044d4
Remove slow down for turns (#1647)
* Remove slow down for turns

* update ref
2020-06-05 16:01:53 -07:00
dependabot-preview[bot] 8c346dfae5
Create Dependabot config file (#1648)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 15:55:17 -07:00
Dean Lee d720f28ecb
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
2020-06-05 15:33:45 -07:00
Willem Melching 19512315ff
boardd: no conflate on sendcan (#1645) 2020-06-05 14:20:52 -07:00
Jason Young 68531b071c
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>
2020-06-05 17:09:41 -04:00
Willem Melching 72cc0fc801 use pipenv for dev dependencies 2020-06-05 14:03:54 -07:00
Adeeb Shihadeh c454bff2f8 remove trailing whitespace pre-commi hook for now 2020-06-05 12:52:55 -07:00
Adeeb 7666d99694
Remove common/messaging.h (#1635)
* remove common/messaging.h

* release files
2020-06-05 12:46:49 -07:00
Dean Lee 5f58307153
pass subframes_map by refer (#1640) 2020-06-05 12:42:23 -07:00
Dean Lee c7ff6dd194
pass DMonitoringResult as referer (#1639) 2020-06-05 12:42:01 -07:00
Adeeb Shihadeh 3463f1165e quick LGTM fixes 2020-06-05 11:29:09 -07:00
Willem Melching 63c8e8439b
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>
2020-06-04 18:57:25 -07:00
Adeeb Shihadeh 7db4e5bd05 update run_docker_tests.sh 2020-06-04 14:27:54 -07:00
Adeeb Shihadeh 966e2d4154 pre-commit also handles pylint 2020-06-04 14:19:10 -07:00
Adeeb Shihadeh 355159f04a pre-commit handles flake8 now 2020-06-04 14:09:37 -07:00
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