Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Jason Young
b4614b3c28
car interfaces: cleanup tire stiffness calculation ( #28263 )
...
* cleanup tire stiffness calculation
* bump cereal
* think these todos still apply
* gm: same default
* revert comments
* bump
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 90c4bbe8e4
2 years ago
Shane Smiskol
d916e0ed2d
Car docs: pass docs flag to car interfaces ( #27311 )
...
* docs
* docs
* docs
* docs
* use docs in gm
old-commit-hash: 5aebdb0ad0
2 years ago
Shane Smiskol
acc8e38111
GM: enforce steering command message timing ( #27250 )
...
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2d
2 years ago
Shane Smiskol
8aadc8dda6
Car interface: set common params after port ( #26613 )
...
* remove pylint exception, _get_params takes no defaults
* clean up
* mock uses it too
* unused
* unused
* fix that
* bump
* Update selfdrive/car/interfaces.py
old-commit-hash: 860f441e2f
2 years ago
Shane Smiskol
832b2d7168
mock: remove steering angle ( #26614 )
...
* fix yaw rate in mock interface
* clean that up
* revert
* clean up
old-commit-hash: b4da592a3c
2 years ago
Adeeb Shihadeh
a31676383c
fix speed of mock car with qcom gps ( #25993 )
...
* fix speed of mock car with qcom gps
* typo
old-commit-hash: 7c49c44c4e
3 years ago
Kurt Nistelberger
fb06d2769f
Sensor events splitup ( #25714 )
...
* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce6
3 years ago
Shane Smiskol
2fd69c9c7f
remove unused compute_gb ( #25808 )
...
old-commit-hash: 5356216e92
3 years ago
Adeeb Shihadeh
e4f9781c17
single longitudinal toggle for e2e and disable radar ( #25688 )
...
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Adeeb Shihadeh
3789587df1
add alert for CAN bus timeout ( #24162 )
...
* add alert for CAN bus timeout
* add alert
* set in interface
* cleanup
* cleanup
* add event
* fix mock
* bump
* bump opendbc
* update refs
* return reader
old-commit-hash: 49c2164814
3 years ago
Adeeb Shihadeh
3327348aeb
don't read params in car interfaces ( #23978 )
...
old-commit-hash: bae78dd46b
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
Adeeb Shihadeh
59c76fc993
resolve misc car TODOs
...
old-commit-hash: 3c83975ef6
3 years ago
Willem Melching
7b3e330def
Log actuators after applying rate limits in CarController ( #23230 )
...
* return actuators from carcontroller
* log it
* pass to latcontrol
* chrysler
* gm
* honda
* more brands
* rest of the brands
* gm cleanup
* hyundai cleanup
* update ref
* rename field
* fix subaru
* add types
* more subaru fixes #23240
* consistent whitespace
* bump cereal
old-commit-hash: 4f1eb4278a
3 years ago
Robbe Derks
58c99158a1
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
old-commit-hash: 91987f38d4
4 years ago
wolterhv
56f48a03bc
Replace hardcoded values for Pi ( #20235 )
...
* Avoid redefining pi, use instead math.pi or M_PI from math.h
* Revert overwriting of the gpsPi variable, which is part the GPS standard.
* Move standard library imports to top, remove standard library import comments.
old-commit-hash: 93911a7dbe
4 years ago
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* 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: 312b681a46
4 years ago
Adeeb Shihadeh
af95c26b26
remove gpsd ( #20027 )
...
old-commit-hash: fe7f3f0ec6
4 years ago
Adeeb Shihadeh
f25cec394e
grey panda is unsupported ( #2458 )
...
old-commit-hash: 47c21f10f5
5 years ago
Adeeb Shihadeh
bc5a293de9
set canValid for mock car
...
old-commit-hash: ea06941d4d
5 years ago
Adeeb Shihadeh
39d98d3d2d
Car cleanup ( #1924 )
...
* cleanup car code
* more pruning
* little more
* less pylint disables
* radar stuff
* fix
* udpate refs
* fix honda bosch
* fix test
old-commit-hash: 892e1162c0
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
5 years ago
Willem Melching
8d4658790e
Remove fake yaw rate from carstate ( #1426 )
...
* remove fake yaw rate from carstate
* update ref
old-commit-hash: f7f0a81d13
5 years ago
rbiasini
b495a36507
Abstract std params ( #1138 )
...
* get_can_parser and get_cam_can_parser are now standard static methods
old-commit-hash: af39d74a5b
5 years ago
rbiasini
5375a08920
get_can_parser and get_cam_can_parser are now standard static methods ( #1136 )
...
old-commit-hash: dc3ea9b08d
5 years ago
George Hotz
9ef085076b
selfdrive/car
...
old-commit-hash: 71ead9adea
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
6 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
3835061760
openpilot v0.6.2 release
...
old-commit-hash: e90c41c576
6 years ago
Vehicle Researcher
07aa8b1bf3
openpilot v0.6.1 release
...
old-commit-hash: 94053536b4
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Vehicle Researcher
0932b367bd
openpilot v0.5.12 release
...
old-commit-hash: 3f9059fea8
6 years ago
Vehicle Researcher
2cc4edde68
openpilot v0.5.9 release
...
old-commit-hash: 0207a97040
6 years ago
Vehicle Researcher
f8ce921247
openpilot v0.5.7 release
...
old-commit-hash: 210db686bb
6 years ago
Vehicle Researcher
86d4bbcba6
openpilot v0.5.1 release
...
old-commit-hash: 6f3d10a4c4
7 years ago
Vehicle Researcher
e41a943dd0
openpilot v0.5 release
...
old-commit-hash: de33bc4645
7 years ago
Vehicle Researcher
242328f92c
openpilot v0.4.7 release
...
old-commit-hash: ae5cb7a0da
7 years ago
Vehicle Researcher
cd558d30d1
openpilot v0.4.3.2 release
...
old-commit-hash: 78df63a6af
7 years ago
Vehicle Researcher
4e867831f7
openpilot v0.4.2 release
...
old-commit-hash: 28c0797d30
7 years ago
Vehicle Researcher
0cc7ce25ab
openpilot v0.4.1 release
...
old-commit-hash: 26e966852c
7 years ago
Vehicle Researcher
d9578e2f8e
openpilot v0.4.0.1 release
...
old-commit-hash: a77c0a1098
7 years ago