-
Notifications
You must be signed in to change notification settings - Fork 32
Brake Pedal does NOT disengage BoltPilot, but Regen Paddle does. #223
Comments
Hello, sorry for late answer. in current version of BoltPilot, there are many options to chagning behavior of Comma, will be post the options names to handle your problem. |
explain for 155, in Korea, BoltEV limited higest vehicle speed to 154 km/h. |
Thanks! |
Not "Lanemode" . Please find it in tune. |
Tune -> "LANE CHANGE: Speed (30)" |
I tried, but it only went up to 60. I then edited apilot.json to set its max value to 160, updated, but still only lets me go to 60. I'll look at the code a bit more later and try to figure out what's happening. |
Found the other location to set to 160 (it was settings for the ui itself). Works as expected now. I haven't found the issue with the brake yet. I believe this is the code responsible for disabling BoltPilot when the brake or the regen paddle is used:
I don't see any issues there. Then I checked safety_gm.h and saw that these brake_pressed values had been commented out:
I uncommented, updated, but it still works as before. Regen paddle disables BoltPilot, brake pedal does not. I can understand why this behavior may be desired by some, but it should be an opt-in. I use one-pedal driving almost exclusively, so if I press the brake to force the car to slow to a stop, but then release because the car should hold, it'll take off. Also just as bad is if I just keep pressing on the brake (because I remember I need to), immediately press the accelerator to take off and drive normally (forgetting that BoltPilot is still engaged)...let off the accelerator all the way with the intention to brake and BoltPilot will take off again (because it was actually engaged the whole time, but any pedal command will pause it). Any pointers would be appreciated. |
so sorry for numbers are limited in Apilot. the reason why is not all the codes from me lol.. I've fixed and drived-tested nudge-required thing, try https://github.com/jc01rho-openpilot-BoltEV2019-KoKr/boltpilot/tree/feature/opgm-ap-integration with "LANE CHANGE: Speed (30)" value 5 or zero. |
anyway, safety_gm.h does not related with all problemes described in here. :) |
sorry it could be releated with safety_gm.h lol.. |
it should work as you comment-out in safety_gm.h , did you checked panda rebuilds? somethimes it need manually flashing command required to panda lol |
or, please add this just below you commented out if { .. } lines,
from boltpilot/panda/board/safety/safety_gm.h Lines 101 to 105 in 4701b1a
|
To Reproduce
While engaged (BoltPilot controlling speed and steering), press brake pedal. BoltPilot does not disengage.
Expected Behavior
While engaged (BoltPilot controlling speed and steering), pressing brake pedal will disengage BoltPilot.
Additional Context
2018 Chevrolet Bolt Premier with Comma 3 and Pedal. Tried both release and develop builds a few days ago (also tried feature-develop but had issues getting it to work).
It seems as though it's treating the regen paddle and the brake reverse of how it should. Using the regen paddle DOES cause BoltPilot to disengage. I'd expect the actual brake pedal to disengage the system (while I could see arguments for and against the regen paddle disengaging BoltPilot).
Also, a question since I couldn't see where to ask (is there a discord somewhere?). How can I set BoltPilot to require a nudge on the wheel before changing lanes? If I cancel the signal, sometimes the stalk will jump a bit too far and cause the opposite turn signal indicator to indicate (so if I'm turning left, have the left signal on, manually cancelling the signal may cause the right signal to briefly flash; this is dangerous as BoltPilot will just happily change lanes all over the place).
Thanks!
The text was updated successfully, but these errors were encountered: