* proof of concept
* actuators packet describes which actuators are active
* bump cereal
* fixes
* not needed for this PR
* Do Toyota
* add back controlsState.active
* bump cereal
* rest of cars
* in actuators
* add active back
* which
* use controlsState.active for now
* will make an issue
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move local lat_active checks into CC.latActive
* remove redundant checks
* move comment
move comment
* fix joystick mode
* get enabled from carcontrol
* do standstill check in controlsd
* make sure we consider the gas press case for GM
* use CC.actuators
* fix
* capitalization
* Bump cereal
Bump cereal
* make intermediate actuators
* similar convention to before
* clean that up
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* disallow engagement if brake hold active
* we can check once
* move to common events
revert
* fix
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* update values.py
* add passport to carstate, interface, values
* add a test route with mostly green
* switch to newer route
* update readme
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* revert changes to standstill logic
* start with mostly open loop
* Revert "revert changes to standstill logic"
This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.
* proper clipping
* less lag
* less gas command
* start gas from -0.2
* controls should take care of that
* use CarControllerParams
* switch to braking sooner
* Revert "switch to braking sooner"
This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.
* 2.5x more P
* use active
* engage on rising edge
* Revert "engage on rising edge"
This reverts commit c972956cb4.
* update ref
* car port: Honda Freed
Popular 3-row compact minivan in Japan based on Fit platform.
test route: 2c4292a5cd10536c|2021-08-19--21-32-15
* missing DRIVERS_DOOR_OPEN signal on FREED
* remove redundant long parameters
* additional FW; confirm lack of stop-and-go
* restore gateway ECU to fingerprint
* corrected mass and wheelbase
* add another forwardRadar id
* panda
* bring over changes
* dont check car model
* remove comment
* fix typo
* more stuff gated behind long
* not
* not used
* gate that too
* try honda tuning
* clip accel values
* fix up merge
* fix stopping
* add retry logic around knockout
* increase timeout
* keep flipping lead bit
* true for now
* less tuning
* update comment
* 0.1 s is fine now
* merge honda and hyundai knockout
* more lead fields
* another obj bit
* increase timeout
* fix stopping flag
* only lag compensate for braking
* no lead
* less tuning
* only do knockout if not readonly
* try controlling using jerk
* tuning
* try higher stopping rate
* set stopping flag at higher speed
* clip upper jerk when stopping
* remove comments
* tester present 1hz
* use positive start accel
* 1.0 to maybe improve low speed stuff
* no point going over 0
* bump panda
* bump panda
* revert that change
* update ref
* Honda e Port
* Test route for Honda e
* remove
* Update README.md
* update values based on logs
* no need for Honda e specific DBC
* fix tests
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use ISO 15622:2018 limits in PID controller
* allow more for nidec
* limit PID inputs
* CP is not needed
* add GM
* not used
* update ref
* fix honda bosch
* add higher set speed
* freeze when close to cruise
* dont bias this
* higher set speed
* start high
* 2mph might be needed
* better condition
* limit accel windup like this
* wrong name
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Add 2021 Accord 2.0 Touring & Hybrid Touring
- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD
* Remove ids added to the wrong car
* add comment
* fix undefined signal
* fix tests
Co-authored-by: Chris Souers <csouers@gmail.com>
* not used
* just use gas
* allow gas
* try 0
* typo
* set to default
* set default
* makes more sense
* downtune and cleanup
* max accel always
* that is needed to smooth gas to brake
* try downtuning low speed
* try from default
* nidec is not bosch
* air resistance exists
* more smoothing
* wind brake sooner
* Civic experiments2 (#21862)
* control on throttle
* throttle modifier
* get acura in line
* try set speed control again (#21870)
* new acura function
* put back
* put back
* make linter happy
* define wind_brake once
* Civic experiments (#21908)
* remove civic
* start from scratch
* data drivenm
* the data does not lie
* data collection
* data driven
* limit
* final candidate
* fix windbrake
* Civic experiments (#21910)
* remove civic
* start from scratch
* data drivenm
* the data does not lie
* data collection
* data driven
* limit
* final candidate
* fix windbrake
* add acura control
* more cleanup
* cleanup
* update ref
* clip
* seems to fault
* always continuous
* new ref
* refactor
* needs casting
* tests pass
* fix that test
* refactor in controls
* lets not go crazy
* change of names
* use constants
* better naming
* renamed
* soft constraints
* compile slack variables
* rm git conflict
* add slack variables
* unused
* new edition
* fcw
* fix tests
* dividing causes problems
* was way too slow
* take a step back
* byeeee
* for another time
* bad idxs
* little more cpu for cruise mpc
* update refs
* these limits seem fine
* rename
* test model timings fails sometimes
* add default
* save some cpu
* Revert "little more cpu for cruise mpc"
This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.
* Revert "test model timings fails sometimes"
This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.
* update refs
* less cpu
* Revert "Revert "test model timings fails sometimes""
This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.
* Revert "less cpu"
This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.
* cleanup
* not too much until we clean up mpc
* more cost on jerk
* change ref
* add todo
* new ref
* indentation
* untested changes
* set compute_gb
* community feature for good measure
* add code for rolling backwards
* init needs CarParams
* stay in elm mode until carParams is written
* fix tester present bus number
* fix can errors
* fix enableCruise flag
* print when radar disable is done
* move retry logic to controlsd
* move lookup table into carcontroller params
* cleanup brake error values
* make init return
* that should be 1
* floats
* back to no failure handling
* try simplify knockout
* bump panda
* Move flags to panda
* add warnings
* Revert "try simplify knockout"
This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.
* add note about LoC.long_control_state
* update ref