Willem Melching
2c343d2fe3
navd: rewrite in python ( #24621 )
...
* navd: start python rewrite
* use enum
* send empty instruction packet
* parse banner
* cleanup
* switch to coordinate class
* add segment transition logic
* add recompute logic
* cleanup old navd code
* split out helpers
* cleanup release files
* fix typo
* fix docs
* add typing to helpers
* small fixes
* move outside of ui
* get last pos from param
* add ui restart detection
* check running
* send route
* set navInstruction to invalid with no active route
* whitespace
* do not overwrite response and use ratekeeper
* reuse params object
* remove navd exception
old-commit-hash: e72d6b5689dd95f5fd7a6558c72c2e02b37f8b12
2022-05-30 15:15:51 +02:00
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c694985456e569ce2313b29e43607c62a12
2021-11-29 19:38:55 +01:00
Willem Melching
705988abb5
api_get: keep same api ( #21838 )
...
old-commit-hash: 267a0b343b0ad607ee0cddcf62de5e18966d4390
2021-08-03 15:33:41 +02:00
Dean Lee
ceb40d8384
api: use API_HOST env variable everywhere ( #21814 )
...
* api base url to global constant
* update api/__init__.py
old-commit-hash: 543e019f715a7e485c7402d1e145dc8e81d43611
2021-08-03 13:49:49 +02:00
Shubham Dhumal
cf03d69f71
Fix jwt.encode return type ( #19776 ) ( #19958 )
...
* Fix for issue #19776
PyJWT 2.0.0 does not return `bytes` for `encode()` instead returns `str`. So converted the `str` to `bytes` and returned the resulting value
* added check for jwt.encode return type
* Update __init__.py
* Updated with suggested change
* Test to check return type of get_token()
The `get_token()` must return a `str` but for PyJWT version < 2.0.0 the `jwt.encode()` returns `bytes`. This test is to make sure if token returned by `get_token()` is `str`.
* Update test_get_token.py
* Update test_get_token.py
* Delete test_get_token.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 236743a4e2499c29e6651f6231c5734ccc6d213f
2021-02-02 15:36:04 +01:00
Adeeb Shihadeh
8b3418b0f9
enable flake8 E251: unexpected spaces around keyword / parameter equals
...
old-commit-hash: ebed2d1dcc53f092696b61fd1e004045c9bde893
2020-05-31 17:34:47 -07:00
Adeeb
5e857427ba
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
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
George Hotz
c20b197bce
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
old-commit-hash: c42e2ecc50d72947719219e20a5e91ed9bf5fbf4
2020-02-02 12:15:02 -08:00
George Hotz
b1f13418e1
common folder
...
old-commit-hash: e8d888c45b5cb84bf38bdb96cae579a10f7ae281
2020-01-17 10:28:44 -08:00
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00
Vehicle Researcher
dfe603c178
openpilot v0.6.4 release
...
old-commit-hash: 61229779e4a38431e934cabe700a93e120dfa468
2019-09-09 23:03:02 +00:00
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d80cdcc7f1b7748f2cf3ccbf94f82a3
2019-08-13 01:36:45 +00:00
Vehicle Researcher
d21c4170d8
openpilot v0.3.3 release
...
old-commit-hash: 5cf91d0496688fed4f2a6c7021349b1fc0e057a2
2017-06-28 13:57:09 -07:00
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef031b0389d6b2440085c961bd2933cf8
2017-05-11 12:41:17 -07:00
Vehicle Researcher
53bccc4377
openpilot v0.2 release
...
old-commit-hash: 449b482cc3236ccf31829830b4f6a44b2dcc06c2
2016-12-12 20:18:19 -08:00
Vehicle Researcher
79ca8c9ec9
openpilot release
...
old-commit-hash: e94a30bec07e719c5a7b037ca1f4db8312702cce
2016-11-29 18:34:21 -08:00