Shane Smiskol
29882b4519
Consistent spacing in car interfaces ( #33293 )
...
* formatting
* fix these
* not these
9 months ago
Shane Smiskol
65fccbf756
Car interface clean up ( #33290 )
...
* remove some defs
* now carstate
* remove carControl from CI update function
* almost merged that
* and that
9 months ago
Shane Smiskol
093c09a737
move the body events to card ( #33262 )
...
* move the body events to card
* rm import
9 months ago
Shane Smiskol
d684d8f0f6
Reapply "selfdrive/car: ban imports from external modules" ( #32993 ) ( #32994 )
...
* Reapply "selfdrive/car: ban imports from external modules" (#32993 )
This reverts commit 35a4a773f1
.
* controls will just use controls
* also these
* ignore
10 months ago
Shane Smiskol
35a4a773f1
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit 83d4623590
.
10 months ago
Dean Lee
83d4623590
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
10 months ago
Adeeb Shihadeh
3a7582d9a6
Abstract out common CarInterface.apply ( #31924 )
1 year ago
Justin Newberry
a5ee1638b8
Body: move to car specs ( #31666 )
...
* specs
* override
* fixes 1
* fix 3
* fixes 4
* fixes
* fixes
* fixc
* fix number 723124
* that too
* fixes
* aa
* do body real quick too
* body too
1 year ago
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2 years ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Shane Smiskol
5aebdb0ad0
Car docs: pass docs flag to car interfaces ( #27311 )
...
* docs
* docs
* docs
* docs
* use docs in gm
2 years ago
Shane Smiskol
8f5057ff2d
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
2 years ago
Adeeb Shihadeh
6fa9b555a4
rename carState.radarOffCan to radarUnavailable ( #27187 )
...
* rename carState.radarOffCan to radarUnavailable
* bump cereal
2 years ago
Shane Smiskol
712b9014d7
Car interface: set tire stiffness in common function ( #26625 )
...
* common stiffness
* GM uses factors
2 years ago
Shane Smiskol
860f441e2f
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
2 years ago
Adeeb Shihadeh
655a64b603
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
3 years ago
HaraldSchafer
9283040d84
Rocket league model ( #24869 )
...
* dd9a502d-c8e2-4831-b365-804b0ae0739d/600 80041070-d276-4fed-bdb9-0075e5442908/420
* no elementwise op
* 9dabf0fe-2e60-44bf-8d3a-d20a74aca072/600 ae746590-0bb5-4a16-80db-15f02d314f03/300 c4663a12-b499-4c9b-90dd-b169e3948cb1/60
* explicit slice
* some copies are useful
* 1456d261-d232-4654-8885-4d9fde883894/440 c06eba55-1931-4e00-9d63-acad00161be0/700 af2eb6ba-1935-4318-aaf8-868db81a4932/425
* 154f663e-d3e9-4020-ad49-0e640588ebbe/399 badb5e69-504f-4544-a99e-ba75ed204b74/800 08330327-7663-4874-af7a-dcbd2c994ba7/800
* set steer rate cost to 1.0
* smaller temporal size
* Update model reg
* update model ref again
* This did upload somehow
* Update steer rate cost
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
3 years ago
Shane Smiskol
c6bc03311c
Car documentation: set steering torque star using car interface ( #24709 )
...
* Set good torque using torque controller tuning
* should be equal to
* save lateral accel to car params
* use maxLateralAccel
* always
* same convention
* nan will always evaluate to false
* The great good torque purge
* adjust default friction
* Add data for more cars
* adjust name
* Welcome back, guys. Only adjust good torque if maxLatAccel is set
* Update refs (1.7 is 1.7000001...)
3 years ago
Adeeb Shihadeh
49c2164814
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
3 years ago
George Hotz
7dd71cc63d
body: control with joystick ( #24143 )
...
* control with joystick
* slow it down
* always joystick for not car
* clean ups
* not stateful
* move submaster
* only if we aren't in test mode
* update refs
* double ki speed, update ref
* this ref
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
00ebd10b87
body: only control while engaged ( #24114 )
...
* body: only control while engaged
* bump panda
* remove that
* bump panda
* update refs
* update refs
3 years ago
HaraldSchafer
b2b6205e25
Body leash tune ( #24105 )
...
* Cleanup variables
* Add clips
* Add good standstill for localizer
* Need abs
* Only on startup
* Cleanup more
* remove violence
* Unused variable
* Update ref
* Not good idea for now
* Update refs again
3 years ago
Adeeb Shihadeh
e40c36f22b
better support non-car robots ( #24106 )
...
* better support non-car robots
* bump cereal
* update refs
3 years ago
Igor Biletskyy
031f79ba88
car port: comma body ( #24019 )
...
* body FPv2
* ..
* ..
* ..
* Temp, REVERT!
* more cleanup
* typo
* ..
* del eyes
* should work?
* fix
* new dbc
* ..
* fixes
* static analysis
* cln balancing code
* no test route
* excluded_interfaces
* THE DOCS!
* comments on steer/speed mixin
* switch to bus 0
* less UDS
* FAKE bus 0 vin and fingerprint
* FAKE locationd
* Keep steady and remove handcoded offset
* Improve startup sequence, get closer to stock openpilot
* Forgot to define angle
* lowercase
* revert that
* little cleanup
* change safety model
* update refs
* body is gold
* handle no llk
* oops
* litte more
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago