mc_interface_brake_now() vs. mc_interface_set_brake_current()

Support for creating custom user applications on the VESC.
ambrojohn
Posts: 7
Joined: 26 May 2016, 04:41
Location: Colorado

mc_interface_brake_now() vs. mc_interface_set_brake_current()

Postby ambrojohn » 28 May 2017, 17:25

Hi, anybody can tell me the difference between the two functions for braking?

Do they both use regenerative braking?

What's the practical difference in their usage?

Any additional info is appreciated.
Thanks!

rew
Posts: 898
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.

Re: mc_interface_brake_now() vs. mc_interface_set_brake_current()

Postby rew » 29 May 2017, 06:28

My guess is that the first is the equivalent of the big "FULL BRAKE NOW" button in BLDC-tool. You could try to follow the code to see what happens.


Return to “Custom Applications”

Who is online

Users browsing this forum: No registered users and 1 guest