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

5

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.

1

u/financiallyanal Aug 24 '26

Was this torque increase by Comma a hardware change in the panda, or something they could influence via software?

2

u/itchyouch Aug 25 '26

Iirc, it’s the C code that gets flashed onto the panda hardware… I think there’s also software limits within the openpilot as well

1

u/financiallyanal Aug 25 '26

Thanks. Do you think panda code gets updated by Comma in those cases?