It's fixed!!! Thank you Ben! Here's the behavior now:
The torque is proportional to the real life throttle position. At full throttle, full torque is allowed, even at 0 rpm.
The goal wasn't to limit torque at 0 rpm, it was to eliminate full torque at 0 rpm at extremely low throttle positions. Now any hill can be climbed by giving it more gas, just like in a gas car! A gas car pushes down on the accelerator to get more torque. It will behave like that now. The funny thing was that I only had to change a single word in the program! hehe Those are the type of problems I like fixing!
Ben, if you were here, I would shake your hand, and pat you on the back for a job well done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!
Last edited by MPaulHolmes; 01-10-2009 at 12:51 PM..
|