Commit Graph

1521 Commits

Author SHA1 Message Date
Willem Melching
b2b207917e bridge.py: don't clear params 2021-03-08 15:53:18 +01:00
Willem Melching
bedfca4fc9 start_openpilot_docker.sh: pull image 2021-03-08 15:42:24 +01:00
iejMac
968ed10200 Fix simulator docker: CPU only for now (#20227)
* initial commit

* CPU working in dokcer

* Update selfdrive/manager.py

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

* Update selfdrive/manager.py

* fixes

* fixing env var

* fixes

* building and running in docker

* camerad fix

* camerad fix

* this ACTUALLY works

* removing unused libraries

* updating to CARLA 0.9.11

* removing useless flags

* small changes

* forgot this

* sudo not needed for xhost

* final changes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-07 23:02:57 -08:00
Willem Melching
5a3b511306 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

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

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-05 11:03:23 +01:00
iejMac
1a2e67583c Update README.md 2021-03-04 15:01:40 -08:00
Willem Melching
7c8fcad602 ui.py: draw lines on radarState leads 2021-03-03 13:05:41 +01:00
Willem Melching
91ee1cbfa0 juggle.py: add exception 2021-03-02 12:13:06 +01:00
Greg Hogan
78808961c5 fix log values with non-utf8 characters and remove index_log (#20173)
* remove index_log

* handle non-unicode characters in values

* dump.py better handling of printing non-unicode characters

* only replace errors in main
2021-03-01 13:03:44 -08:00
Adeeb Shihadeh
bab772f5c8 plotjuggler readme screenshot 2021-02-27 21:11:40 -08:00
iejMac
371272d94b PlotJuggler demo (#20172)
* initial demo with popup bug

* demo fixes

* demo fixes

* Update tools/plotjuggler/juggle.py

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-26 19:11:59 -08:00
iejMac
9144dd7c2f PlotJuggler CI with build from source (#20166)
* CI attempt

* fixing location

* fix

* fixes

* hardcode test_url for CI

* fixes

* cd fix

* Update tools/plotjuggler/juggle.py

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

* Update tools/plotjuggler/test_plotjuggler.py

* fixes

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-26 17:14:37 -08:00
Willem Melching
001854aed4 juggle: gitignore leftover rlog files 2021-02-25 18:40:19 +01:00
iejMac
90ba43676a working with snap (#20155)
* changes

* fixes

* Update tools/plotjuggler/juggle.py

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-24 22:50:27 -08:00
Willem Melching
40ff66c518 set DBC_NAME env when juggling (#20139)
* set dbc env when juggling

* small cleanup
2021-02-23 16:37:39 +01:00
Willem Melching
ab645c3528 plotjuggler: also ignore symlink to bin directory 2021-02-23 13:22:04 +01:00
Willem Melching
330fc35095 juggle.py: don't remove CAN data 2021-02-22 18:47:59 +01:00
Willem Melching
5c51516839 add some error handling to juggle log loading 2021-02-19 11:19:02 +01:00
Willem Melching
dfa10ed184 fix ui and unlogger after cereal cleanup 2021-02-18 17:34:09 +01:00
Willem Melching
ce00f420ba juggle: add qlog argument 2021-02-18 11:24:31 +01:00
iejMac
d4feecd803 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>
2021-02-17 22:59:31 -08:00
Adeeb Shihadeh
d1b44bbb34 tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
2021-02-17 20:37:01 -08:00
iejMac
4d46c521d1 argparser for plotjuggler (#20103)
* argparse

* import os

* need rest of env

* update readme

* style fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-17 20:07:37 -08:00
Willem Melching
3538e2060a juggle a whole route (#20099)
* juggle a whole route

* use local juggler
2021-02-17 17:21:07 -08:00
Adeeb Shihadeh
312b681a46 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
2021-02-16 21:39:32 -08:00
iejMac
766605fe53 changing release name for plotjuggler 2021-02-12 21:46:14 -08:00
Adeeb Shihadeh
9a82d937a7 don't need this, driver view works on pc 2021-02-12 13:41:41 -08:00
Adeeb Shihadeh
e5cc110081 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>
2021-02-11 22:40:12 -08:00
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