Skip to content

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

License

Notifications You must be signed in to change notification settings

jpiat/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.

Don't forget to init submodules git submodule update --init --recursive

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.6%
  • Python 6.5%
  • C 6.2%
  • Makefile 3.7%