We are building an electric longboard with a team of university students. Our goal is to make an electric longboard with different driving modes. Because of this, we are working with an Arduino which communicates with the VESC via UART.
One of the modes that we are using now is just straightforward by using an RC controller. We were also thinking about a way to limit the acceleration of the board (maybe in a different mode, so the user has the option to chose this or not). Furthermore, it is also important to limit the jerk (derivative of the acceleration).
We were thinking of an algorithm for applying this, but it’s deffinitely not as easy as it looks. Due to this, I started thinking that we are probably not the first ones to think about this idea. So my question is: is there already a good control mode in BLDC-tool that limits the acceleration (and variation of the acceleration to drive smoothly)?
Kind regards, Peter