LS CAN buses and messages
#1
LS CAN buses and messages
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.
#2
For future travellers: MS BUS is medium speed, i.e. 2500 (instead of standard 5000 for high-speed) and it's on DSU pins 18,19 (CANN, CANP or CANL,CANH in regular CAN lingo). And we just got the dump from testdrive and will dig in.
#3
And we digged in and the CAN ID is 689 where all cruise info lies. If you follow comma.ai then pretty soon (tm) there will be a support for LS
The following users liked this post:
sgaba (12-18-23)
#4
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.
Last edited by Vansibel; 10-31-18 at 12:47 PM.
#5
@Openpilot I know that HS250h was short lived car in US - 2010-2012 but it was an excellent car at that time with electric steering. Has anyone tried that car...yet?
#7
@Openpilot I know that HS250h was short lived car in US - 2010-2012 but it was an excellent car at that time with electric steering. Has anyone tried that car...yet?
It remain to be tested if the car steering ecu would still accept command to steer the car even if lka is not present. To my knowledge all LS have electronic steering wheel and it's possible that the steering ecus are the same parts regardless if the car feature lka or not. The raw can bus data can be injected into the steering assist ecu which are then processed and sent to the power steering ecu to actually turn the wheel. Usually we start sending signal from the DSU but with car without LKA I suspect it's likely a different part number, not sure how far you could start away from the power steering ecu as a starting point so the injected packets would reach their final destination on lka-less car. You could also use the ipas (intelligent park assist) feature if equipped by spoofing the reverse gear and use id 266 to steer the car but it's kinda dangerous as ipas steering angle is not limited to small increment like lka.
Trending Topics
#8
Like the 3rd gen prius its based on It also featured lka so it's a proper candidate. My guess is that if 3rd gen prius come to be supported hs250h would be a breeze to port but neither of them to my knowledge have peoples working on them so far.
It remain to be tested if the car steering ecu would still accept command to steer the car even if lka is not present. To my knowledge all LS have electronic steering wheel and it's possible that the steering ecus are the same parts regardless if the car feature lka or not. The raw can bus data can be injected into the steering assist ecu which are then processed and sent to the power steering ecu to actually turn the wheel. Usually we start sending signal from the DSU but with car without LKA I suspect it's likely a different part number, not sure how far you could start away from the power steering ecu as a starting point so the injected packets would reach their final destination on lka-less car. You could also use the ipas (intelligent park assist) feature if equipped by spoofing the reverse gear and use id 266 to steer the car but it's kinda dangerous as ipas steering angle is not limited to small increment like lka.
It remain to be tested if the car steering ecu would still accept command to steer the car even if lka is not present. To my knowledge all LS have electronic steering wheel and it's possible that the steering ecus are the same parts regardless if the car feature lka or not. The raw can bus data can be injected into the steering assist ecu which are then processed and sent to the power steering ecu to actually turn the wheel. Usually we start sending signal from the DSU but with car without LKA I suspect it's likely a different part number, not sure how far you could start away from the power steering ecu as a starting point so the injected packets would reach their final destination on lka-less car. You could also use the ipas (intelligent park assist) feature if equipped by spoofing the reverse gear and use id 266 to steer the car but it's kinda dangerous as ipas steering angle is not limited to small increment like lka.
I assume people will come up with ready to use plug and play solutions?
I do have self park and as you say that doesn’t sound like a great idea..
lets see if these guys respond back with what’s possible. I’ll also see if there’s a LS thread on their forums
thanks for taking the time to explain!
#9
Hi folks. I am interested to purchase a Lexus with Comma.ai / Open Pilot in mind and am curious if anyone on here has set it up since this thread earlier this year? I've searched the forum and there are not many mentions of it.
#10
2017-2018 CT Hybrid
2019 Lexus ES / Hybrid
2017-2019 Lexus IS
2016-2019 Lexus RX Hybrid
Early 2007 to 2009 Lexus LS460 with LKA and 2008-2009 ls600hl with APCS (even without LKA) and 2010-2017 ls460/600h with LKA all have all the necessary hardware to be supported (I suspect that any MY with radar cruise control can be supported but that remain to be confirmed) but since the way the car control the lateral and longitudinal motion is so much different than the recent model you kinda have to start from scratch. So porting a new model similar to its already ported outgoing model is much more easier. I've worked with the thread starter and we managed to get the car to steer but there was a pretty significant chunk of code that needed to be adjusted to the comma ai source code to make it work smoothly compared to other Toyota and Lexus model. On more recent model you can hook the hardware directly beside the camera but on the LS you need to dig the DSU out from the driver footwell and work from there. On more current models you need to hack 2 can lines but on the LS it use at least 4 lines for the system so it's more complicated and there is much more ecu involved in the whole process. But we noticed that the 2008 model work the same way as a 2015 (and probably a 2017) so by making a 2008 MY compatible the code would probably also work on a 2017 MY. In the end lack of time, manpower and cars (and winter here, cause it suck to test the system in winter) pretty much put this project on hold. Which is a shame because it can definitely be done.
#11
Can you PM me on Discord Vansibel, Wanting.RA1N#5762, I have some questions to ask about the port for openpilot. Me and a group of people are developing a port for a 2010 Prius, and it is very similar to your Lexus
#12
Back in the day I tried to retrofit openpilot 0.7 to 2015 LS600h but got nowhere. How you guys are doing, can I help in any way?
Our solution was to totally intercept ECU and filter out and modify on the fly two CAN buses. That's why we needed 2 Pandas. The best we got was 10 seconds of drunken wheel before it erred out.
The final phase where we got.
Our solution was to totally intercept ECU and filter out and modify on the fly two CAN buses. That's why we needed 2 Pandas. The best we got was 10 seconds of drunken wheel before it erred out.
The final phase where we got.
#14
Somebody tried it on some other Lexus model, if I remember correctly. Using autoparking mode means faking to DSU that car is in park, or something similar complicated. But autopark shows for sure, that there is no torque limit to steering wheel
We are going to fake messages to steering torque and see how far we get with this. If there is a doable solution, we will share it
We are going to fake messages to steering torque and see how far we get with this. If there is a doable solution, we will share it
#15
Somebody tried it on some other Lexus model, if I remember correctly. Using autoparking mode means faking to DSU that car is in park, or something similar complicated. But autopark shows for sure, that there is no torque limit to steering wheel
We are going to fake messages to steering torque and see how far we get with this. If there is a doable solution, we will share it
We are going to fake messages to steering torque and see how far we get with this. If there is a doable solution, we will share it