Commit Graph

252 Commits

Author SHA1 Message Date
iejMac ff2138d905 qt replay (#20602)
* initial commit, works

* remove nui

* working again

* visionipc

* cleanup

* cleanup

* moving VisionIpcServer to Unlogger class

* works

* tab cleanup

* headless mode

* headless mode works

* working headless mode

* gitignore update

* small unlogger refactor

* refactor param in UIState

* works, very slow, hacks

* cleanup

* works

* cleanup

* cleanup

* unused

* works for whole route

* nicer

* a little nicer

* different threshold

* maintains 1 segment window

* works with public api

* comments

* networkTimer works

* cleanup

* unified HttpRequest

* tabs

* tabs

* comments'

* gitignore

* gitignore

* only on PC

* same line else

* no changes in home.cc

* scons

* update scons

* works

* revert mainc.c

* revert home

* else

* just api + problem with api send

* works

* include cleanup

* general json fail

* whitespace

* remove active

* adding request repeater

* removing comments

* tabs

* update comment

* cereal

* fix

* trailing new lines

* grammar

* if whitespace

* indentation

* Update selfdrive/ui/SConscript

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

* Update selfdrive/ui/qt/request_repeater.cc

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

* works

* sort by dir

* no blockSignal

* replay is now QOBject

* cant take const char

* rename inner it

* get width and height from frame readeR

* resolve TODO

* seek in next pr

* spaces

* ui stuff

* fix CI

* remove comments

* no repalce

* trim segment fix

* remove seek from stream

* no cache key

* final changes'

* fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 19d962cdf37b80523deba6518057f2e860f65fee
2021-04-24 00:59:09 -07:00
Ankush Girotra 5c63aa3f7c fix mac setup script for zsh (#20708)
Co-authored-by: Ankush Girotra <ankush.girotra@dlzpgroup.com>
old-commit-hash: 18a59c0d4b5660bf315e90a2574b744d17e471ee
2021-04-20 17:28:10 -07:00
robbederks 5cd4a9ba36 Zookeeper support (#20000)
* zookeeper lib

* add ft4222 to dev pip packages and fix include error

* started on CI

* it's a file

* now it should be happy

* use docker for all on-device tests

* test scripts

* does this work?

* access to devices

* too broad. only usb enough?

* permissions for zookeeper usb

* as env var maybe?

* this?

* try this for now

* all devices

* move to correct location for impoerts

* right paths

* not running in the right agent?

* ofc not

* fix broken merge

* add ft4222 package again

* add timeout

* power monitor

* cleanup

Co-authored-by: Batman <batman@openpilot-ci.internal>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6a824d765137e5141115e1727bcd553bd17eaaef
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh d3429eee66 tools/ssh cleanup
old-commit-hash: 795b9ab35e564e103d9938696a435eefe81e89b5
2021-04-06 15:00:11 -07:00
ChoMinSung 7aed8355db start_openpilot_docker.sh: pass in /dev/input for joystick support (#20563)
old-commit-hash: 780654cb3b3d9bce4ff4f4cfeb727d58cc427c91
2021-04-06 09:55:18 +02:00
Adeeb Shihadeh 1ae061b09c update ubuntu setup
old-commit-hash: 6e360c08dfa2327877c85dd356499e66acfac133
2021-04-03 13:42:05 -07:00
Philipp Braun ed5606ecba Add mac requirements (#20420)
* Add mac requirements

* Remove bashrc spam
old-commit-hash: 523d36e7ca4aa0a6796718fc50da340aca56c210
2021-03-30 15:45:28 -07:00
Willem Melching 3ec4a7916b add qcamera support to Route (#20521)
old-commit-hash: 3755081145088eea5bc562a90429a89db2252247
2021-03-30 11:48:27 +02:00
Willem Melching 350b6b09cf Add qml-module-qtquick2 to package list
old-commit-hash: 58a17fb3c80b19ca955afcafcedc9af3f309c95f
2021-03-29 13:57:05 +02:00
Willem Melching 285e086d80 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
old-commit-hash: 0e338d2b91f35af6a7222eeb414951cd88784092
2021-03-24 14:44:39 +01:00
iejMac 27e0bba16f increasing time for PlotJuggler CI
old-commit-hash: 05e53fb047562e2fa1d5e405b9336faadad4690d
2021-03-23 21:33:31 -07:00
Willem Melching d0cd4d6de9 sim/build_container.sh: fix container name
old-commit-hash: c56396800351d09303cfa0b34442962fb7830faf
2021-03-23 13:20:59 +01:00
ChoMinSung a5727d14cb start_openpilot_docker.sh: fix docker container name (#20444)
old-commit-hash: 34342b21a9b8524f21a9f8e23d0bd1f5364132cb
2021-03-23 13:20:11 +01:00
cydia2020 2efc95b0a7 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>
old-commit-hash: e87d88490b5fc1448a0b2909cb1e9a43bc64e47c
2021-03-21 18:58:58 -07:00
iejMac 8aa491994f update simulator README
old-commit-hash: 1830a87d9a39dee0f92dc5d2922513ab3d6e6d61
2021-03-17 00:42:32 -07:00
iejMac 10844d3b57 mount openpilot in simulator docker image (#20379)
* mount parameter

* works

* fixes
old-commit-hash: dc1506e3821fc372c267279e879b807757a2a28b
2021-03-16 22:23:38 -07:00
qadmus 7297b95888 Fix warning popup for file not found, batman. (#20364)
old-commit-hash: e7e76b755b4e05e2dc9f03422a46bcc9759c093a
2021-03-16 19:31:24 -07:00
Willem Melching c5c9fddd6e juggle.py: make CAN optional to speed up parsing
old-commit-hash: aebad0b5e2083081cb87589a2959cc800e65b587
2021-03-15 11:36:21 +01:00
wolterhv dfb437648e Specify comma containers come from ghcr.io in docker pull commands. (#20342)
old-commit-hash: 5463469f71e7861ccfbbd4d09b8e4ae56b8d3e45
2021-03-14 12:59:05 -07:00
Willem Melching 4bd1929d2b 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>
old-commit-hash: c23ec9f75389c9ad86400e9a9d23ee6bc5b648a2
2021-03-11 21:08:51 -08:00
iejMac 9f86db04ea Minimize sim docker image size (#20324)
old-commit-hash: 1e5b04ba2fd4642de2730041355714de6f497ed5
2021-03-11 19:04:29 -08:00
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