Skip to content

p-h-a-i-l/bipropellant-hoverboard-api

 
 

Repository files navigation

bipropellant-hoverboard-api

C++ Wrapper around the bipropellant hoverboard UART protocol. An Arduino compatible branch is automatically generated: master_arduino. (This branch removes the submodule dependency.)

Feel free to write Pull Requests for added features and examples.

For now, only functions are implemented which were needed by the Author. Many more are possible.

See https://github.com/bipropellant/bipropellant-protocol/blob/fe96935cb2f550110ffaaa6d74852bedd79e25c7/protocol.c#L266-L307 for possible information which could be accessed via this protocol.

Implemented Features

  • Setting Motor PWM, also separately for left and right motor
  • Reading Motor Speeds
  • Setting Motor speeds, separately for left and right motor
  • Setting PID control values
  • Reading electrical Parameters (Voltage, Current..)
  • Subscribe to automatic updates of values
  • Schedule recurring transmission of values
  • Register callback function when values are received

See https://github.com/bipropellant/bipropellant-hoverboard-api/blob/master/src/HoverboardAPI.cpp for detailed information of implemented functions.

About

C++ Wrapper around the hoverboard UART protocol. Arduino compatible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.3%
  • C 12.7%