ros-mobile-robots/diffbot

DiffBot is an autonomous 2wd differential drive robot using ROS Noetic on a Raspberry Pi 4 B. With its SLAMTEC Lidar and the ROS Control hardware interface it's capable of navigating in an environment using the ROS Navigation stack and making use of SLAM algorithms to create maps of unknown environments.

What it solves

DiffBot provides a complete software framework for operating a two-wheeled autonomous robot. It bridges the gap between hardware components—like motors, sensors, and microcontrollers—and high-level navigation software, allowing users to build, simulate, and control a mobile robot using the ROS 1 (Robot Operating System) ecosystem.

How it works

The project uses a Raspberry Pi 4 as the main processor, which communicates with a Teensy microcontroller to manage motor control and sensor data. It leverages ROS Control to handle the robot's movement and navigation, providing pre-configured packages for hardware drivers, SLAM (mapping), and autonomous navigation. Users can test their code in a virtual Gazebo environment before deploying it to the physical robot.

Who it’s for

This project is designed for robotics hobbyists, students, and researchers who want to work with autonomous mobile platforms. It is ideal for those familiar with Linux (Ubuntu) and ROS 1 who want a modular, documented starting point for building or simulating a differential drive robot.

Highlights

  • Includes full simulation support using Gazebo and RViz for testing navigation and mapping without physical hardware.
  • Provides a modular software architecture that supports different camera modules and single-board computers.
  • Offers a "Development Container" setup to quickly get a working ROS environment running on Windows or Linux.
  • Contains ready-to-use launch files for SLAM and autonomous navigation tasks.
  • Fully documented hardware list for building the physical robot from accessible components.

Related

  • Project
  • Project
  • Project
  • Project
  • Project