You are here

REVERSE FAIL in ADC_CURRENT_REV_BUTTON_BRAKE_ADC 

2 posts / 0 new
Last post
dk-odense
Offline
Last seen: 1 year 3 weeks ago
Joined: 2017-09-06 08:01
Posts: 8
REVERSE FAIL in ADC_CURRENT_REV_BUTTON_BRAKE_ADC 

Hi All

I am having aproblem with my fully FW updated VESC 75/300 R2. When i am choosing "current reverse button" in vesc tool, i am able to reverse the motor by putting gnd to servo input.

But when i am choosing "current reverse adc2 brake button" the same input does not reserve the motor. It functions as Cruise Control (keeping the speed as long as i set the input).

I am building a gokart and the possibility to reserve would really be a win. The project: https://www.youtube.com/watch?v=k5flv72Oivc

I spent a couple of hours looking into the code anyway. I think i found a fault. Now the code looks like this:

 

Should it not be looking like this, when i am using ADC & UART, with ADC1 as trottle and ADC2 as brake and a button to reverse the throttle to reverse (just like normal CURRENT_REVERSE function)?

I need the vesc to reverse, when i set the PPM input. It works great in CURRENT_REVERSE, but not in ADC_CTRL_TYPE_CURRENT_REV_BUTTON_BRAKE_ADC 



 



 

benjamin
Offline
Last seen: 1 day 20 hours ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

I will look into it, should be quite easy to fix.