Need to prevent motor rotation when driver door is open, what would be correct way to do this?
Door status is read from CAN and if I change throtmax on vehicle code, it would require trigger Param::Change(Param::PARAM_NUM paramNum), or change some parameter from webui.
Not the best way to (mis)use some vehicle function, like GetGear which is not used in my case.
How to prevent motor rotation on zombie
-
- Posts: 155
- Joined: Tue Jun 15, 2021 5:44 pm
- Location: Finland
- Has thanked: 39 times
- Been thanked: 8 times
- J0hannes
- Posts: 115
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 15 times
- Been thanked: 131 times
Re: How to prevent motor rotation on zombie
Thinking out loud, this may have some drawbacks.
Why not have the door switch cut off 12V supply for the drive direction selection if you use switches?
Door open —> vehicle goes in to neutral.
Why not have the door switch cut off 12V supply for the drive direction selection if you use switches?
Door open —> vehicle goes in to neutral.
- J0hannes
- Posts: 115
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 15 times
- Been thanked: 131 times
Re: How to prevent motor rotation on zombie
Looking at the modification rules again, looks like I may need to figure out a solution to this one also
Maybe I'll just use the brake in signal in Zombieverter, that blocks throttle command. At least it should...
Then again for a pre October 2002 it says that driver needs to be notified when exiting, if the vehicle is in a mode which enabled active driving. --> Buzzer or a flashing light maybe
https://www.finlex.fi/fi/viranomaiset/n ... 4001/46612
Maybe I'll just use the brake in signal in Zombieverter, that blocks throttle command. At least it should...
Then again for a pre October 2002 it says that driver needs to be notified when exiting, if the vehicle is in a mode which enabled active driving. --> Buzzer or a flashing light maybe
https://www.finlex.fi/fi/viranomaiset/n ... 4001/46612