Commit Graph

1383 Commits

Author SHA1 Message Date
Harald Schafer
02eeef5f2b safer
old-commit-hash: ee10697d861c422545ce29ce7869c328e42c7a7c
2020-05-10 22:00:41 -07:00
Willem Melching
c77e9b1f59 Fix counter in HKG clu11 message (#1484)
* fix counter in clu11 message

* update ref
old-commit-hash: 27ffa29f6c24637ce0580dbd9ad96d290de98fec
2020-05-10 20:13:35 -07:00
Willem Melching
587d00d24a fix update ref script
old-commit-hash: 5182da31009e0dd62bd92abb98b1a5bc306ddee1
2020-05-10 18:55:53 -07:00
Adeeb Shihadeh
bd980f6048 delete unused lines
old-commit-hash: 10ae22a19247042b825f1bcac740f70f58b4e197
2020-05-10 11:25:42 -07:00
Jason Young
53fc3f1e7e Fix hardcoded path in sensor test script (#1481)
* Fix hardcoded path to sensor test script

* Rename the other place too
old-commit-hash: 09d465013c057762fee4c8c4a14a3837b2a9ec5b
2020-05-09 22:17:24 -07:00
Adeeb Shihadeh
66f8a63d4a build release in public CI
old-commit-hash: 4e2d46f5da0efb5c07b81bb3bd92e0bea259d3f1
2020-05-09 22:16:21 -07:00
Adeeb Shihadeh
d6d8d48b3f Revert "function doesn't have that arg"
This reverts commit 9b8b482a0048290fcadc19f0bb4de442f8faa143.

old-commit-hash: a25d535793cb22a8842679e119f759a8fcf054ee
2020-05-09 17:26:24 -07:00
Adeeb Shihadeh
e2687448d6 function doesn't have that arg
old-commit-hash: d712d9cf3b7e9b4f6787d3ed2f25aa3a777c3bde
2020-05-09 17:21:51 -07:00
Adeeb Shihadeh
0a5273bf46 fix circular import reported by LGTM
old-commit-hash: 48dec51f0e93dd1a46b24414afc8ebac27269188
2020-05-09 16:47:36 -07:00
Adeeb Shihadeh
614ad773fa bump opendbc
old-commit-hash: df238560f4fce9bfb945d70a49a4379735b87440
2020-05-09 16:45:02 -07:00
Adeeb
64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
2020-05-09 16:40:43 -07:00
Adeeb Shihadeh
45dbdac80b bump panda
old-commit-hash: b95f45f072ac318e2b8f984afa37be213d16641f
2020-05-09 12:59:58 -07:00
Willem Melching
1e86639782 Change modem interrupt affinity
old-commit-hash: 03a9b546362a5a085ad6261c7901d19f80cfbeb1
2020-05-08 21:27:46 -07:00
Willem Melching
83d02c8c4a Don't show "no gps" when ubloxd is not running (#1479)
* dont show no gps when ubloxd is not running

* Just s

* Dropped that

* Connected is too long
old-commit-hash: f7c8707bf854f40c54d3c0b9676e26584b95103c
2020-05-08 21:04:55 -07:00
George Hotz
d7fcbc9c4b remove locationd from car started processes for now
old-commit-hash: 7c71a14a89484ff713019c0a7983baeec7582061
2020-05-08 20:30:57 -07:00
robbederks
5a12fc32e7 Ambient light calibration parameters on persist partition (#1429)
* WIP: light sensor persistent params

* fix params writing

* Persistent params argument in C params lib. Fixed symlink flow

* Removed debug prints

* fix boardd

* fix ui

* remove debug print
old-commit-hash: 71bebc4fca91681669c86b5600b67bf2b7f899bf
2020-05-08 19:39:18 -07:00
William
798e1a8908 Shebang Fix (#1477)
* Shebang Fix

Per George's "I'd merge a PR replacing the 4 python3.7 with python3" on Discord. George updated Python to 3.8.2 for webcam tools, which broke manager from launching. Instead of chasing the exact version, it seems more reasonable to fall back to 3.

* More Python3.7's
old-commit-hash: aef01f4bdfc03929a7ad046e867ef975f81b7b59
2020-05-08 18:08:11 -07:00
George Hotz
a7abef9bad copy the codecov and lgtm config files
old-commit-hash: bb9ca1ebd67f3f0d737f1171231cdbfd39c10b51
2020-05-08 18:07:28 -07:00
HaraldSchafer
f3747d2fe5 Better poly (#1437)
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
old-commit-hash: 65fcc7c45ff1d4d747dc52ff5791afb84a18744a
2020-05-08 17:14:43 -07:00
Willem Melching
bd036cbbb1 update release date
old-commit-hash: 930738f15f1ae8eb6522ec9545b1ea4ad3f57001
2020-05-08 15:49:56 -07:00
Adeeb
b1cbd898f1 Move swaglog to cpp + remove another lib (#1470)
old-commit-hash: 46f3665279222ce53333a8c001def1b2a8e32926
2020-05-08 14:46:10 -07:00
George Hotz
708d68722c update tensorflow-gpu to 2.2.0
old-commit-hash: e3999495fa59ea6c5d460cf08be62c070839324f
2020-05-08 11:02:11 -07:00
Adeeb Shihadeh
0d223de608 bump cereal
old-commit-hash: 75885845178b77450c649ec023003fe0c71ce263
2020-05-07 22:49:53 -07:00
Adeeb
58ce043e07 Remove c capnp (#1475)
old-commit-hash: 38265c31d07d748de99b9941e742289f4221b87c
2020-05-07 22:32:56 -07:00
Adeeb Shihadeh
06dadf1e69 fix release after camera_qcom.cc rename
old-commit-hash: 1503e24d3c673bc7ba9b8da83aef60245e63505d
2020-05-07 21:32:22 -07:00
Adeeb Shihadeh
45b9284fd0 don't need c capnp any more
old-commit-hash: 27303c2d5d094088fd6afcceccac53bbb9c73f08
2020-05-07 21:07:18 -07:00
Dean Lee
0b0674ef20 camerad: move c-capnp to c++ (#1472)
* convert c-capnp to c++

change paramater type

* remove c-capnp header from commonmodel.c

* unsigned short -> uint16_t

* MSM_CAMERA_I2C_ADDR_TYPE_MAX->4
old-commit-hash: b6d6f520327226004c328a4b7cbbb3b855b2909d
2020-05-07 20:14:30 -07:00
Greg Hogan
83c1286efd framereader index data as param
old-commit-hash: 0b5758f1bef3cbfd37e4bf0b6c71db11e442422f
2020-05-07 18:23:19 -07:00
Patrick Violette
8decbd547a [Honda FW Versions] Add values for combinationMeter and programmedFuelInjection. (#1463)
Honda Civic Hatchback, 2019 shows these in the carParams.
old-commit-hash: 28128cbbebcd59c42de116734c2d152c720fa157
2020-05-06 13:33:07 -07:00
ZwX1616
1074c27d7c add TFmot to pipenv
old-commit-hash: aa460a1623e433639e90567960f5702feb4034bf
2020-05-06 13:15:30 -07:00
Dean Lee
90af65c41c UI: move c-capnp to c++ (#1455)
* ui:move c-capnp to c++

* move Subsockets into vector

* rename reader to msg

include cereal/gen/cpp/log.capnp

* fix some errors

restore some changes

restore previous

* cleanup codes

cleanup codes

* remove unused variable alert_size

* handle capnproto's enum in a robust way

add break to default

* switch -> std:map

* use static std::map instead of switch

do cleanup

* fix wrong variable name

* use FlatArrayMessageReader instead of custom MessageReader

remove messagehelp.h

Revert "use FlatArrayMessageReader instead of custom MessageReader"

This reverts commit 57d8b6b1e2b4bad908246f35eb068535b1627167.

use FlatArrayMessageReader instead of custom MessageReader

add header file

remove capnp_c lib,add kj lib

include serialize.h

fix

remove duplicate includes
old-commit-hash: ee725534bb1ae2335705562e9f1eb176e5cd91fd
2020-05-06 08:38:26 -07:00
Adeeb
8450ae3541 CI: bump upload artifact version (#1471)
old-commit-hash: 39727ddc56c47cb1920ae9efc7e3581667430a84
2020-05-06 05:46:02 -07:00
George Hotz
ed5786cd55 codecov status always passes
old-commit-hash: 262e5c186905b1e1cf0e68d534264f34cf8f684c
2020-05-05 00:28:09 -07:00
Adeeb Shihadeh
7bc6491502 these don't need json
old-commit-hash: 9670f8fb9f081a14d1de24f92e0800ebffbb123b
2020-05-04 23:37:07 -07:00
George Hotz
ca0c6e445e Integrate codecov.io (#1465)
* integrate codecov

* add codecov to readme

* don't need the token

* fix badges

* /bin/bash, not /bin/sh

* needs coverage in the docker

* from the git root

* add CI_ENV like https://docs.codecov.io/docs/testing-with-docker

* custom upload step

* use codecov action

* coverage xml

* add unit tests, good luck

* name the container tmppilot

* add name, fix unit tests

* yml, fix coveragerc-app

* remove tmp/openpilot

* try without xml

* just call the upload script in docker

* ugh, i hate docker

* idk env

* yaml?

* don't be clever

* maybe this

* running out of ideas

* coverage xml maybe

* upload coverage.xml

* ugh CI_RUN

* unneeded artifact

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 4252028a8446d6c64e67c0574fc473420a800a58
2020-05-04 14:03:16 -07:00
George Hotz
16cbb5e255 Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.

old-commit-hash: d5ca841b0f18d2e707eb1f73afac842ede9be7e8
2020-05-04 09:54:05 -07:00
Adeeb Shihadeh
004c0e277b fake less of PubMaster and SubMaster when profiling
old-commit-hash: ad2c54e9916301d63907d96c3e9dec046bd016b1
2020-05-03 17:41:26 -07:00
Dean Lee
0a3dfb0476 fix wrong order of cleanup calls (#1461)
old-commit-hash: 75abfe28d5e979e7ebda3b89c18130365e303cca
2020-05-03 08:28:10 -07:00
ZwX1616
aada0e9a66 bad AF state logging (#1365)
old-commit-hash: 968e2585cc7e2a580fa351a75ceb02c1fe02c409
2020-05-02 21:40:43 -07:00
George Hotz
d47b2ef576 More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -07:00
George Hotz
0fcd08af91 Add C++ support for LGTM (#1456)
* cpp analysis

* switch to index command

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: eb67c74a446536581b0cc3e6f6ddbe96ace5c254
2020-05-02 14:21:27 -07:00
Erich Moraga
601809cc21 ESP f/w F152642521 for CAR.RAV4H_TSS2 (#1448)
DongleID 08ae2ec6875e165c
old-commit-hash: cb5076b4b233be73388a880641f983860cd08a1d
2020-05-02 12:11:11 -07:00
George Hotz
6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Dean Lee
c1641cc035 simplify drawing text and rect (#1446)
* add ui_draw_text

remove draw textbox

make draw_text static

add blank line

* add ui_draw_text

remove draw textbox

make draw_text static

add blank line

add ui_draw_rect

draw rounded rect

fx typo

* remove used variables

* reduce lines

fix typo

* resolve confilit
old-commit-hash: 846a58507fb2e19d399555ad321c0208f1dec0d9
2020-05-02 11:27:03 -07:00
Erich Moraga
9974fa017f Line # 9 was a duplicate to # 5 (#1451)
Duplicate line...
#include <string.h>
old-commit-hash: c30b3b9fc9cbb69b2464bc19ee1816b59569e661
2020-05-02 08:25:17 -07:00
Dean Lee
f2932aadfd Bypass alignment related copy whenever possible (#1443)
remove blank lines

add file messagehelp.h

remove blank line

simplify

after review
old-commit-hash: b2250166281406853de9901271d69a9e64b3b74e
2020-05-01 19:21:00 -07:00
Dean Lee
5da84ba511 simplify drawing circle images (#1445)
* simplify drawing circle images

add static

set default color to 0 0 0 0

remove lines

* fix img_weel_y

* use color macro
old-commit-hash: 4857f45d6a0236f9977b8848a48c1d883cf0e837
2020-05-01 19:16:17 -07:00
Adeeb Shihadeh
baa5f498b5 bump opendbc
old-commit-hash: 3dd62c10216d44bdf821254ebf769d149a2ab2c2
2020-05-01 13:55:55 -07:00
Adeeb
614adb569e Add steerWarning and steerError to carState (#1444)
* Add steerWarning and steerError to carState

* fix gm and hyundai

* update refs
old-commit-hash: 337529d5cb7c8f35ed776c96bc2c2f394f766305
2020-05-01 13:13:12 -07:00
Willem Melching
f9a65e38b5 Less hardcoded values in profiling script
old-commit-hash: 5d69e9728155e83a013833c7ce32bb9ee97ff6d3
2020-05-01 11:38:30 -07:00