Commit Graph

205 Commits

Author SHA1 Message Date
Willem Melching
16f7cae050 add some error handling to juggle log loading
old-commit-hash: 5c51516839
2021-02-19 11:19:02 +01:00
Willem Melching
5df5262f3b fix ui and unlogger after cereal cleanup
old-commit-hash: dfa10ed184
2021-02-18 17:34:09 +01:00
Willem Melching
d7270e9463 juggle: add qlog argument
old-commit-hash: ce00f420ba
2021-02-18 11:24:31 +01:00
iejMac
b97a2a3dd3 plotjuggler falling back to qlog (#20105)
* fallback to qlogs

* minor fixes

* removed extra line

* help on no args

* Update tools/plotjuggler/juggle.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d4feecd803
2021-02-17 22:59:31 -08:00
Adeeb Shihadeh
0823abceff tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
old-commit-hash: d1b44bbb34
2021-02-17 20:37:01 -08:00
iejMac
162814cdd9 argparser for plotjuggler (#20103)
* argparse

* import os

* need rest of env

* update readme

* style fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4d46c521d1
2021-02-17 20:07:37 -08:00
Willem Melching
48fe1c6d29 juggle a whole route (#20099)
* juggle a whole route

* use local juggler
old-commit-hash: 3538e2060a
2021-02-17 17:21:07 -08:00
Adeeb Shihadeh
05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
iejMac
41aff3f9e1 changing release name for plotjuggler
old-commit-hash: 766605fe53
2021-02-12 21:46:14 -08:00
Adeeb Shihadeh
8a0a487c0a don't need this, driver view works on pc
old-commit-hash: 9a82d937a7
2021-02-12 13:41:41 -08:00
Adeeb Shihadeh
e6e1b719a7 plotjuggler (#20063)
* we're jugglin

* install.sh works + README

* new readme

* new readme

* better readme

* fixes

* more fixes

* fix

Co-authored-by: iejMac <gig13omb@gmail.com>
old-commit-hash: e5cc110081
2021-02-11 22:40:12 -08:00
Adeeb Shihadeh
af95c26b26 remove gpsd (#20027)
old-commit-hash: fe7f3f0ec6
2021-02-10 16:39:39 -08:00
HaraldSchafer
8bb63abe4f 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>
old-commit-hash: ab0456c0eb
2021-02-09 17:23:46 -08:00
Adeeb Shihadeh
8de51bbd65 fix failing CI jobs
old-commit-hash: 46c0e0e6f3
2021-02-09 13:59:34 -08:00
Willem Melching
9726154c52 Unlogger send video over VisionIPC (#20046)
* unlogger: flag to send images over vipc

* vipc default

* add todo

* populate frame extra data

* multiple frame sizes
old-commit-hash: 8b7c5503af
2021-02-09 19:48:08 +01:00
Willem Melching
eae5fb2e7b ui.py: topdown fixes
old-commit-hash: 5019d1d143
2021-02-09 11:38:30 +01:00
Willem Melching
ccdcbea799 Fixup ui.py (#20040)
* something working

* cleanup

* add offsets

* remove sensorium
old-commit-hash: 7ee5fb7e66
2021-02-08 16:20:00 +01:00
Willem Melching
c8bcf66cd5 Remove dockerhub references from CI (#20038)
* cache from base image

* specify github repo
old-commit-hash: e9c4a75a5c
2021-02-08 11:53:47 +01:00
Willem Melching
ee4c5cbbbe ui.py fix current steering angle
old-commit-hash: d6a4c84a73
2021-02-04 22:39:49 +01:00
Willem Melching
3516acf3ad fix ui.py
old-commit-hash: 7ae497d05d
2021-02-04 22:36:46 +01:00
Adeeb Shihadeh
966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

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

* need that

* try this

* reenable the condition
old-commit-hash: afa1e69bc1
2021-01-30 17:56:54 -08:00
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: 0e49919ab9
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: 14f9700f6a
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: c03a95f7f9
2021-01-18 17:16:32 -08:00
Willem Melching
90dda34c8b new macOS cache
old-commit-hash: 0a911a5e28
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: 667390701f
2021-01-18 15:08:11 +01:00
Willem Melching
2bef6edc2d fix mac build
old-commit-hash: 4fa5b2091f
2021-01-18 14:35:47 +01:00
Adeeb Shihadeh
6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5
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: 158210cde8
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: 5ce479cc56
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: cbc25cc0f1
2021-01-03 12:33:42 -08:00
Adeeb Shihadeh
c64a8356fe move to github container registry + CI speedup (#19621)
old-commit-hash: 59d7c5e64a
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: 50d5434a9f
2020-12-28 15:36:23 -08:00
Willem Melching
fc56b5d32e unlogger.py: make sure img is always set
old-commit-hash: b09e5227d0
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: 5864f566df
2020-12-21 23:34:24 -08:00
Adeeb Shihadeh
5eecc6056f build nui with scons (#19561)
* it builds

* cleanup

* remove that
old-commit-hash: 3c00e6792c
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: 5b26c97141
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: 8674b023ba
2020-12-16 21:30:23 -08:00
grekiki
4603a9b9d3 Fix Wifi UI not working on PC (#2597)
old-commit-hash: 3a7fcc62fb
2020-11-22 00:10:00 +01:00
doktorsleepelss
444080d1b6 Upgrade pip in ubuntu setup (#2573)
old-commit-hash: e1bda99acb
2020-11-19 14:54:26 -08:00
Willem Melching
73cda87984 replay assume segment number
old-commit-hash: 5ebc0dd85b
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: cc1bca542d
2020-11-18 13:10:37 -08:00
Ryan Branch
5cc1ee584a Update Simulator-Related READMEs with links to /wiki/CARLA (#2557)
old-commit-hash: d533251093
2020-11-15 12:13:12 -08:00
Logan Lasiter
9f2d368340 update panda in sim (#2528)
old-commit-hash: ed34ffb1ba
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: 9529764549
2020-11-11 21:14:51 +01:00
Willem Melching
7d7053a54e ui.py: fix transform
old-commit-hash: ebb20dacb5
2020-11-09 05:35:02 -08:00
Adeeb Shihadeh
0f2dfbfc52 trim trailing whitespace
old-commit-hash: 818bd8a591
2020-11-05 14:11:41 -08:00