Commit Graph

181 Commits

Author SHA1 Message Date
HaraldSchafer
7af6dab1e8 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
old-commit-hash: 0e49919ab99b9cb85c5df271de5145e388d756ad
2021-01-19 00:02:53 -08:00
Adeeb Shihadeh
905105e94a fix mac CI (#19829)
* hopefully this isn't slow

* upgrade

* try this

* apparently this is the right way to do this
old-commit-hash: 14f9700f6af4e8139138a8272f6ccf2325f16b08
2021-01-18 17:28:30 -08:00
Marcos S
059bddf7fc Carla fixes (#19824)
* use carla provided frame_number

* fix carla comm issues error

* add minimal W-A-S-D keyboard controls

* fix window from carla docker not showing

* carla 0.9.7 uses `frame`, not `frame_number`

* set safetyModel on health for simulator

* safetyModel check now works with simulator

* ignore ubloxRaw and frontFrame when running sim

* Update selfdrive/controls/controlsd.py

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

* added WINDOW flag for optional show carla window

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c03a95f7f92ab3eda7fe3b3db9776062aae0cbac
2021-01-18 17:16:32 -08:00
Willem Melching
90dda34c8b new macOS cache
old-commit-hash: 0a911a5e28834104d3322a4d79af2272ad51e5a5
2021-01-18 16:17:23 +01:00
Willem Melching
42ba637d9b Fix macOS CI (#19822)
* does this fix the hash

* this is not the solution

* restore key doesnt work
old-commit-hash: 667390701f8a74f55343d5c1d3a21ea2392affac
2021-01-18 15:08:11 +01:00
Willem Melching
2bef6edc2d fix mac build
old-commit-hash: 4fa5b2091fe932a0fefc72511499860b4a28e2ba
2021-01-18 14:35:47 +01:00
Adeeb Shihadeh
6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5a886a8c3704d9e2ac191f8c208cc7e
2021-01-16 14:23:06 -08:00
HaraldSchafer
c6d9b9565a Mpc rework2 (#19660)
* start again

* need that too

* this actually works

* not needed

* do properly

* still works

* still works

* still good

* all G without ll

* still works

* all still good

* cleanup building

* cleanup sconscript

* new lane planner

* how on earth is this silent too....

* update

* add rotation radius

* update

* pathplanner first pass

* misc fixes

* fix

* need deep_interp

* local again

* fix

* fix test

* very old

* new replay

* interp properly

* correct length

* another horrible silent bug

* like master

* fix that

* do doubles

* different delay compensation

* make robust to empty msg

* make pass with hack for now

* add some extra

* update ref for increased leg

* test cpu usage on this pr

* tiny bit faster

* purge numpy

* update ref

* not needed

* ready for merge

* try again after recompile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 158210cde8e689daa04bcaa1e502727cf7bfddb6
2021-01-14 18:43:50 -08:00
Philipp Braun
d572cd31cb ui.py: white text on graphs (#19636)
* Improve readability and add automatic size detection

* Fix global variables

* Revert angle scale

* Revert enabled and brake colors

* Fix used colors
old-commit-hash: 5ce479cc561f2ba454de67903e79eec07ac3ff04
2021-01-04 19:40:27 +01:00
Mayfield
dc72980c83 Make macos ci homebrew dep-caching fast (#19632)
* try out /usr/local for homebrew caching

* TEMP: disable non-macos jobs

* TEMP: disable more

* sizes

* temp: nothing change

* more

* try -1

* quotes

* delete existing downloads

* fix ~ expansion

* nothing

* try caching cellar

* move to yaml

* nothing

* nothing

* asdf

* nothing

* fixed cache key

* nothing

* stay in home dir

* keep zstd

* brew link

* fix cleaning?

* brew link in yaml

* fix zstd exclusion

* capnp

* revert mac_setup

* finish up

* done
old-commit-hash: cbc25cc0f1c639e948181e1218db60631cf9ff66
2021-01-03 12:33:42 -08:00
Adeeb Shihadeh
c64a8356fe move to github container registry + CI speedup (#19621)
old-commit-hash: 59d7c5e64ac3c8666c54c3443f912e4e0db92eb9
2020-12-31 14:57:01 -08:00
Abdul Adhil PK
bc426feb1f Update config.py code (#19609)
* Update config.py

* Update README.md
old-commit-hash: 50d5434a9f28d3454b02ed48963d714fafed9ec2
2020-12-28 15:36:23 -08:00
Willem Melching
fc56b5d32e unlogger.py: make sure img is always set
old-commit-hash: b09e5227d04cfa80d962f8974de850a5a084cf29
2020-12-27 11:56:11 +01:00
Mayfield
93d23902da add start_time parameter to unlogger (#19573)
* add start_time parameter to unlogger

* fix ui crash

* fix ui build
old-commit-hash: 5864f566df948e073ebe263eb3893ade2f566037
2020-12-21 23:34:24 -08:00
Adeeb Shihadeh
5eecc6056f build nui with scons (#19561)
* it builds

* cleanup

* remove that
old-commit-hash: 3c00e6792c905bffb5997970fea9b13f43ccf451
2020-12-20 19:39:59 -08:00
grekiki
9f0611507e Qt Offroad stats (#19498)
* probably broke a lot, need the commit though

* finally works

* make it work...

* ...

* kind of works

* better styling

* all should work

* tiny cleanup

* temp

* looks nicer

* create JWT in C++

* kilometers -> km

* use correct free methods

* dont put code in assert statement

* Build JWT payload dynamically

* get dongle id once

* include cleanup

* Remove qDebug

* Update drive_stats.cc

Github is a nice editor :)

* swap week and all and fix sconscript

* install openssl

* openssl include dirs on mac

* is this where openssl is?

* It's here

* small cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5b26c97141b65e3bcbddaec7e6526d5f2f1c910e
2020-12-18 13:29:20 +01:00
Adeeb Shihadeh
b950cab874 HW abstraction layer (#19530)
* start hw refactor

* move that

* pins

* put that back
old-commit-hash: 8674b023bab2b44405139ceec5785a389f837682
2020-12-16 21:30:23 -08:00
grekiki
4603a9b9d3 Fix Wifi UI not working on PC (#2597)
old-commit-hash: 3a7fcc62fb5bdadab0122625114d5b5e99a3e47e
2020-11-22 00:10:00 +01:00
doktorsleepelss
444080d1b6 Upgrade pip in ubuntu setup (#2573)
old-commit-hash: e1bda99acbf7f471ec94d76fb6b12f9d488e99bf
2020-11-19 14:54:26 -08:00
Willem Melching
73cda87984 replay assume segment number
old-commit-hash: 5ebc0dd85b49e33b261a533352c2c1dc2fb11951
2020-11-19 12:56:26 +01:00
Adeeb Shihadeh
d4bf764d99 update simulator to ubuntu 20.04 (#2463)
* fix sim build in 20.04

* run ci

* fix docker build

* restore ci cofnig

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: cc1bca542d8a12acc381fc3d284d37b57b12c6ee
2020-11-18 13:10:37 -08:00
Ryan Branch
5cc1ee584a Update Simulator-Related READMEs with links to /wiki/CARLA (#2557)
old-commit-hash: d53325109325399a5794a4916a1ec935a85d3b68
2020-11-15 12:13:12 -08:00
Logan Lasiter
9f2d368340 update panda in sim (#2528)
old-commit-hash: ed34ffb1ba2091a2d8428d196b3c030f1ce8c349
2020-11-11 20:49:54 -08:00
grekiki
0b902a02c1 Scons builder for cython extensions (#2485)
* complie boardd without python

* not good, but don't want to lose the file, because it works

* clean a bit

* update dbc

* should build on CI

* not good, but don't want to lose the file, because it works

* clean a bit

* should build on CI

* remove unneeded path

* reorder paths

* reduce diff

* and now it works?!

* ... should work in CI

* add kj, 30% chance to fix macos

* pydebug

* new way to find path

* fix :)

* tested

* sanity check

* repl. MacOS flags

* hope it works

* need more logs

* need more logs2

* test if it works

* should work on CI

* correct python file

* should not work

* cleanup

* real cleanup

* more removals

* 50% of file

* transformations

* fixed a hardcoded variable

* more logs

* simpl.

* kalman

* all donw if it passes tests

* cleanup

* reduce code by 20 lines if this works

* fix bugs

* cleanup

* SharedLibrary

* cleanup

* ...

* remove unused

* CI fix maybe?

* add more valid path

* more logs

* ...:

* fix webcam CI

* remove WError flag

* deprecated is not an error

* more Wno things

* reduce diff, add Wno to env

* don't import nonexistent stuff

* SharedLibrary v2

* less custom env

* renaming, remove SharedLibs

* pack libs in envCython

* experiment

* better docker caching

* whitespace

* more docker caching

* improvement

* improvements

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9529764549b8c59f7cf141ff3d2d9613ab53beab
2020-11-11 21:14:51 +01:00
Willem Melching
7d7053a54e ui.py: fix transform
old-commit-hash: ebb20dacb5761269a4c186d82d907b0ed16738eb
2020-11-09 05:35:02 -08:00
Adeeb Shihadeh
0f2dfbfc52 trim trailing whitespace
old-commit-hash: 818bd8a591193b891cee44726203de327c5dd7fb
2020-11-05 14:11:41 -08:00
ZwX1616
4dc3fb994e generalize camera assumptions (#2423)
* clean up 1

* complain

* cleanup

* make models api generic

* clean up 2

* cleanup

* remove unused
old-commit-hash: c0946c8bdbaac0029c67e0b2ba4e591f591790eb
2020-11-05 13:22:28 -08:00
Adeeb Shihadeh
f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
2e5247056a ubuntu 16.04 -> 20.04 (#2378)
old-commit-hash: 719c5e3598846a6f3fa08c85bb811d197e0c6d0a
2020-10-29 16:51:09 -07:00
Adeeb Shihadeh
ffd5ea18bc Fix mac CI (#2439)
old-commit-hash: 30c50e64fd0330136563657245ef00937e7dd81f
2020-10-28 14:12:56 -07:00
Adeeb Shihadeh
8f9f31778d get rid of rest of czmq
old-commit-hash: f571b7c751847fbf6f28006fc4c4d57e640636d5
2020-10-27 19:07:56 -07:00
Adeeb Shihadeh
df208e441a bump c++ version for index_log
old-commit-hash: 9a605d2617bd701ce013eedbe0a47782c865fb09
2020-10-23 22:12:30 -07:00
Adeeb Shihadeh
fb935fa5f7 Build openpilot with webcam support in CI (#2070)
old-commit-hash: f4e18e0b7408bc73ffa9320c8ce2689b74993430
2020-10-16 15:16:17 -07:00
Willem Melching
ee0db09976 More macOS CI fixes (#2352)
* Revert "Fix macOS CI (#2345)"

This reverts commit aab966d935e2033254abd64a1fae97145dcc3a6a.

* ignore update output
old-commit-hash: e23bb6113b7abe9ecb092ced1f36ea3f9bfd3611
2020-10-16 20:12:44 +02:00
Willem Melching
e952dd722d Fix macOS CI (#2345)
old-commit-hash: 72a996a8857f98f3cc30c6fe4cef37596e6c6fdf
2020-10-15 14:16:41 +02:00
Willem Melching
dcb8480135 script to add ssh keys
old-commit-hash: 5d0a623b287ed82c3af1975a64ac4c19748c6ef4
2020-10-15 13:35:05 +02:00
Willem Melching
789d5176cb Params path only in one place (#2344)
* fix params paths

* Qcom & qcom2

* This env variable is not used anywhere

* params path in only one place

* fix other PARAMS_PATH references

* absolute path is probably better
old-commit-hash: 3dd944898183be0ecf985f389d462e53c3feb8e5
2020-10-15 13:15:22 +02:00
Willem Melching
05a758d70e build sim container with available cores
old-commit-hash: e2fa4cc212700bf53d1c79813e2351792e1effb0
2020-10-12 15:13:13 +02:00
Willem Melching
af97e71063 Try only extracting python folder (#2321)
old-commit-hash: f258366e0c276bec0818286f5aeca1397eb51621
2020-10-12 13:37:01 +02:00
Willem Melching
1a2893345a add check for partial response code (#2282)
old-commit-hash: 529e9a23ea74b4abd55f95fb5588732585624d1f
2020-10-07 12:14:22 +02:00
Greg Hogan
3ea69f614e eliminate round-trip reading entire file (#2275)
* eliminate round-trip reading entire file

* only if reading entire file

* print headers in errors

* fix end
old-commit-hash: 2293a6a36c4283626d3079294fed1905e0672a76
2020-10-05 16:59:19 -07:00
Tom Dörr
370ba02e6c Add Flags to Control Simulator (#2246)
* Add flags

* Update readme
old-commit-hash: c13c6ef76b1b3bc9249ba08818f6afef0ee37076
2020-09-29 14:00:03 -07:00
Tom Dörr
260ff8cd46 Name openpilot docker container (#2239)
old-commit-hash: 459aa1123d0bd7d6715951c4f8007c34ae83ac1a
2020-09-28 14:44:03 -07:00
Tom Dörr
0768cf8be5 Enable Ctrl-C for Carla Server (#2240)
old-commit-hash: e6eedbe70453c72c695663411b41aca437493202
2020-09-28 13:41:37 -07:00
Willem Melching
d849706bc9 remove parallel url downloader
old-commit-hash: 927ef086f785409931e4d9c5d1274e9ab5d1568a
2020-09-21 10:32:08 +02:00
grekiki
398796a010 FileReader: cache files locally (#2170)
* framework for updates

* File caching

* update .gitignore

* update .gitignore

* Store in home tmp directory

* fix bugs in old code, add tests

* add test

* revert bug

* Fixed some bugs, more testing

* doing some style fixes

* Update caching with lenghts

* doing some style fixes

* doing some style fixes

* doing some style fixes

* subrepositories

* try to fix the tests

* change submodules back

* doing some style fixes

* if we don't cache, we don't cache length either

* fix curls

* make sure tests run in ci

* Cleanup tests

* Use int for cache flag

* fix linter

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 05b64257dfac3e240135e9f40eb5ebaa8f97fdcb
2020-09-17 13:03:34 +02:00
Greg Hogan
f1835a740a more pipenv version updates
old-commit-hash: be2b093d6ea74a9d6b6eb5a4b7858b0889bb29c9
2020-09-15 18:25:16 -07:00
Adeeb Shihadeh
556c862586 fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
old-commit-hash: 4cbf965165bab44dcf819aaafbd2d99c89994c97
2020-09-12 14:31:20 -07:00
grekiki
41142635d2 Update README.md
old-commit-hash: 596ab39e0336249c7f75641a530b02c6a65c3e0c
2020-09-11 17:42:31 +02:00
grekiki
dd8fe84a95 Update README.md
old-commit-hash: 5fad5779c92f3a3730cc122f8d596159dd07a273
2020-09-11 17:42:12 +02:00