Commit Graph

243 Commits (e76c80ffa1b6167fd69465c66f31fbe475762330)

Author SHA1 Message Date
Willem Melching 0e338d2b91
use scons to build panda fw (#20457)
* use scons to build panda fw

* add arm gcc to dockerfile

* install gcc on macOS

* pandad shutdown test is flaky and broken due to faster startup

* bump panda
2021-03-24 14:44:39 +01:00
iejMac 05e53fb047
increasing time for PlotJuggler CI 2021-03-23 21:33:31 -07:00
Willem Melching c563968003 sim/build_container.sh: fix container name 2021-03-23 13:20:59 +01:00
ChoMinSung 34342b21a9
start_openpilot_docker.sh: fix docker container name (#20444) 2021-03-23 13:20:11 +01:00
cydia2020 e87d88490b
README.md for SSH (#20365)
* SSH README

* table of contents fix

* fix ambiguity

* removed some useless sections

* Update README.md

* fix line

* cleanup

* add link

* this is correct

* Add notice that key is only fetched once

* Update README.md

* end of sentence

* Even more

* Update tools/ssh/README.md

* move ssh above tools

* remove useless sections

* succint

* note

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-21 18:58:58 -07:00
iejMac 1830a87d9a
update simulator README 2021-03-17 00:42:32 -07:00
iejMac dc1506e382
mount openpilot in simulator docker image (#20379)
* mount parameter

* works

* fixes
2021-03-16 22:23:38 -07:00
qadmus e7e76b755b
Fix warning popup for file not found, batman. (#20364) 2021-03-16 19:31:24 -07:00
Willem Melching aebad0b5e2 juggle.py: make CAN optional to speed up parsing 2021-03-15 11:36:21 +01:00
wolterhv 5463469f71
Specify comma containers come from ghcr.io in docker pull commands. (#20342) 2021-03-14 12:59:05 -07:00
Willem Melching c23ec9f753
LateralPlanner should only compute curvature (#20289)
* get curvature from planner

* no need to check active

* remove that

* remove self

* liveParams not needed

* cast

* fix test bug

* fixes

* fix ui.py

* fix radians

* update refs

* update refs

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-11 21:08:51 -08:00
iejMac 1e5b04ba2f
Minimize sim docker image size (#20324) 2021-03-11 19:04:29 -08:00
iejMac c4031750f3
improving tools readme (#20305)
* rough draft

* plotjuggler and carla description

* testing someting

* this is cool

* very short replay and debug desc

* small change

* small change 2

* better word

* low quality mode

* better word

* fixes

* changes

* minor fixes

* ubuntu_setup fix + README changes

* Update tools/README.md

* Update README.md

* Update README.md

* Update README.md

* changes

* Update tools/sim/README.md

* final changes

* final change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-11 15:28:37 -08:00
iejMac baf07191d2
tuning simulator parameters (#20304)
* regular and low quality

* low_quality instead of quality

* fix
2021-03-10 21:57:24 -08:00
iejMac ea5fec7636
optimizing simulator performance (#20295)
* 20 hz

* weird blank screen on Low quality

* Epic quality
2021-03-09 23:48:46 -08:00
iejMac 072cdcad6b
minor bug fixes in sim (#20286)
* order doensn't matter

* order doensn't matter

* minor fixes

* minor fixes

* not blocking ctrl-c

* removing weather params

* removing type ignore
2021-03-09 19:52:43 -08:00
Adeeb Shihadeh 92c5bbf92d
fix cached mac CI run (#20294) 2021-03-09 19:37:17 -08:00
Adeeb Shihadeh 2034a04750
update to python 3.8.5 (#20217) 2021-03-09 13:38:22 -08:00
Adeeb Shihadeh 8456917a0e Revert "fix default plotjuggler path"
This reverts commit 91ec0a2099.
2021-03-09 13:35:00 -08:00
Robbe Derks 91ec0a2099 fix default plotjuggler path 2021-03-09 12:08:00 +01:00
Adeeb Shihadeh 05f6c97f4c merge tools/misc and tools/scripts 2021-03-08 20:37:21 -08:00
Adeeb Shihadeh 1f3278461a small carla docker fixes 2021-03-08 20:12:34 -08:00
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