Commit Graph

814 Commits

Author SHA1 Message Date
Adeeb Shihadeh 4e2d46f5da build release in public CI 2020-05-09 22:16:21 -07:00
Adeeb Shihadeh a25d535793 Revert "function doesn't have that arg"
This reverts commit d712d9cf3b.
2020-05-09 17:26:24 -07:00
Adeeb Shihadeh d712d9cf3b function doesn't have that arg 2020-05-09 17:21:51 -07:00
Adeeb Shihadeh 48dec51f0e fix circular import reported by LGTM 2020-05-09 16:47:36 -07:00
Adeeb Shihadeh df238560f4 bump opendbc 2020-05-09 16:45:02 -07:00
Adeeb 008700a6b3 LGTM fixes (#1480) 2020-05-09 16:40:43 -07:00
Adeeb Shihadeh b95f45f072 bump panda 2020-05-09 12:59:58 -07:00
Willem Melching 03a9b54636 Change modem interrupt affinity 2020-05-08 21:27:46 -07:00
Willem Melching f7c8707bf8 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
2020-05-08 21:04:55 -07:00
George Hotz 7c71a14a89 remove locationd from car started processes for now 2020-05-08 20:30:57 -07:00
robbederks 71bebc4fca 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
2020-05-08 19:39:18 -07:00
William aef01f4bdf 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
2020-05-08 18:08:11 -07:00
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