Commit Graph

802 Commits

Author SHA1 Message Date
George Hotz
bb9ca1ebd6 copy the codecov and lgtm config files 2020-05-08 18:07:28 -07:00
HaraldSchafer
65fcc7c45f Better poly (#1437)
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
2020-05-08 17:14:43 -07:00
Willem Melching
930738f15f update release date 2020-05-08 15:49:56 -07:00
Adeeb
46f3665279 Move swaglog to cpp + remove another lib (#1470) 2020-05-08 14:46:10 -07:00
George Hotz
e3999495fa update tensorflow-gpu to 2.2.0 2020-05-08 11:02:11 -07:00
Adeeb Shihadeh
7588584517 bump cereal 2020-05-07 22:49:53 -07:00
Adeeb
38265c31d0 Remove c capnp (#1475) 2020-05-07 22:32:56 -07:00
Adeeb Shihadeh
1503e24d3c fix release after camera_qcom.cc rename 2020-05-07 21:32:22 -07:00
Adeeb Shihadeh
27303c2d5d don't need c capnp any more 2020-05-07 21:07:18 -07:00
Dean Lee
b6d6f52032 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
2020-05-07 20:14:30 -07:00
Greg Hogan
0b5758f1be framereader index data as param 2020-05-07 18:23:19 -07:00
Patrick Violette
28128cbbeb [Honda FW Versions] Add values for combinationMeter and programmedFuelInjection. (#1463)
Honda Civic Hatchback, 2019 shows these in the carParams.
2020-05-06 13:33:07 -07:00
ZwX1616
aa460a1623 add TFmot to pipenv 2020-05-06 13:15:30 -07:00
Dean Lee
ee725534bb 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
2020-05-06 08:38:26 -07:00
Adeeb
39727ddc56 CI: bump upload artifact version (#1471) 2020-05-06 05:46:02 -07:00
George Hotz
262e5c1869 codecov status always passes 2020-05-05 00:28:09 -07:00
Adeeb Shihadeh
9670f8fb9f these don't need json 2020-05-04 23:37:07 -07:00
George Hotz
4252028a84 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>
2020-05-04 14:03:16 -07:00
George Hotz
d5ca841b0f Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit b225016628.
2020-05-04 09:54:05 -07:00
Adeeb Shihadeh
ad2c54e991 fake less of PubMaster and SubMaster when profiling 2020-05-03 17:41:26 -07:00
Dean Lee
75abfe28d5 fix wrong order of cleanup calls (#1461) 2020-05-03 08:28:10 -07:00
ZwX1616
968e2585cc bad AF state logging (#1365) 2020-05-02 21:40:43 -07:00
George Hotz
e568d3cadc More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

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

* switch to index command

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 14:21:27 -07:00
Erich Moraga
cb5076b4b2 ESP f/w F152642521 for CAR.RAV4H_TSS2 (#1448)
DongleID 08ae2ec6875e165c
2020-05-02 12:11:11 -07:00
George Hotz
1295cfe06c 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>
2020-05-02 12:07:34 -07:00
Dean Lee
846a58507f 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
2020-05-02 11:27:03 -07:00
Erich Moraga
c30b3b9fc9 Line # 9 was a duplicate to # 5 (#1451)
Duplicate line...
#include <string.h>
2020-05-02 08:25:17 -07:00
Dean Lee
b225016628 Bypass alignment related copy whenever possible (#1443)
remove blank lines

add file messagehelp.h

remove blank line

simplify

after review
2020-05-01 19:21:00 -07:00
Dean Lee
4857f45d6a 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
2020-05-01 19:16:17 -07:00
Adeeb Shihadeh
3dd62c1021 bump opendbc 2020-05-01 13:55:55 -07:00
Adeeb
337529d5cb Add steerWarning and steerError to carState (#1444)
* Add steerWarning and steerError to carState

* fix gm and hyundai

* update refs
2020-05-01 13:13:12 -07:00
Willem Melching
5d69e97281 Less hardcoded values in profiling script 2020-05-01 11:38:30 -07:00
Willem Melching
4301c5efb5 small cleanup of profiling script 2020-05-01 10:49:02 -07:00
Willem Melching
b3e7d94303 run both deterministic and statistical profiler 2020-04-30 17:39:37 -07:00
Willem Melching
04bc4a0e45 use proper cachegrind extension 2020-04-30 17:07:46 -07:00
Willem Melching
c624edb57c Remove comments from Sconstruct 2020-04-30 16:42:34 -07:00
Willem Melching
845abed5db Build log_index using scons 2020-04-30 16:26:11 -07:00
Willem Melching
079c9e714b Write profiling result after running 2020-04-30 16:19:12 -07:00
Adeeb
6ff08f8dee Chrsyler: calculate checksum in CAN packer (#1438) 2020-04-30 15:43:59 -07:00
George Hotz
c4592e8547 add simple usage example to window.py 2020-04-30 15:31:01 -07:00
Willem Melching
4d03b8536f Run controlsd without sockets 2020-04-30 15:15:19 -07:00
Willem Melching
71589fc92e Logreader can take car of downloading the files 2020-04-30 15:09:19 -07:00
Willem Melching
e2493c2221 Handle loop and multiple publishers 2020-04-30 14:33:58 -07:00
Willem Melching
e1a2fbea51 Move minSteerSpeed to base interface 2020-04-30 14:13:33 -07:00
Shane Smiskol
e7ae7b9850 remove redundant ret.steerControlType line, fix indentation in toyota/carcontroller.py (#1442) 2020-04-30 14:11:31 -07:00
Dean Lee
3fe3afeede better ui_draw() (#1432)
* better ui_draw()

* fix missed border

reduce code

remove white line
2020-04-30 12:11:35 -07:00
Greg Hogan
3e78705761 tensorflow-gpu==2.2.0rc4 2020-04-30 12:10:58 -07:00
Willem Melching
5777701b42 Cleanup redundant min steer speed in hyundai 2020-04-30 10:36:34 -07:00
ZwX1616
90c9073250 fix DLC for new SNPE 2020-04-29 20:01:38 -07:00