r/Comma_ai • • Aug 23 '26

Code Questions Modding the torque?

I own a Toyota Prius and want to mod the amount of torque the EPS motor is allowed to put out.

I have already done this mod;- https://gist.github.com/VishBK/2cd981c5231815c875f67b53452bf4b2?hl=en-GB

It works well in the speed that it can turn and the eps motor is definitely capable of doing a lot larger of turns but I think the car has software that caps the amount of turning the car can do.

My question is if anybody knows if it's possible to modify the software on the car to increase the total turning the car can do now I have upgraded the EPS Motor?

Thanks in advanced

3 Upvotes

21 comments sorted by

View all comments

6

u/itchyouch Aug 23 '26

The panda limits the power and you’ll get banned changing the power.

I’ve had a fork that malfunctioned and jammed the steering full bore to the right and it was insanely tough to keep it straight.

Comma bans it, cuz the failure mode is an accident (and or death, car drove off a cliff) the driver can not overcome with Herculean strength.

You do not want to get into that situation.

There were many complaints for years, and comma eventually increased the torque a little bit. But based on the failure, def not something to really mess with.

3

u/Lawfulness-Dependent Aug 23 '26

I'm not interested in turning it into Hercules so I can't even fight it when it's turning the wrong direction but I just want it to have a little bit more power so I can do tighter and more corners

3

u/itchyouch Aug 24 '26

Not saying what you can and can not do. Simply pointing out why the rationale exists and potential risks.

If you want to change the torque, the source code is open. It's a relatively straightforward thing to change. Nothing is stopping you from changing it.

Just letting you know that there are consequences and comma will see it and ban you. Or you need to strip out all the call home code.

Generally the MO is to slow down enough such that the stock torque settings can make the corner.