Commit Graph

249 Commits (ae094042ade44815fdba50196c15ba552bbf33d7)

Author SHA1 Message Date
Adeeb Shihadeh f4e18e0b74
Build openpilot with webcam support in CI (#2070) 2020-10-16 15:16:17 -07:00
Willem Melching e23bb6113b
More macOS CI fixes (#2352)
* Revert "Fix macOS CI (#2345)"

This reverts commit 72a996a885.

* ignore update output
2020-10-16 20:12:44 +02:00
Willem Melching 72a996a885
Fix macOS CI (#2345) 2020-10-15 14:16:41 +02:00
Willem Melching 5d0a623b28 script to add ssh keys 2020-10-15 13:35:05 +02:00
Willem Melching 3dd9448981
Params path only in one place (#2344)
* fix params paths

* Qcom & qcom2

* This env variable is not used anywhere

* params path in only one place

* fix other PARAMS_PATH references

* absolute path is probably better
2020-10-15 13:15:22 +02:00
Willem Melching e2fa4cc212 build sim container with available cores 2020-10-12 15:13:13 +02:00
Willem Melching f258366e0c
Try only extracting python folder (#2321) 2020-10-12 13:37:01 +02:00
Willem Melching 529e9a23ea
add check for partial response code (#2282) 2020-10-07 12:14:22 +02:00
Greg Hogan 2293a6a36c
eliminate round-trip reading entire file (#2275)
* eliminate round-trip reading entire file

* only if reading entire file

* print headers in errors

* fix end
2020-10-05 16:59:19 -07:00
Tom Dörr c13c6ef76b
Add Flags to Control Simulator (#2246)
* Add flags

* Update readme
2020-09-29 14:00:03 -07:00
Tom Dörr 459aa1123d
Name openpilot docker container (#2239) 2020-09-28 14:44:03 -07:00
Tom Dörr e6eedbe704
Enable Ctrl-C for Carla Server (#2240) 2020-09-28 13:41:37 -07:00
Willem Melching 927ef086f7 remove parallel url downloader 2020-09-21 10:32:08 +02:00
grekiki 05b64257df
FileReader: cache files locally (#2170)
* framework for updates

* File caching

* update .gitignore

* update .gitignore

* Store in home tmp directory

* fix bugs in old code, add tests

* add test

* revert bug

* Fixed some bugs, more testing

* doing some style fixes

* Update caching with lenghts

* doing some style fixes

* doing some style fixes

* doing some style fixes

* subrepositories

* try to fix the tests

* change submodules back

* doing some style fixes

* if we don't cache, we don't cache length either

* fix curls

* make sure tests run in ci

* Cleanup tests

* Use int for cache flag

* fix linter

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-09-17 13:03:34 +02:00
Greg Hogan be2b093d6e more pipenv version updates 2020-09-15 18:25:16 -07:00
Adeeb Shihadeh 4cbf965165
fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
2020-09-12 14:31:20 -07:00
grekiki 596ab39e03
Update README.md 2020-09-11 17:42:31 +02:00
grekiki 5fad5779c9
Update README.md 2020-09-11 17:42:12 +02:00
Vivek Aithal c5dfbe7a72
dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh acd1bde496
QT UI: sounds (#2078)
* move android into own dir

* fix name

* maybe this works? qt ui doesn't work on mac

* fix that

* pc sound works

* fix pc build

* lowercase

* that needs to be real_arch

* split into classes

* fix typo in lib

* Fix cycle alerts

* Add qt multimedia libs to install scripts

* Add ui/android folder

* Fix android build

* Raise exception if sound init fails

* add missing return

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 19:04:28 +02:00
Willem Melching 6b0ac6c8b7
UI: support multiple frame sizes (#2099)
* support multiple frame sizes

* Fix lookup

* Fix focal

* linter
2020-09-07 12:25:29 +02:00
Greg Hogan 1e6c7c94e4 fix pylint errors 2020-09-03 18:46:13 -07:00
Greg Hogan e4720eb798
build script that uses docker container (#1944) 2020-08-30 17:02:36 -07:00
Willem Melching 5782efe3ae
Systemd logcatd (#2085)
* Systemd logcatd infrastructure

* This should work

* Cleanup

* Split

* More compact and cleanup

* Add to ubuntu setup package list

* Run logcatd on all non pc platforms
2020-08-26 17:09:23 +02:00
Willem Melching c7152d5419
Hardware abstraction class (#2080)
* hardware abstraction class

* De Morgan

* Rename pc hardware class

* Fix sound card in controlsd

* Pc get sim info

* fix hardware in test

* two more

* No more random imei on android

* no randomness on android

* Need to return something that looks like imei for registration to work

* Return proper network strength

* Unused import

* Bug fixes + gpsd is only android
2020-08-26 14:57:17 +02:00
Adeeb Shihadeh 520c2676b6
type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
2020-08-23 00:33:19 -07:00
Willem Melching e115c51452
Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
2020-08-20 17:16:44 +02:00
Michael Honan 4a9228fcc7
Setup script improvements to MacOS / Ubuntu (#2012)
* Setup script improvements to MacOS / Ubuntu

scons isn't actually required from brew install

pyenv init on all envs

added installation to .zshrc on macos with better dir logic

Using git to detect project root for ubuntu bashrc install

Check shell and determine correct RC file

Update tools/mac_setup.sh

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

Sourcing RC file only if it's found

Removed unnecessary source of rc file

Submodules should never have been bumped...

Output the $RC_FILE when successfully installed

pyenv init every time, and skip RC install on CI

Confused bash conditionals, opposite of what I meant

* Was missing libusb on a fresh MacOS 10.15.6 install

Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
2020-08-14 18:03:55 -07:00
Adeeb Shihadeh c450110f96
Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
2020-08-10 00:44:24 -07:00
Adeeb Shihadeh 6d645b4ce9
Scripts for containerized CARLA (#1987)
* run carla in container

* launch script

* fix launch script

* update carla
2020-08-06 13:26:25 -07:00
Adeeb Shihadeh 20162f7a4a fix counter mismatch in sim 2020-08-06 13:23:20 -07:00
Adeeb Shihadeh 714f8c3f0b
Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
2020-07-28 23:52:18 -07:00
Adeeb Shihadeh 90fc1c6028
Improve on-device CI reliability (#1922) 2020-07-25 02:12:19 -07:00
Willem Melching c70700758d
Speedup URLFile (#1888)
* add parallel download support to URLFile

* make python 3.8 happy

* Fix chunk size

* Automatic number of threads

* No daemon threads in unlogger

* Cache length

* dont touch old filereader

* Remove debug info

* remove debug script

* Ignore type
2020-07-20 17:10:08 +02:00
Adeeb Shihadeh 35a5b057c1 minor cleanups from LGTM 2020-07-17 23:34:38 -07:00
Adeeb Shihadeh c715661656
Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
2020-07-07 14:17:09 -07:00
VirtuallyChris de16043331 Remove chffrplus mention from tools readme 2020-07-07 13:25:54 -07:00
Adeeb Shihadeh 3c48b5a3ed remove duplicate key 2020-06-29 15:05:47 -07:00
robbederks df86c476c7
Dos (#1795) 2020-06-29 12:47:48 +02:00
Johannes Schmitz 2a9b5b395c
Clarify shortcut usage in Carla simulation mode (#1724)
The keys to control openpilot have to be pressed with focus on the
terminal running the Carla bridge.
Also improve table formatting.
2020-06-17 17:53:17 -07:00
Willem Melching 4ca8283d73
Modeld: loop over platforms to find CPU/GPU (#1710)
* Modeld: loop over platforms to find gpu

* Remove prints

* PC needs CPU

* Keep default for qcom

* Update error message
2020-06-15 15:58:12 -07:00
Greg Hogan 32c4367ffb ffmpeg hwaccel is better 2020-06-12 16:11:40 -07:00
Willem Melching 6810333075 Sim hw type is grey panda now 2020-06-12 10:57:30 -07:00
George Hotz 344a9a3699
Fixups for Mac, and a bunch for PC (#1654)
* fix mac nui

* fix cereal

* builds on mac without warnings

* ui swap shouldn't be instant on pc

* camerad builds on mac

* modeld, and now everything, builds on mac

* ui draws pictures on mac now

* fix camerad shutdown

* support ui looping on pc

* python3 on that

* SCNu64 should be cross platform

* bump cereal and new apk

* clean up

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-06-11 18:21:59 -07:00
Adeeb Shihadeh c6bd187450 clean up webcam readme 2020-06-06 21:21:25 -07:00
Willem Melching 72cc0fc801 use pipenv for dev dependencies 2020-06-05 14:03:54 -07:00
Adeeb Shihadeh 3463f1165e quick LGTM fixes 2020-06-05 11:29:09 -07:00
Willem Melching 63c8e8439b
Model + camerad test (#1622)
* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-06-04 18:57:25 -07:00
Adeeb 367155168a
Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
2020-06-03 16:13:34 -07:00
Adeeb ab83e48ec4
Add pre-commit hooks (#1629) 2020-06-03 12:54:49 -07:00
George Hotz d1d2984f36 fetch image from route script 2020-06-03 11:32:51 -07:00
Willem Melching 843a64c72f
Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
2020-06-02 16:29:32 -07:00
VirtuallyChris 68040408da Add Putty key 2020-06-01 18:35:28 -07:00
Adeeb Shihadeh 6466ec982a enable flake8 E502: backslash is redundant between brackets 2020-05-31 17:41:18 -07:00
Adeeb Shihadeh ebed2d1dcc enable flake8 E251: unexpected spaces around keyword / parameter equals 2020-05-31 17:34:47 -07:00
Adeeb Shihadeh f3dcf861c7 enable flake8 E303: too many blank lines 2020-05-31 17:21:11 -07:00
Adeeb Shihadeh 27754a277c enable E261 in flake8: two spaces before inline comment 2020-05-31 14:07:29 -07:00
Adeeb Shihadeh efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Adeeb 6051061ff8
Flake8 E22X (#1607)
* e221

* e225

* bump opendbc
2020-05-31 00:48:47 -07:00
Adeeb d9bf9f0a40
Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
2020-05-30 20:14:58 -07:00
Greg Hogan d112a58366 FrameReader env vars FFMPEG_THREADS and FFMPEG_CUDA 2020-05-28 17:33:34 -07:00
Willem Melching ba2ac1207a
Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
2020-05-28 15:40:48 -07:00
Willem Melching 3d08dcc3b2
Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
2020-05-28 15:05:04 -07:00
Greg Hogan 2d0686faa1 framereader single threaded env var 2020-05-28 13:39:28 -07:00
Willem Melching 639cf2288f
framereader only has to support h265 and raw (#1588) 2020-05-28 12:45:38 -07:00
Willem Melching 29aaa44740
flake8 in pre-commit(#1583) 2020-05-27 20:33:05 -07:00
Willem Melching bd06434243
pre-commit pylint (#1580)
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
-  pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344

* add pylint to pre-commit and make everything pass

* Remove uncommented stuff

Co-authored-by: J <user@4800.lan>
2020-05-27 20:00:14 -07:00
xx979xx 6596dd62ae
add pygmae dependencies (#1573)
https://www.pygame.org/wiki/CompileUbuntu#Python%203.x%20into%20virtual%20environment
2020-05-27 12:24:04 -07:00
xx979xx 2d89f3c6d9
update OpenCL Driver 16.1 > 18.1 (#1524) 2020-05-21 12:03:30 -07:00
Ewout ter Hoeven 3f8afe593f
Pip: Move from tensorflow-gpu to tensorflow package (#1530)
* Pip: Move from tensorflow-gpu to tensorflow package

Since tensorflow 2.1 the regular tensorflow package contains GPU support and replaces the tensorflow-gpu package, which will be depreceated at some point.

* Readme: Update Tensorflow version

* Update Pipfile.lock

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-05-20 13:17:54 -07:00
Adeeb Shihadeh a415fe1ebe capnp is no longer in external 2020-05-17 13:32:26 -07:00
Noel Schenk ce8b629fb0
tensorflow-gpu==2.1 update (#1525)
not available on current used python version
2020-05-16 21:59:28 -07:00
Willem Melching 43f7fe178d not needed 2020-05-14 17:59:26 -07:00
Willem Melching 43873c9600 use system capnp 2020-05-14 17:58:43 -07:00
Adeeb Shihadeh 44560b5bb7 add tenacity to tools requirements 2020-05-14 15:19:52 -07:00
Adeeb Shihadeh f15f24b529 add pycurl to tools requirements 2020-05-14 12:43:41 -07:00
Willem Melching 72db8d890d
Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
2020-05-12 18:50:07 -07:00
Willem Melching cd79cee41a ffprobe use -f instead of -format 2020-05-11 15:32:40 -07:00
Adeeb Shihadeh 10ae22a192 delete unused lines 2020-05-10 11:25:42 -07:00
Adeeb Shihadeh a25d535793 Revert "function doesn't have that arg"
This reverts commit d712d9cf3b.
2020-05-09 17:26:24 -07:00
Adeeb Shihadeh d712d9cf3b function doesn't have that arg 2020-05-09 17:21:51 -07:00
Adeeb 008700a6b3
LGTM fixes (#1480) 2020-05-09 16:40:43 -07:00
Adeeb Shihadeh 27303c2d5d don't need c capnp any more 2020-05-07 21:07:18 -07:00
Greg Hogan 0b5758f1be framereader index data as param 2020-05-07 18:23:19 -07:00
George Hotz e568d3cadc
More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 20:00:41 -07:00
George Hotz 1295cfe06c
Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 12:07:34 -07:00
Willem Melching 845abed5db Build log_index using scons 2020-04-30 16:26:11 -07:00
Willem Melching e2493c2221 Handle loop and multiple publishers 2020-04-30 14:33:58 -07:00
Willem Melching bb02a565b5 remove pyqt5 2020-04-29 13:11:12 -07:00
Willem Melching c4f62b4b8e No looping 2020-04-28 15:30:11 -07:00
George Hotz 0a6d9a7bbd remove unused overpy, bump ubuntu_setup to 3.8.2 2020-04-28 15:23:39 -07:00
Willem Melching 794cfcf043 Also catch ValueError from framereader 2020-04-28 15:13:45 -07:00
Willem Melching 8068fee939 Unlog segments in a 100 lines 2020-04-28 15:12:06 -07:00
Willem Melching cf08c833f7 Update debug carcontrols instructions 2020-04-27 10:49:40 -07:00
George Hotz abad49110e delete more unused, now under 40k lines of python. framereader needs to be ported to C++ 2020-04-24 13:45:34 -07:00
George Hotz d4f8943075 more red diffs, remove hevc framereader stuff and two unused classes 2020-04-24 12:15:50 -07:00
Harald Schafer 24ae93f965 not a good name 2020-04-23 12:29:06 -07:00
George Hotz 144b37728f who is ready for big model? 2020-04-21 20:23:49 -07:00
George Hotz ab9fa22dcc getenv SCALE 2020-04-21 15:27:12 -07:00
George Hotz b9f588245c fix camera.py 2020-04-21 14:59:15 -07:00
George Hotz dd22cfcd13 fix nui 2020-04-21 14:48:31 -07:00
George Hotz 2ed92dfdbe view sensorium 2020-04-21 11:54:02 -07:00
Willem Melching e816467eb5 Handle 2x scaling in plot drawing 2020-04-14 12:51:25 -07:00
HaraldSchafer c22f1267cd
Update README.md 2020-04-08 13:28:58 -07:00
Adeeb 83d8dd4717
tools is no longer a separate repo (#1308) 2020-04-01 22:34:41 -07:00
ZwX1616 5644b2875d
update readme 2020-03-30 14:13:04 -07:00
Ewout ter Hoeven d8a414834d
Docs/tools: Update Tensorflow to 2.1 in readme and build script (#1286)
Update to Tensorflow 2.1 in a few forgotten places after 027deba:
tools\ubuntu_setup.sh
tools\webcam\README.md
2020-03-28 12:10:43 -07:00
ZwX1616 8042e9238c
update opencl driver link 2020-03-27 15:50:57 -07:00
ZwX1616 b646ba9ca9
nicer format; make links clickable 2020-03-27 12:42:05 -07:00
ZwX1616 4bcfe54efd cleanups 2020-03-27 11:44:06 -07:00
ZwX1616 0e059f5d4a add setup note 2020-03-27 11:44:06 -07:00
ZwX1616 a95e61edf4
add webcam to cameras (#1201) 2020-03-26 19:19:47 -07:00
ZwX1616 5eeb8a0e02
typos 2020-03-10 13:38:40 -07:00
Greg Hogan f48e39778d support any number of top level dirs 2020-03-06 17:55:42 -08:00
Shane Smiskol 6ff881f789
initialize all messages in 1 line (#1206) 2020-03-05 17:32:52 -08:00
George Hotz 2f2b85581c
Add sentinels to logs and qlogs (#1205)
* sentinel WIP

* logger is now a cc, not a c

* simpler code doesn't touch loggerd.cc

* oops, double lock. and logreader is nicer
2020-03-05 14:29:34 -08:00
Ayman Saleh 763493e988
NUI comma api intergration (#1186)
* Prototyping comma api call

* Adding nui command

* Fixing hard coded vals

* Adding generalized nui changes

* Added both public and private api support

* Removing debug statement

* Chaning private api tag to use env variables

* FrameReader change for string parsing
2020-03-01 22:06:33 -08:00
littlemountainman a32fe80d39
Make Nui tests work. Framereader moved to tools/clib (#1185)
* add more deps

* setup is now working,removing brackets

* Fixing tests in nui

* make it eveno

* readme markdown and town not needed since set via client

* adding explanations for sim in readme

* make it markdown buildable

* revert changes in setup

* work now
2020-03-01 10:50:03 -08:00
George Hotz 86b1ca176a Revert "[Memory leak]uniq_ptr for tmsg (#985)"
This reverts commit 7f6c9ebaf7.
2020-03-01 09:57:28 -08:00
George Hotz 2a199f867d mac fixes 2020-02-29 18:30:44 -08:00
George Hotz 3693aa56a7 setup ubuntu improvements 2020-02-29 14:50:51 -08:00
George Hotz e10f330290 commit external/capnp and don't build it 2020-02-29 14:36:54 -08:00
littlemountainman 660a156557
missing bracket (#1178) 2020-02-29 12:49:56 -08:00
George Hotz 9d8d7ade3e
Simulator running with keyboard (#1176)
* sim with keyboard

* write calibration

* need recv

* use readchar

* doesn't accelerate

* queue, not zmq

* fix line wrap

* fix physics

* add BLOCK to manager
2020-02-29 10:51:39 -08:00
ZwX1616 78ba94a977
WIP: sim, need to unhack openpilot (#1174)
* comma hackathon

* update readme

* update readme

* Update README.md

* Update README.md

* Update README.md

* add more to readme

* Update README.md

* unhack

* Delete README.md

* Delete get_carla_095.sh

* Delete run_carla_095.sh

* remove NO_FLIP, and fix imu destroy

* remove pipfile

* make ui match

* actually match ui

Co-authored-by: George Hotz <geohot@gmail.com>
2020-02-29 02:18:17 -08:00
Comma User 0a77684bcd Merge branch 'master' of https://github.com/commaai/openpilot
ecessary,
2020-02-29 01:45:47 -08:00
Comma User 756a6d6ed8 it's a real script now 2020-02-29 01:42:38 -08:00
HaraldSchafer 01e237375d
Update README.md 2020-02-29 00:27:48 -08:00
HaraldSchafer 713666c0b0
Update README.md 2020-02-29 00:21:39 -08:00
HaraldSchafer eb0c5c6c53
Update README.md 2020-02-29 00:20:40 -08:00
ZwX1616 64dded0125 town4 2020-02-28 21:31:43 -08:00
ZwX1616 19de1f6b66 no py2 2020-02-28 21:27:57 -08:00
Comma User a89a9a8a4a fix for loggerd 2020-02-28 20:22:47 -08:00
Comma User 59b63d1950 ubuntu setup 2020-02-28 20:18:02 -08:00
andyh2 8c5f843fa3 tools: Update replay examples 2020-02-28 23:02:01 -05:00
Comma User 1457001c2d fix sim 2020-02-28 19:58:05 -08:00
Comma User 79a5183496 more ubuntu setup 2020-02-28 19:44:59 -08:00
Comma User 6a0cbf45d4 more ubuntu setup 2020-02-28 19:36:29 -08:00
George Hotz bb9c90ab03 ubuntu setup 2020-02-28 19:26:15 -08:00
Willem Melching 5dcb0488c6 fix time input in unlogger 2020-02-26 10:27:16 -08:00
Andy Haden 327a255a1a tools: Print auth url to console 2020-02-25 11:44:13 -08:00
Andy Haden 4a94e507cf Revert "no more xx imports in tools"
This reverts commit 1f9485171e.
2020-02-25 11:36:02 -08:00
Willem Melching 1f9485171e no more xx imports in tools 2020-02-25 11:06:27 -08:00
Andy c4af05868b
Tools: Storage API (#1161)
* filereader

* support URLs in filereader, logreader

* unused

* use route files api; add auth file

* Implement browser auth

* Update readme, fix up cache paths

* Add tests, clear token on 401

* Factor out URLFile

* space
2020-02-24 21:24:54 -05:00
Adeeb 30dffb486a
test car models: fix random hanging (#1055)
* debug print

* unlogger doesn't need fcamera.hevc

* only need the rlog

* tiemout for log downloading

* try again after timeout
2020-02-06 10:53:59 -08:00
George Hotz c50c718293
Cleanup simulator and add usage instructions (#1050)
* cleanup simulator files

* minor updates

* update readme

* keras runner builds

* hmm, still doesn't work

* keras runner works

* should work with python3 keras mod

* touchups
2020-02-04 19:46:57 -08:00
George Hotz c42e2ecc50
manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC

* manager runs on mac

* sim runs w/o carla

* fix params location in test

* that rmtree can fail and it's okay

* refactor params clear functionality

* set PARAMS_PATH
2020-02-02 12:15:02 -08:00
ga 7f6c9ebaf7 [Memory leak]uniq_ptr for tmsg (#985)
* uniq_ptr for tmsg

* Added header
2020-01-23 11:25:54 -08:00
George Hotz 29ac3da7b8 merge in tools 2020-01-17 10:07:22 -08:00