Hoang Bui
acd61af9fc
CI/simulator: Fix metadrive test `pyopencl.CompilerWarning` ( #32487 )
...
* add pytest.mark.filterwarnings
* remove -W pyopencl.CompilerWarning
* add comment
old-commit-hash: f3f22a5698
11 months ago
Hoang Bui
6c438b8902
CI: fix metadrive test ( #32457 )
...
* fix test
* this?
* fix
* this?
* deprecation warning inside
* comment
old-commit-hash: 950aeae544
11 months ago
Hoang Bui
565e06b66a
Simulator: standardize queue messages ( #32313 )
...
* standardize queue messages
* update control_command_gen
* fix
* fix logic
* update closing type
* qmessagetype -> enum
* update type hint
* old close() makes more sense
* cleanup
* fix
* revert that
* revert that
* better name
* actually this is better
old-commit-hash: 630e152900
12 months ago
cl0cks4fe
639a634f7c
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
12 months ago
Hoang Bui
29a1763d01
CI/Simulator: Add Metadrive test to CI ( #32352 )
...
* works consistently
* ci gha
* fix
* navd
* fix
* cleanup
* change button
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aca01365e6
12 months ago
Michel Le Bihan
5620c5e4f7
simulator: Change car to Honda Civic 2022 ( #32087 )
...
* simulator: Change car to Honda Civic 2022
* simulator: Enable experimental longitudinal control
old-commit-hash: 44129ad0df
1 year ago
Michel Le Bihan
78c88cfdd4
simulator: Remove comma pedal sensor ( #32030 )
...
old-commit-hash: 1637265ad3
1 year ago
Shane Smiskol
1372dac6ab
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
old-commit-hash: 81fae3d807
1 year ago
Adeeb Shihadeh
fcbce3d8f6
cleanup pedal crc
...
old-commit-hash: 23e8ad7397
1 year ago
thenhnn
77d6d1a8f1
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 489528dcae
1 year ago
Adeeb Shihadeh
3bf3f4bf78
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
old-commit-hash: fa12a67228
1 year ago
Michel Le Bihan
70a649f88b
simulator: Correctly handle arrival at destination ( #31807 )
...
old-commit-hash: 8a03884500
1 year ago
Michel Le Bihan
02a16c3eb4
simulator: Increase map size to contain road ( #31805 )
...
old-commit-hash: 9c8a27ad24
1 year ago
Michel Le Bihan
a036e6e043
Simulator: Add world status reporting ( #31740 )
...
old-commit-hash: b4c8e0834d
1 year ago
Michel Le Bihan
fd4ee6f1c5
Only print keyboard help on poll start and unknown command ( #31710 )
...
old-commit-hash: 32fb58656a
1 year ago
Michel Le Bihan
07ad9f9644
Add simple MetaDrive scenario ( #31686 )
...
old-commit-hash: 87a9445d56
1 year ago
Harald Schäfer
add26a5d1f
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
old-commit-hash: 85eb221e4c
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Justin Newberry
edef8ed522
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
old-commit-hash: a51ef41cf8
1 year ago
Justin Newberry
c50146837e
Docker: merge opencl and base images ( #31338 )
...
* mergeem
* don't change workdir
old-commit-hash: ceecf39c54
1 year ago
Hoang Bui
2852e61e40
Fix self.started value pass in metadrive test ( #31153 )
...
* fix value pass
* fix test
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 71236204bb
1 year ago
Justin Newberry
c61f40c34f
Simulator: prepare to make bridge a PythonProcess ( #31201 )
...
* sim services
* clean
old-commit-hash: e49eb4c54f
1 year ago
Justin Newberry
231932d962
Simulator: add comment about mapbox tokens ( #31162 )
...
* add to readme
old-commit-hash: 410db2cd9f
1 year ago
Justin Newberry
831826d3e5
Simulator: fix metadrive ( #31104 )
...
fix metadrive
old-commit-hash: 81516216b1
1 year ago
Adeeb Shihadeh
96e9a7d3ce
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
old-commit-hash: e17e66180c
1 year ago
Justin Newberry
f138a6eccf
Metadrive: fix map config on main ( #30983 )
...
* Fix map api too
* dont render
old-commit-hash: 28e5d1bb49
1 year ago
Justin Newberry
86139fd98e
fix metadrive after bump ( #30967 )
...
* fix clip
* wip
* oop
* 1.22
* ... ugly
* fix tuning
old-commit-hash: f2c73039d7
1 year ago
Hoang Bui
c17fc021e9
Enable variable pass between test and metadrive processes ( #30961 )
...
pass started between processes
old-commit-hash: 1da08460cb
1 year ago
Kacper Rączy
a97f55dadb
metadrive: Change camera position to reflect typical height of a vehicle ( #30831 )
...
old-commit-hash: 65ece2081a
1 year ago
Justin Newberry
c3551ea4ec
Simulator: fix keyboard ctrl messing with pytest ( #30827 )
...
fix
old-commit-hash: a6b17fb1f6
1 year ago
Justin Newberry
a3eafc8cd5
Simulator: only send camera frames at rate that they are generated ( #30802 )
...
only send frames at rate that they are generated
old-commit-hash: 8017c25f0b
1 year ago
Justin Newberry
4627aca7a3
Metadrive: set near clip ( #30745 )
...
set near
old-commit-hash: da12a34ff6
1 year ago
Kacper Rączy
c8160d33fa
metadrive: fix dual_camera mode ( #30743 )
...
* Use wide cam in metadrive
* 120 fov
old-commit-hash: 5fe9f1459c
1 year ago
Justin Newberry
ba865f4580
Simulator: fix safety param ( #30738 )
...
fix param
old-commit-hash: 977dd033c4
1 year ago
Kacper Rączy
f10d6d5738
metadrive: fix wasd steer signs ( #30623 )
...
* Swap AD signs
* Fix type annotation
* fix user torque
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 43e1409fd2
1 year ago
Justin Newberry
fb84f6bed9
Simulator: --simulator is no longer an argument ( #30700 )
...
these are also gone
old-commit-hash: be33d29d7a
1 year ago
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e
1 year ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
1 year ago
Justin Newberry
8c21642780
simulator: set valid flags ( #30656 )
...
sim set valid
old-commit-hash: bb9dda9764
1 year ago
Adeeb Shihadeh
f38648f84b
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
old-commit-hash: b97e5b0e03
1 year ago
Kacper Rączy
9cd71f897a
locationd: remove models unused in openpilot ( #30481 )
...
* Remove filters used exclusively by xx
* Update SConstruct
* Remove from release
* Accomodate rednose build changes
* Update rednose ref
* rednose/helpers in rpath
* Add rednose_filters to files_common
* Change rednose_root
* Copy rednose site_scons to docker images
* Remove rednose from rpath
* Bump rednose
* Bump rednose
* Bump rednose
old-commit-hash: f65e6bc30e
1 year ago
Logan Lasiter
4f1ed42285
adding --local-partial-types mypy opt ( #30491 )
...
old-commit-hash: 5b2bcf6bf2
1 year ago
Harald Schäfer
9bf8ee6c86
Rm more laika references ( #30451 )
...
Rm more laikad references
old-commit-hash: 95c6d5140a
1 year ago
YassineYousfi
d18f185115
modeld: parsing and publishing in python ( #30273 )
...
* WIP try modeld all in python
* fix plan
* add lane lines stds
* fix lane lines prob
* add lead prob
* add meta
* simplify plan parsing
* add hard brake pred
* add confidence
* fix desire state and desire pred
* check this file for now
* rm prints
* rm debug
* add todos
* add plan_t_idxs
* same as cpp
* removed cython
* add wfd width - rm cpp code
* add new files rm old files
* get metadata at compile time
* forgot this file
* now uses more CPU
* not used
* update readme
* lint
* copy this too
* simplify disengage probs
* update model replay ref commit
* update again
* confidence: remove if statemens
* use publish_state.enqueue
* Revert "use publish_state.enqueue"
This reverts commit d8807c8348
.
* confidence: better shape defs
* use ModelConstants class
* fix confidence
* Parser
* slightly more power too
* no inline ifs :(
* confidence: just use if statements
old-commit-hash: cad17b1255
2 years ago
Justin Newberry
fa245bfab0
Simulator: set params enabled ( #30195 )
...
set params enabled
old-commit-hash: 2884fd6e3d
2 years ago
Justin Newberry
b8df8f21e7
Metadrive: fix slow acceleration and enable past 50 mph ( #30171 )
...
metadrive tuning
old-commit-hash: f4b2b70791
2 years ago
Justin Newberry
dddf3f5215
Metadrive: no preloading models ( #30170 )
...
no preloading
old-commit-hash: 56b16e77a4
2 years ago
Justin Newberry
4ec10b3347
Metadrive: fix reset ( #30142 )
...
* fix reset
* 2 seconds
old-commit-hash: 4d7caff0c8
2 years ago
Justin Newberry
07c27071a4
remove carla dependency ( #30139 )
...
* only docs and default
* remove carla dependency
* remove carla dependency
old-commit-hash: 3c55f76790
2 years ago
Justin Newberry
aac705cedb
Simulator: metadrive is the default ( #30133 )
...
only docs and default
old-commit-hash: 78469b7ef6
2 years ago