Commit Graph

2071 Commits

Author SHA1 Message Date
Willem Melching 4fd9d6467b more init time in cpu test
old-commit-hash: 03ec6af300d1d051436514b194e430fb54d16c6c
2020-08-20 15:20:59 +02:00
Adeeb Shihadeh a219cc17e9 clip carBatteryCapacity to 0
old-commit-hash: 2476ea213c24dac16531c8798761e34f96e0ded2
2020-08-19 12:34:49 -07:00
Adeeb Shihadeh 00e61c5f1e add a sleep after cloudlog
old-commit-hash: 266ef886dd778cc7d486349b72279c89c03dad06
2020-08-18 11:52:01 -07:00
Adeeb Shihadeh 83faaf2906 log when thermald shuts down device
old-commit-hash: a46d2f5b17cc24102f26674a2102a0044b3e84e6
2020-08-18 07:45:20 -07:00
Dean Lee ebd4f68cba ui: refactor model related functions (#2026)
* remove read_model

* remove structs for c-capnp

* remove duplicate #define from modeld

* add function fill_path_points

* fix Indentation

* use MODEL_PATH_DISTANCE instead of 192

* fix type

use validLen

* rename left_path_points&right_path_points to xxx_lane_points
old-commit-hash: f8ab6bd009410a9f7ab9c30ce7b72a82c6d2507b
2020-08-18 15:26:43 +02:00
Dean Lee bccaaeb3fa fd should be initialized as -1 (#2041)
old-commit-hash: 963c00db09554e71264b699a99c9a705c80c99d8
2020-08-18 15:22:26 +02:00
Adeeb Shihadeh 41a6c716d5 remove old tests (#2040)
old-commit-hash: 744fe7180187507f9dc8d455b961f882992d0684
2020-08-18 15:21:47 +02:00
Adeeb Shihadeh b2e40a7487 remove dead code in updated
old-commit-hash: 21a1792f895e006fd70883b5621989e01b539693
2020-08-17 16:21:55 -07:00
Adeeb Shihadeh 0fac431c58 bump version to 0.7.9
old-commit-hash: 86dc54b836a973f132ed26db9f5a60b29f9b25b2
2020-08-17 12:49:08 -07:00
robbederks 030570736c more panda fault types (#2036)
old-commit-hash: c624b408428c09723eb8d02f19a6051f325b7187
2020-08-17 13:02:06 +02:00
Dean Lee fb8c67ba1f paint.cc: remove redundant calls (#2025)
* remove redundant calls

* set MODEL_LANE_PATH_CNT=2
old-commit-hash: fe43d51686da19063c4ee3ebdb09eadfdd3a56ad
2020-08-17 12:06:09 +02:00
Dean Lee 00e8238b78 fix two little bugs (#2033)
old-commit-hash: 934506e1545acd30bf65e9544e565005d6c56fc6
2020-08-17 11:59:27 +02:00
robbederks bcaf2a36af Car power integrator + power management refactor (#1994)
* wip, ready to test

* tweaks

* fix

* fix

* fix power monitoring

* fix param writing

* no forced charging on high voltage

* reset capacity on reboot

* don't shutdown unless started seen

* fix unused var warning

* fix linting errors

* time is always valid

* QCOM gate

* Local params

* decimate saving

* fix linting

* rename param

* Log car battery capacity

* fix put_nonblocking

* Added some unit tests

* Add test to docker test list

* fix precommit

* cleanup

* run tests in CI

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7555379b2b1da2f800e98963ad4436b7fb91cce9
2020-08-17 11:56:27 +02:00
Dean Lee bf750511a1 add function cl_get_device_id (#1948)
* add func cl_get_device_id

cleanup

* add fix from review
old-commit-hash: d1588376171d8ba1d2ec1b670e085d6e15bd26c1
2020-08-17 11:24:39 +02:00
Chris 42538fd54b Kilometers per hour now displayed as km/h (#2032)
Fixes #2031

Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
old-commit-hash: 1b52930a52828b1423c59c677c9b42a5ff76125c
2020-08-17 11:16:52 +02:00
Adeeb Shihadeh 34da7ee9c8 remove old test runner
old-commit-hash: 160c89cde619b0eeeacda22eedb55e09d0d8ace5
2020-08-16 20:13:15 -07:00
Dean Lee 681a50640e init and destroy transform_lock (#2003)
old-commit-hash: 36801a70eb8f599baee8e07aed0ec9c3b6385595
2020-08-16 16:31:53 -07:00
Adeeb Shihadeh 44467a376f exit camerad cleanly on PC (#2035)
old-commit-hash: 862259a94b6c6c8fa758c0656cbfbc9ec08d4f54
2020-08-16 16:11:09 -07:00
Erich Moraga 68fc79ac93 Add fwdCamera f/w for CAR.COROLLA_TSS2 (#2028)
Nv#6820 DongleID 4dc9a71c543a576f  2020 Corolla LE ICE
https://discord.com/channels/469524606043160576/524327905937850394/744254107874885652
old-commit-hash: 70c7a72d4a4201cc649389d553b064c13873d1c0
2020-08-15 11:48:27 -07:00
Erich Moraga 0b05507563 EU Corolla Hybrid TSS2 EPS f/w (#2027)
@Lexdaadler#0295 DongleID 940e337f5fcf4d4e
https://discord.com/channels/469524606043160576/524327905937850394/744162927954755615
old-commit-hash: d99aa16b7d92c1fb37f683c2375dbd4629025a9c
2020-08-15 10:55:26 -07:00
Michael Honan df26e99856 Setup script improvements to MacOS / Ubuntu (#2012)
* Setup script improvements to MacOS / Ubuntu

scons isn't actually required from brew install

pyenv init on all envs

added installation to .zshrc on macos with better dir logic

Using git to detect project root for ubuntu bashrc install

Check shell and determine correct RC file

Update tools/mac_setup.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Sourcing RC file only if it's found

Removed unnecessary source of rc file

Submodules should never have been bumped...

Output the $RC_FILE when successfully installed

pyenv init every time, and skip RC install on CI

Confused bash conditionals, opposite of what I meant

* Was missing libusb on a fresh MacOS 10.15.6 install

Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
old-commit-hash: 4a9228fcc776d898287ebc015cab0a11fd3cdc64
2020-08-14 18:03:55 -07:00
Adeeb Shihadeh 2f3942bb11 increase CPU test timeout to allow for installing new APKs
old-commit-hash: 5641aeee7ae896e2ee4e24f68e24d47e497031ea
2020-08-13 15:10:00 -07:00
Adeeb Shihadeh a3fe09eb81 bump panda
old-commit-hash: 09e7d17acf91944dec364e4e0c2d8569cb042045
2020-08-13 15:02:17 -07:00
Willem Melching 938ce91d02 Pigeon abstraction layer (#1977)
* pigeon abstraction layer

* Fix string literals

* more generic pigeon class

* add TTYpigon

* nicer tty error handling

* close tty fd on pigeon delete

* pigeon receive return std::string

* use sizeof

* max receive size to prevent infinite loop

* remove namespace

* add unistd include for usleep

* fix is pigeon

* Handle tty error in opening

* fix printing binary strings with dump.py

* fix pigeon build on macos

* Handle errors seperately

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 502cc665e0bad89eba0b1c344c2f4f580b153ae1
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh e25063a0b3 add launch_env.sh to release files
old-commit-hash: 9bc0b350fd273bbb2deb3dcaef0312944e4f6cfd
2020-08-12 17:34:15 -07:00
Adeeb Shihadeh 79129ce431 add date to release notes
old-commit-hash: cf5ed9e962e005b065e5a902cba90e47408fda25
2020-08-12 14:13:47 -07:00
Adeeb Shihadeh 8c86886f75 fix get_git_remote not returning a value
old-commit-hash: 0394b8b921b55e44681f44251ad72b3a60f4c1b6
2020-08-12 13:50:51 -07:00
Adeeb Shihadeh 32be24d601 add missing agent for jenkins job
old-commit-hash: 100f2958fc08f58e6b175336b91c66850107051a
2020-08-12 12:47:32 -07:00
Adeeb Shihadeh b554cc4f7f add background download to release notes
old-commit-hash: 5993055d6663c9e704d438f64559c04dc8568f07
2020-08-12 12:09:12 -07:00
Adeeb Shihadeh c2b1d97b20 NEOS background updater (#1892)
old-commit-hash: cb5a2996e75658ac61f057fb729c229a554c551e
2020-08-12 11:39:21 -07:00
Willem Melching c52e3fe331 Force battery temperature to 0 on comma two
old-commit-hash: e909fddac06acb1a602e3f25578c61a9e2b3ec11
2020-08-12 16:36:17 +02:00
Willem Melching eab33adbc9 Don't check dirty on prebuilt release (#2014)
* dont check dirty on prebuilt release

* cleanup

* Command cleanup

* Only log dirty comma branch

* Less whitespace

* Consistentcy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c3a45580265f2138e12c371966e28a81886ead75
2020-08-12 11:38:38 +02:00
Comma Device 563517e2a1 fix boardd build
old-commit-hash: a228c4d0a077097cf14eb770570bec1727d57d0c
2020-08-12 09:02:13 +00:00
Adeeb Shihadeh dde753d531 fix linter
old-commit-hash: 60e2267f02b8c09666a73c6ea2dea1bf25cc8ce1
2020-08-11 20:37:51 -07:00
xps-genesis 1cfc19fad1 update optima fingerprint and Fw Fp (#2017)
* update optima fingerprint and Fw Fp

* Update values.py

* fix indent

* not ignored

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5663c116edbea0235b2a439257ebc6c0d39f4435
2020-08-11 18:57:16 -07:00
Adeeb Shihadeh 6af8eb88af update total scons nodes
old-commit-hash: 335aa318953b0ee2d1100a4e7ccc5000b00fd536
2020-08-11 16:24:53 -07:00
Adeeb Shihadeh 017b084154 Alert when updated consistently fails (#2013)
* alert when update fails more than 10 times

* bring over offroad alert refactor from other branch

* and we have tests

* use it in snapshot

* bump apk

* don't show exceptions on release branches

* only write when changed

* why does delete use so much cpu

* clean that up

* little more
old-commit-hash: 8e63f065400ea1868f077560ae89b2c17f5523f8
2020-08-11 16:23:57 -07:00
Adeeb Shihadeh 0097b87b62 add kona to release notes
old-commit-hash: d946638fce4a781765fb7441d5bbc14e6f3e59b7
2020-08-11 13:45:04 -07:00
Adeeb Shihadeh dbd9d952e9 increase controlsd CPU test threshold
old-commit-hash: f3adedacb29bc4784e474d89a960364c7a4c24cd
2020-08-11 13:43:19 -07:00
xps-genesis 1b330d06ce Car Port: 2020 Hyundai Kona (#2010)
* update KONA car port

* update Kona  Car Port

* ignore kona EV

* add Kona route

* update readme for Hyundia Kona

* remove electric for regular Kona
old-commit-hash: a3d754a8d88404ec7f8ef1f0c1d04dd65c1fa90a
2020-08-11 13:42:19 -07:00
VirtuallyChris a3be981fbd Nissan harnesses for sale
old-commit-hash: 1c802e20013db3f7fb1a92811ee69b4e0a84f8d0
2020-08-11 13:42:03 -07:00
Dean Lee a81c4ebd79 camerad: protect concurrent access to shared variables and avoid race conditions (#1966)
* Protect concurrent access for shared resources

* fix
old-commit-hash: f3fb406eee85b072c727ccaf027bd2dacd3aa69a
2020-08-11 11:40:11 -07:00
Erich Moraga c8676c69e3 Added additional IS 300 engine f/w (#2015)
@Asochgelt#1815 DongleID|route 3da61f28d4ece0e8|2020-08-11--09-25-48

Also expanded the firmware layout to make additional f/w entries easier.
old-commit-hash: 8c9378af794c49e1e1958863b5b0feef10dd771d
2020-08-11 11:29:19 -07:00
Adeeb Shihadeh 072f8bd84d Test standalone binary builds in CI (#2008)
* test updater, spinner, and text window build in CI

* we dont ship the libs for updater in release branches
old-commit-hash: 1f4714ba9807e3b641154d06479c6ee76b684242
2020-08-10 21:52:26 -07:00
VirtuallyChris b96bb265ef Fix Genesis G70 in readme
old-commit-hash: c2a6ae6e540e2783ff17034a5cf8f62e5d275ebb
2020-08-10 13:50:14 -07:00
VirtuallyChris d8e160dd53 Fix Readme
old-commit-hash: c2405a47b0fcc6f9eabbd7d26c019ebe6ce831f1
2020-08-10 13:47:13 -07:00
martinl 6a000279ad Add preglobal Subaru Forester and Outback (#1993)
* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018
old-commit-hash: c9adc4900b2e26d0582cb264da2e547a513de831
2020-08-10 12:31:40 -07:00
ZwX1616 5382cfacad update dm new model description
old-commit-hash: ed470453cf9dab18a084ce33acacec76499d3dae
2020-08-10 11:58:33 -07:00
Willem Melching c420eb0cf0 bump panda
old-commit-hash: cb064293a1ac6252583646324f6066f3a6dc50da
2020-08-10 12:08:14 +02:00
Adeeb Shihadeh 355e4a40a6 Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
old-commit-hash: c450110f961173302bec7873b81939f01d5ad1ac
2020-08-10 00:44:24 -07:00