Skip to content

DataBot-Labs/hoverboard_ros2_control

Repository files navigation

ROS2 Control Hoverboard Hardware Interface

ROS2 Control hardware interface for Hoverboard motors. Implementation in C++ with Boost libraries. All steering and feedback messages are transmitted by serial port communication.

Work is still in progress, we will be adding new features.

Compatible distros

  • jazzy
  • humble
  • foxy (tested just a bit, separate branch, more tests on request)

Requirements

Hoverboard driver firmware: https://github.com/hoverboard-robotics/hoverboard-firmware-hack-FOC

All ROS2 and system dependencies are installable by the rosdep command-line tool. Just run the following command:

rosdep install --from-paths src -y --ignore-src

You can learn more about the rosdep command line tool here: https://docs.ros.org/en/humble/Tutorials/Intermediate/Rosdep.html

How to run it?

The simplest way to run the whole package is to use the demo launch file. The launch file can be an inspiration for your custom usage of the package.

To use the launch file, just run the following command:

ros2 launch hoverboard_demo_bringup hoverboard.launch.py

Inspirations

Thank you for your support and inspiration!

Tests

The code works well with USB to TTL adapter with a 3.3V voltage level and with a UART1 port on the Jetson Xavier NX Development Kit. The code was tested with ROS2 Humble distribution with a standalone and containerized (Docker) setup.

Cooperation and contact

If you want to add or change something, just fork this repository and push changes by the pull request. If you need something, but you can't do it yourself, please write an issue. We will do our best to help.

Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published