Commit graph

194 commits

Author SHA1 Message Date
Adeeb Shihadeh fe7f3f0ec6
remove gpsd (#20027) 2021-02-10 16:39:39 -08:00
HaraldSchafer ab0456c0eb
fixup ui (#20049)
* fixup ui

* works

* new formate

* more cleanup

* works I assume we need a library somehow

* more readable

* fix lead sign

* put on road

* transformations lib

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-09 17:23:46 -08:00
Adeeb Shihadeh 46c0e0e6f3 fix failing CI jobs 2021-02-09 13:59:34 -08:00
Willem Melching 8b7c5503af
Unlogger send video over VisionIPC (#20046)
* unlogger: flag to send images over vipc

* vipc default

* add todo

* populate frame extra data

* multiple frame sizes
2021-02-09 19:48:08 +01:00
Willem Melching 5019d1d143 ui.py: topdown fixes 2021-02-09 11:38:30 +01:00
Willem Melching 7ee5fb7e66
Fixup ui.py (#20040)
* something working

* cleanup

* add offsets

* remove sensorium
2021-02-08 16:20:00 +01:00
Willem Melching e9c4a75a5c
Remove dockerhub references from CI (#20038)
* cache from base image

* specify github repo
2021-02-08 11:53:47 +01:00
Willem Melching d6a4c84a73 ui.py fix current steering angle 2021-02-04 22:39:49 +01:00
Willem Melching 7ae497d05d fix ui.py 2021-02-04 22:36:46 +01:00
Adeeb Shihadeh 000bd226aa
Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
2021-02-03 19:57:30 -08:00
grekiki 4a509982a7
update libs (#20009)
Co-authored-by: Comma Device <device@comma.ai>
2021-02-03 17:09:49 +01:00
Adeeb Shihadeh 2731283052 nui is built with scons now 2021-02-02 13:12:19 -08:00
Adeeb Shihadeh afa1e69bc1
faster webcam CI (#19975)
* don't copy in openpilot

* need that

* try this

* reenable the condition
2021-01-30 17:56:54 -08:00
HaraldSchafer 0e49919ab9
Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
2021-01-19 00:02:53 -08:00
Adeeb Shihadeh 14f9700f6a
fix mac CI (#19829)
* hopefully this isn't slow

* upgrade

* try this

* apparently this is the right way to do this
2021-01-18 17:28:30 -08:00
Marcos S c03a95f7f9
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>
2021-01-18 17:16:32 -08:00
Willem Melching 0a911a5e28 new macOS cache 2021-01-18 16:17:23 +01:00
Willem Melching 667390701f
Fix macOS CI (#19822)
* does this fix the hash

* this is not the solution

* restore key doesnt work
2021-01-18 15:08:11 +01:00
Willem Melching 4fa5b2091f fix mac build 2021-01-18 14:35:47 +01:00
Adeeb Shihadeh 758794dec5 few fixes from LGTM 2021-01-16 14:23:06 -08:00
HaraldSchafer 158210cde8
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>
2021-01-14 18:43:50 -08:00
Philipp Braun 5ce479cc56
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
2021-01-04 19:40:27 +01:00
Mayfield cbc25cc0f1
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
2021-01-03 12:33:42 -08:00
Adeeb Shihadeh 59d7c5e64a
move to github container registry + CI speedup (#19621) 2020-12-31 14:57:01 -08:00
Abdul Adhil PK 50d5434a9f
Update config.py code (#19609)
* Update config.py

* Update README.md
2020-12-28 15:36:23 -08:00
Willem Melching b09e5227d0 unlogger.py: make sure img is always set 2020-12-27 11:56:11 +01:00
Mayfield 5864f566df
add start_time parameter to unlogger (#19573)
* add start_time parameter to unlogger

* fix ui crash

* fix ui build
2020-12-21 23:34:24 -08:00
Adeeb Shihadeh 3c00e6792c
build nui with scons (#19561)
* it builds

* cleanup

* remove that
2020-12-20 19:39:59 -08:00
grekiki 5b26c97141
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>
2020-12-18 13:29:20 +01:00
Adeeb Shihadeh 8674b023ba
HW abstraction layer (#19530)
* start hw refactor

* move that

* pins

* put that back
2020-12-16 21:30:23 -08:00
grekiki 3a7fcc62fb
Fix Wifi UI not working on PC (#2597) 2020-11-22 00:10:00 +01:00
doktorsleepelss e1bda99acb
Upgrade pip in ubuntu setup (#2573) 2020-11-19 14:54:26 -08:00
Willem Melching 5ebc0dd85b replay assume segment number 2020-11-19 12:56:26 +01:00
Adeeb Shihadeh cc1bca542d
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>
2020-11-18 13:10:37 -08:00
Ryan Branch d533251093
Update Simulator-Related READMEs with links to /wiki/CARLA (#2557) 2020-11-15 12:13:12 -08:00
Logan Lasiter ed34ffb1ba
update panda in sim (#2528) 2020-11-11 20:49:54 -08:00
grekiki 9529764549
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>
2020-11-11 21:14:51 +01:00
Willem Melching ebb20dacb5 ui.py: fix transform 2020-11-09 05:35:02 -08:00
Adeeb Shihadeh 818bd8a591 trim trailing whitespace 2020-11-05 14:11:41 -08:00
ZwX1616 c0946c8bdb
generalize camera assumptions (#2423)
* clean up 1

* complain

* cleanup

* make models api generic

* clean up 2

* cleanup

* remove unused
2020-11-05 13:22:28 -08:00
Adeeb Shihadeh 47c21f10f5
grey panda is unsupported (#2458) 2020-11-03 19:56:25 -08:00
Adeeb Shihadeh 719c5e3598
ubuntu 16.04 -> 20.04 (#2378) 2020-10-29 16:51:09 -07:00
Adeeb Shihadeh 30c50e64fd
Fix mac CI (#2439) 2020-10-28 14:12:56 -07:00
Adeeb Shihadeh f571b7c751 get rid of rest of czmq 2020-10-27 19:07:56 -07:00
Adeeb Shihadeh 9a605d2617 bump c++ version for index_log 2020-10-23 22:12:30 -07:00
Adeeb Shihadeh f4e18e0b74
Build openpilot with webcam support in CI (#2070) 2020-10-16 15:16:17 -07:00
Willem Melching e23bb6113b
More macOS CI fixes (#2352)
* Revert "Fix macOS CI (#2345)"

This reverts commit 72a996a885.

* ignore update output
2020-10-16 20:12:44 +02:00
Willem Melching 72a996a885
Fix macOS CI (#2345) 2020-10-15 14:16:41 +02:00
Willem Melching 5d0a623b28 script to add ssh keys 2020-10-15 13:35:05 +02:00
Willem Melching 3dd9448981
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
2020-10-15 13:15:22 +02:00