mc_interface_brake_now() vs. mc_interface_set_brake_current()

Support for creating custom user applications on the VESC.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
ambrojohn
Posts: 7
Joined: 26 May 2016, 04:41
Location: Colorado
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

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: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

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.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Custom Applications”

Who is online

Users browsing this forum: No registered users and 1 guest