Skip to content

Add Chinese Toyota Levin Hybrid 2019 (Corolla TSS2) fingerprint#875

Merged
rbiasini merged 2 commits intocommaai:develfrom
nanamiwang:levin_tss2
Nov 9, 2019
Merged

Add Chinese Toyota Levin Hybrid 2019 (Corolla TSS2) fingerprint#875
rbiasini merged 2 commits intocommaai:develfrom
nanamiwang:levin_tss2

Conversation

@nanamiwang
Copy link

This pull requests adds a fingerprint for Chinese Toyota Levin Hybrid 2019 (equivalent to US Corolla 2020 Hybrid) .
Already drived with OP engaged for >500 miles, works fine.

This is an explorer link to a drive with the stock system enabled:
Stock LTA/LKAS/DRCC:
https://my.comma.ai/55b38f438c826c9a/1573182109423/1573182267302

@rbiasini
Copy link
Contributor

rbiasini commented Nov 9, 2019

looks good. Thanks.

@rbiasini rbiasini merged commit d4eb5a6 into commaai:devel Nov 9, 2019
@nanamiwang nanamiwang deleted the levin_tss2 branch November 10, 2019 23:57
ghost pushed a commit to dragonpilot/dragonpilot that referenced this pull request Apr 7, 2020
kegman added a commit to kegman/openpilot that referenced this pull request Feb 20, 2021
* Decrease build time for dbc files

* Fix fan control when not plugged into panda

* Fix unicode bug in DoUninstall reading

* Make visiond compile on pc (commaai#874)

* Make DBC preprocessing deterministic

* Add fingerprint (commaai#875)

* Fixes for various merge and refactoring fallout, typo fixes. (commaai#878)

* Fixes for various merge and refactoring fallout, typo fixes.

* Tab->Spaces

* Update driving model (commaai#880)

* Fix typo (commaai#891)

* Reimplemented core changes on 0.6.6

* updated readme and dbc

* Added 2017 Bolt fingerprint

* updated readme

* this should have never worked...

* I guess I was wrong about that

* Safe passthrough (#9)

* stuff

* experimenting with timer 12 interval

* experimetning with timers

* more debugging

* more timer stuff

* timer works - adjusting period

* first bold attempt

* booboo

* more whoopsies

* ugh

* attempting cleaner impl

* fixes

* more fixing

* more fixes

* more fixes

* workies

* Added lkas hook default

* Fixed missing parens

* Boldness - enabling the lkas send

* Fixed activation of op lkas

* tried to do this the right way...

* very broken

* debugging

* more attempts to fix

* debugging

* grr

* disabling timer

* sanity check

* switching to timer 5

* little cleanup

* debugging

* timer 5 is special...

* lets try timer 6

* debugging

* tim7

* whoops

* debugging

* just the comment

* ddd

* maybe found bug..

* debuggery

* added lkas to all models

* bold implementation

* gotta return that value...

* Now we should get some data

* removing hardcoded null

* wrong bus no?

* bloop

* Lysdexia...

* whoops

* better debug

* debugs

* better debug; maybe fix rc

* woops

* more whoops

* trying some fixery

* I did the pointers wrong...

* more pointer issues

* ugh

* trying volatile

* more vol

* more volatiles

* more volatile

* removing volatiles from structs

* vol again

* maybe a fix?

* maybe don't need on op

* rc was wrong

* my bits are weak

* shifty

* idk

* I suck at bitwise everything

* only send once

* bit what?

* gah!

* mathys lol

* I'm not smart enough for this

* bits are stupid

* cleanup, should fix all faults

* lkas->pump, no camera mode

* timer started in safety init, configurable interva

* note about init

* something really didn't work...

* maybe not littleendian?

* improved safety, can#, etc

* casing issue

* removed hook, cleanup names, etc

* moved to safety.h

* trying to fix errors

* pointers...

* more pointer confusion

* yet more pointers...

* null typo

* pump disabled on no_output

* added debug comments

* abstracting

* missed a couple

* bugs

* more bugs

* made buffer volatile

* unvolatile casting

* bug

* casting syntax...

* debug message updates

* if ordering issue

* bugfix, cleanup

* add pedal_pressed

* missing or 1 on stock RIR

* more volatile

* very strange behavior

* bug; reduced volatility

* casting

* added 2012 prius fingerprint

* Hardcoded ignition on...

* commented out some blocking events

* removed hardcoded ign

* rolling back all prius junk

* added equinox

* hardcode escalade

* disabling forwarding

* enable radar; increase steer_max

* removed radar

* radar back; more power!!

* torque to 550

Co-authored-by: Riccardo <riccardo.biasini@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Alex Wang <36569033@qq.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: jshuler <jshuler@gmail.com>
wtogami pushed a commit to wtogami/openpilot that referenced this pull request May 8, 2025
* Refactor model runner methods for improved abstraction.

Moved slicing logic to a private `_slice_outputs` method and decoupled `_run_model` for clearer subclass implementation. Removed redundant `output` attribute in `ModelState` to streamline data handling.

* Add output parsing to model_runner and remove duplicate logic

Integrates an output parser directly into `model_runner` for streamlined inference and parsing. Removes redundant parser initialization from `modeld` to avoid duplication and enhance maintainability.

* Reordering

* linter

* linter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants