Commit Graph

231 Commits

Author SHA1 Message Date
iejMac 7780426434 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>
old-commit-hash: c4031750f366905371565e3f9c80033534040647
2021-03-11 15:28:37 -08:00
iejMac 9c3c7b2f7d tuning simulator parameters (#20304)
* regular and low quality

* low_quality instead of quality

* fix
old-commit-hash: baf07191d258d86b324b85cb5641cddc1d2b1ad7
2021-03-10 21:57:24 -08:00
iejMac efdd0e213a optimizing simulator performance (#20295)
* 20 hz

* weird blank screen on Low quality

* Epic quality
old-commit-hash: ea5fec76368617ec79344b1606a26c70af7e63a5
2021-03-09 23:48:46 -08:00
iejMac e8326f2555 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
old-commit-hash: 072cdcad6bedcf54d94fa8c73d5e6809b8469a3b
2021-03-09 19:52:43 -08:00
Adeeb Shihadeh 1eed3b756b fix cached mac CI run (#20294)
old-commit-hash: 92c5bbf92de0401c6f6a7c8f9d246dcf75644dbb
2021-03-09 19:37:17 -08:00
Adeeb Shihadeh 8ec4fa1002 update to python 3.8.5 (#20217)
old-commit-hash: 2034a047507c9eb69dd431d6527fff0af6157c62
2021-03-09 13:38:22 -08:00
Adeeb Shihadeh fabba154c0 Revert "fix default plotjuggler path"
This reverts commit ef43028586fc331002cc4201aca5c4e2fc5b19c1.

old-commit-hash: 8456917a0ecdbb5ecda95a8f19c8eef7ddc0a6e7
2021-03-09 13:35:00 -08:00
Robbe Derks 77460b2b65 fix default plotjuggler path
old-commit-hash: 91ec0a20990ae3b5e2f37f5f8f571a7aa0d7d7c2
2021-03-09 12:08:00 +01:00
Adeeb Shihadeh 396e0dd092 merge tools/misc and tools/scripts
old-commit-hash: 05f6c97f4cbb36bba03416a9931bf824159618f0
2021-03-08 20:37:21 -08:00
Adeeb Shihadeh aebfd97edd small carla docker fixes
old-commit-hash: 1f3278461a3d93d247c9a5854434e973c9eb8b70
2021-03-08 20:12:34 -08:00
Willem Melching 2e6473611d bridge.py: don't clear params
old-commit-hash: b2b207917eb8fe47342ee2cc4a45e9cdfca8a837
2021-03-08 15:53:18 +01:00
Willem Melching e58f651070 start_openpilot_docker.sh: pull image
old-commit-hash: bedfca4fc9e0b89f46e0e27c3fcd2501ee050855
2021-03-08 15:42:24 +01:00
iejMac afc0597686 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>
old-commit-hash: 968ed10200913d81833e87a738cd780089eb0eaa
2021-03-07 23:02:57 -08:00
Willem Melching c0098cec09 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>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
iejMac 3db55c19ab Update README.md
old-commit-hash: 1a2e67583cbd19c4cd702fd36995643d564c4b58
2021-03-04 15:01:40 -08:00
Willem Melching a07446efe8 ui.py: draw lines on radarState leads
old-commit-hash: 7c8fcad602b93dd6b11930d7dc3eee38caa1c00c
2021-03-03 13:05:41 +01:00
Willem Melching 66e22fe9b3 juggle.py: add exception
old-commit-hash: 91ee1cbfa09ffa65b0603714637aee00d184783d
2021-03-02 12:13:06 +01:00
Greg Hogan 44f03a9401 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
old-commit-hash: 78808961c53a29fddcec334358a0fcc55aa69a1c
2021-03-01 13:03:44 -08:00
Adeeb Shihadeh 6f15cd34e1 plotjuggler readme screenshot
old-commit-hash: bab772f5c8178c75d8684ec157dac947e6b33a19
2021-02-27 21:11:40 -08:00
iejMac 461046adcb 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>
old-commit-hash: 371272d94b0eac6da4309568ecb3959e74b24195
2021-02-26 19:11:59 -08:00
iejMac 36ecc144ff 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>
old-commit-hash: 9144dd7c2f9c0a4d3a4b5188367b409ac3349eba
2021-02-26 17:14:37 -08:00
Willem Melching ba8f7e85ba juggle: gitignore leftover rlog files
old-commit-hash: 001854aed4d0a2264e0f4443ebcce55ace0b4674
2021-02-25 18:40:19 +01:00
iejMac 985aa8c8bb 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>
old-commit-hash: 90ba43676ad34f0e676846013d7fea3263f0409c
2021-02-24 22:50:27 -08:00
Willem Melching f121e56fcf set DBC_NAME env when juggling (#20139)
* set dbc env when juggling

* small cleanup
old-commit-hash: 40ff66c518a5d87290783076c41e1cad475372e9
2021-02-23 16:37:39 +01:00
Willem Melching 7001e40fb5 plotjuggler: also ignore symlink to bin directory
old-commit-hash: ab645c3528febbbf0b1cbb63c21da1df1784e4aa
2021-02-23 13:22:04 +01:00
Willem Melching ba33ea935c juggle.py: don't remove CAN data
old-commit-hash: 330fc3509584fab726a92d09732d862e2aa4cb7a
2021-02-22 18:47:59 +01:00
Willem Melching 16f7cae050 add some error handling to juggle log loading
old-commit-hash: 5c51516839c0bc86a44c7183a9c396896b7eca44
2021-02-19 11:19:02 +01:00
Willem Melching 5df5262f3b fix ui and unlogger after cereal cleanup
old-commit-hash: dfa10ed184968d893b4bce36871931bbee5e6432
2021-02-18 17:34:09 +01:00
Willem Melching d7270e9463 juggle: add qlog argument
old-commit-hash: ce00f420baceefc3b1ac54f1de449404ed803823
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: d4feecd8032567c0e331713a8af7caab35b6495c
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: d1b44bbb345e02eaf5225c2b90fef819b29bc07a
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: 4d46c521d18921f49fc47e79a916f9ed6ecd218a
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: 3538e2060a5d00109817d1b59fdfd78b1967473a
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: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
iejMac 41aff3f9e1 changing release name for plotjuggler
old-commit-hash: 766605fe533ce6130e943474fe0e1ca966f16ad0
2021-02-12 21:46:14 -08:00
Adeeb Shihadeh 8a0a487c0a don't need this, driver view works on pc
old-commit-hash: 9a82d937a77d7ab95128ec59d12ff6ae969e619a
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: e5cc110081862d53b29f4ccd2d7577dc9a774580
2021-02-11 22:40:12 -08:00
Adeeb Shihadeh af95c26b26 remove gpsd (#20027)
old-commit-hash: fe7f3f0ec6b66e42b26451e180e3cde241e749bb
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: ab0456c0eb41090fd9292d8643975e93983ae85e
2021-02-09 17:23:46 -08:00
Adeeb Shihadeh 8de51bbd65 fix failing CI jobs
old-commit-hash: 46c0e0e6f34e25cfdded9e19fdaa6abf30d8a7c2
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: 8b7c5503afbfb18b4f84c98323a6f2d9b2f51777
2021-02-09 19:48:08 +01:00
Willem Melching eae5fb2e7b ui.py: topdown fixes
old-commit-hash: 5019d1d14392c0943c8aa96c62cc7808585c2a84
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: 7ee5fb7e66a7348e68c987892bd158ec89e26008
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: e9c4a75a5c430ac6968808f103145cd0bd98a17a
2021-02-08 11:53:47 +01:00
Willem Melching ee4c5cbbbe ui.py fix current steering angle
old-commit-hash: d6a4c84a7343d6442f5fa6970f1e9f5fd9839c5c
2021-02-04 22:39:49 +01:00
Willem Melching 3516acf3ad fix ui.py
old-commit-hash: 7ae497d05d92f416c162102c728d07822d41b564
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: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
grekiki 60de719638 update libs (#20009)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4a509982a785085c5ec3b91e06fa846b1ea8ecbe
2021-02-03 17:09:49 +01:00
Adeeb Shihadeh bf0d5f5ad9 nui is built with scons now
old-commit-hash: 273128305230c59cbd383e2e557352baa7a1df80
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: afa1e69bc1cb74949ebed7e7517f428ae0f93c27
2021-01-30 17:56:54 -08:00