Giter Club home page Giter Club logo

hoverboard-driver's Introduction

hoverboard-driver

main workflow

ROS hardware driver for UART-controlled hoverboard. Can be used with diff_drive_controller. Hoverboard is using modified firmware by Emanuel Feru, changed to report wheel odometry via serial protocol.

If you're looking for the version of Hoverboard driver for bipropellant firmware, check the respective branch.

This driver is built for Robaka, a prototyping robotic platform based on hoverboard, Jetson Nano and a bunch of sensors. Please use Github discussion to get in touch.

ROS2

Looking for a ROS2 driver? Have a look at humble branch. https://github.com/hoverboard-robotics/hoverboard-driver/tree/humble

Usage

  1. Hoverboard port can be set as a "port" parameter in the node namespace. Check hoverboard.launch and 4x4.launch for examples of 2WD and 4WD configurations. 4WD config is purely for illustration on how to use several ports, but was not tested with two hoverboards.
  2. roslaunch hoverboard_driver hoverboard.launch
  3. Use any tool (keyboard_teleop, rqt) to send speed commands to hoverboard_velocity_controller/cmd_vel.

In 4x4 configuration, if you want to control both axis with the same cmd_vel, you can apply remapping as following:

<launch>
    <group ns="front">
        <param name="port" type="str" value="/dev/ttyTHS1"/>
        <remap from="/front/hoverboard_velocity_controller/cmd_vel" to="/cmd_vel"/>
        <include file="$(find hoverboard_driver)/launch/hoverboard.launch" />
    </group>
    <group ns="rear">
        <param name="port" type="str" value="/dev/ttyTHS2"/>
        <remap from="/rear/hoverboard_velocity_controller/cmd_vel" to="/cmd_vel"/>
        <include file="$(find hoverboard_driver)/launch/hoverboard.launch" />
    </group>
</launch>

DISCLAIMER

I bear no responsibility for any damage, direct or indirect, caused by using this project. Hoverboards are powerful and can be dangerous! Make sure you take all safety precautions!

hoverboard-driver's People

Contributors

alex-makarov avatar lbrombach avatar paddycube avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.