LS CAN buses and messages
#17
You can use IPAS (Intelligent Parking Assist System) on ID 266 to steer the car as long as you spoof the reverse gear on ID 120 (value is 0000009011753E) but you also need to defeat the 4mph limiter as IPAS will deactivate over 4mph. If I recall correctly there is no problem spoofing reverse gear when you are in drive going forward, only downside is your cluster will show reverse which look silly. IPAS is great as it have no torque limit unlike LKA but also much more dangerous as you cannot piggyback on Toyota LKA hardcoded safety feature which limit the speed the wheel can turn. This method would work on car without APCS as long as they have IPAS and Radar Cruise (unless comma ai switched to vision only like Tesla, been a while I kept tab on what they are doing right now).
#18
Is there a thread on a public forum regarding research on this vehicle ? Back in 2014 I retrofitted my 2008 ls600hl with LKA and defeated the "hand on steering wheel check" enabling a rudimentary autopilot, but since Hotz openpilot release I always wanted to try porting it to this car. Actually have an instrument cluster on a testbench where I can control pretty much any gauge or light. Also managed to sniff out a lot of diagnostic packet allowing to lock/unlock the car, start wiper, climate control etc. Method is similar to the work published by Charlie Miller & Chris Valasek on a 2010 prius with autopark/lka. Did a few test trying to send packet to turn the steering wheel and control speed while driving but it was getting a bit dangerous. Wanted to purchase more parts for my testbench like steering wheel unit but god forbid parts are expensive for this car. Are you researching on a Prius or on a LS directly ? Both system should be similar and once one is functional porting to the other should be a breeze. I suppose the way to calculate the checksum for some packet would be the same as the prius (IDH + IDL + Len + Sum(Data[0] – Data[Len-2])) & 0xFF ? Took a break from this a while ago but I didn't knew someone else was looking to port those car. Looking forward to the advancement of this project.
#19
Hello.
We are developing a real autopilot for LS based on OpenPilot by comma.ai.
We have pretty much everything - we know how to steer and accelerate and brake the car via can messages, but ONE message is elusive af: Cruise Control Set Speed. If anybody have info, on what bus and what can id we should chase, please let us know. Openpilot is open source, so once it's done, you can get yourself a dev kit and have your LS driving around with as good autopilot as Tesla AP2 is.
We are developing a real autopilot for LS based on OpenPilot by comma.ai.
We have pretty much everything - we know how to steer and accelerate and brake the car via can messages, but ONE message is elusive af: Cruise Control Set Speed. If anybody have info, on what bus and what can id we should chase, please let us know. Openpilot is open source, so once it's done, you can get yourself a dev kit and have your LS driving around with as good autopilot as Tesla AP2 is.
Got any update on this? Would love to purchase a comma.ai system for my 2007 LS600hL.
#20
9th Gear
Thread Starter
Hello and happy end of the year!
We haven't done anything, too busy on other projects. Still have the car, though.
Little bit progress was done on looking for similar solution on Mazdas - not even faking ipas and other but directly the torsion sensors, so car things driver is turning the wheels. Of course this is riskier, but with guardrails on place, it's not riskier than faking reverse gear and speed. Have had openpilot on my kids car now for over 5 years (version 0.7 on oneplus 3t) and have not seen any erratic behaviour yet.
Retrofitting with LKA seems like a ton of work? Cameras, modules, wiring?
We haven't done anything, too busy on other projects. Still have the car, though.
Little bit progress was done on looking for similar solution on Mazdas - not even faking ipas and other but directly the torsion sensors, so car things driver is turning the wheels. Of course this is riskier, but with guardrails on place, it's not riskier than faking reverse gear and speed. Have had openpilot on my kids car now for over 5 years (version 0.7 on oneplus 3t) and have not seen any erratic behaviour yet.
Retrofitting with LKA seems like a ton of work? Cameras, modules, wiring?
The following users liked this post:
sgaba (12-19-23)
#21
Nope it's pretty easy. I have a 2007 LS600hL from Japan and it came stock with all of the necessary parts installed. Just didn't have the button, so I ordered the part online and it should work. Unfortunately there's no display once you've engaged/disengaged it, just an audio tone.
If you need any help with the work on the LS, I could assist. Not sure where to start but I've got a solid programming background.
If you need any help with the work on the LS, I could assist. Not sure where to start but I've got a solid programming background.
#23
Read my posts then...
#24
9th Gear
Thread Starter
#25
Hello.
We are developing a real autopilot for LS based on OpenPilot by comma.ai.
We have pretty much everything - we know how to steer and accelerate and brake the car via can messages, but ONE message is elusive af: Cruise Control Set Speed. If anybody have info, on what bus and what can id we should chase, please let us know. Openpilot is open source, so once it's done, you can get yourself a dev kit and have your LS driving around with as good autopilot as Tesla AP2 is.
We are developing a real autopilot for LS based on OpenPilot by comma.ai.
We have pretty much everything - we know how to steer and accelerate and brake the car via can messages, but ONE message is elusive af: Cruise Control Set Speed. If anybody have info, on what bus and what can id we should chase, please let us know. Openpilot is open source, so once it's done, you can get yourself a dev kit and have your LS driving around with as good autopilot as Tesla AP2 is.
#26
9th Gear
Thread Starter
These are how far we got. Programming by Wocsor, in discord there is a retropilot server: https://discord.gg/4CF6KXY9
on hardware, if you go the same way as we did, you need two pandas, but I really hope there is a simpler way, just wocsor and me didn't find it. compared to other toyotas/lexuses, LS is a smorgasboard of can buses, hacked together by recreational spaghetti artist. DSU module needs some pins removed and panda inserted to filter out messages, etc.
That's why I think the end of the day, hacking steering torque sensor is so much easier, safer and cleaner
https://github.com/wocsor/openpilot/tree/lexus_ls_600h
https://github.com/wocsor/openpilot/...s_ls_600h_tune
https://github.com/wocsor/openpilot/tree/lexus_gs
on hardware, if you go the same way as we did, you need two pandas, but I really hope there is a simpler way, just wocsor and me didn't find it. compared to other toyotas/lexuses, LS is a smorgasboard of can buses, hacked together by recreational spaghetti artist. DSU module needs some pins removed and panda inserted to filter out messages, etc.
That's why I think the end of the day, hacking steering torque sensor is so much easier, safer and cleaner
https://github.com/wocsor/openpilot/tree/lexus_ls_600h
https://github.com/wocsor/openpilot/...s_ls_600h_tune
https://github.com/wocsor/openpilot/tree/lexus_gs
Thread
Thread Starter
Forum
Replies
Last Post
2v1g
LS - 4th Gen (2007-2017)
27
11-13-16 04:08 PM