DiffBot 是一款自主 2 轴差速驱动机器人,采用 Raspberry Pi 4 B 上的 ROS Noetic。它搭载 SLAMTEC 激光雷达和 ROS 控制硬件接口,
DiffBot 是一款自主 2 轴差速驱动机器人,采用 Raspberry Pi 4 B 上的 ROS Noetic。它搭载 SLAMTEC 激光雷达和 ROS 控制硬件接口,
DiffBot is an autonomous differential drive robot with two wheels. Its main processing unit is a Raspberry Pi 4 B running Ubuntu Mate 20.04 and the ROS 1 (ROS Noetic) middleware. This respository contains ROS driver packages, ROS Control Hardware Interface for the real robot and configurations for simulating DiffBot. The formatted documentation can be found at: https://ros-mobile-robots.com.
| DiffBot | Lidar SLAMTEC RPLidar A2 |
|---|---|
If you are looking for a 3D printable modular base, see the remo_description repository. You can use it directly with the software of this diffbot repository.
| Remo | Gazebo Simulation | RViz |
|---|---|---|
It provides mounts for different camera modules, such as Raspi Cam v2, OAK-1, OAK-D and you can even design your own if you like. There is also support for different single board computers (Raspberry Pi and Nvidia Jetson Nano) through two changable decks. You are agin free to create your own.
| Real robot | Gazebo Simulation |
|---|---|
diffbot_base: ROS Control hardware interface including controller_manager control loop for the real robot. The scripts folder of this package contains the low-level base_controller that is running on the Teensy microcontroller.diffbot_bringup: Launch files to bring up the hardware drivers (camera, lidar, imu, ultrasonic, ...) for the real DiffBot robot.diffbot_control: Configurations for the diff_drive_controller of ROS Control used in Gazebo simulation and the real robot.diffbot_description: URDF description of DiffBot including its sensors.diffbot_gazebo: Simulation specific launch and configuration files for DiffBot.diffbot_msgs: Message definitions specific to DiffBot, for example the message for encoder data.diffbot_navigation: Navigation based on move_base package; launch and configuration files.diffbot_slam: Simultaneous localization and mapping using different implementations (e.g., gmapping) to create a map of the environmentThe packages are written for and tested with ROS 1 Noetic on Ubuntu 20.04 Focal Fossa. For the real robot Ubuntu Mate 20.04 for arm64 is installed on the Raspberry Pi 4 B with 4GB. The communication between the mobile robot and the work pc is done by configuring the ROS Network, see also the documentation.
The required Ubuntu packages are listed in software package sections found in the documentation. Other ROS catkin packages such as rplidar_ros need to be cloned into the catkin workspace.
For an automated and simplified dependency installation process install the vcstool, which is used in the next steps.
sudo apt install python3-vcstoolTo build the packages in this repository including the Remo robot follow these steps:
cd into an existing ROS Noetic catkin workspace or create a new one:
mkdir -p catkin_ws/srcClone this repository in the src folder of your ROS Noetic catkin workspace:
cd catkin_ws/srcgit clone https://github.com/fjp/diffbot.gitExecute the vcs import command from the root of the catkin workspace and pipe in the diffbot_dev.repos or remo_robot.repos YAML file, depending on where you execute the command, either the development PC or the SBC of Remo to clone the listed dependencies. Run the following command only on your development machine:
vcs import This is partly implemented (see `diffbot_base/scripts/base_controller`)
Also replace `Wire.h` with the improved [`i2c_t3`](https://github.com/nox771/i2c_t3) library.diffbot_mbf package using move_base_flex, the improved version of move_base.To enable object detection or semantic segmentation with the RPi Camera the Raspberry Pi 4 B will be upated with a Google Coral USB Accelerator. Possible useful packages:
teleop_twist_keyboard and/or teleop_twist_joy package to drive the real robot and in simulation..clang-format file for roscpp to comply with ROS C++ Style Guidelines| SBC RPi 4B | MCU Teensy 3.2 | IMU Bosch |
|---|---|---|
| Part | Store |
|---|---|
| Raspberry Pi 4 B (4 Gb) | Amazon.com, Amazon.de |
| SanDisk 64 GB SD Card Class 10 | Amazon.com, Amazon.de |
| Robot Smart Chassis Kit | Amazon.com, Amazon.de |
| SLAMTEC RPLidar A2M8 (12 m) | Amazon.com, Amazon.de |
| Grove Ultrasonic Ranger | Amazon.com, Amazon.de |
| Raspi Camera Module V2, 8 MP, 1080p | Amazon.com, Amazon.de |
| Grove Motor Driver | seeedstudio.com, Amazon.de |
| I2C Hub | seeedstudio.com, Amazon.de |
| Teensy 4.0 or 3.2 | PJRC Teensy 4.0, PJRC Teensy 3.2 |
| Hobby Motor with Encoder - Metal Gear (DG01D-E) | Sparkfun |
| Part | Store |
|---|---|
| Raspberry Pi 4 B (4 Gb) | Amazon.com, Amazon.de |
| SanDisk 64 GB SD Card Class 10 | Amazon.com, Amazon.de |
| Remo Base | 3D printable, see remo_description |
| SLAMTEC RPLidar A2M8 (12 m) | Amazon.com, Amazon.de |
| Raspi Camera Module V2, 8 MP, 1080p | Amazon.com, Amazon.de |
| Adafruit DC Motor (+ Stepper) FeatherWing | adafruit.com, Amazon.de |
| Teensy 4.0 or 3.2 | PJRC Teensy 4.0, PJRC Teensy 3.2 |
| Hobby Motor with Encoder - Metal Gear (DG01D-E) | Sparkfun |
| Powerbank (e.g 15000 mAh) | Amazon.de This Powerbank from Goobay is close to the maximum possible size LxWxH: 135.5x70x18 mm) |
| Battery pack (for four or eight batteries) | Amazon.de |
| Part | Store |
|---|---|
| PicoScope 3000 Series Oscilloscope 2CH | Amazon.de |
| VOLTCRAFT PPS-16005 | Amazon.de |
| 3D Printer for Remo's parts | Prusa, Ultimaker, etc. or use a local print service or an online one such as Sculpteo |
DiffBot
Remo
diffbot_description using yaml files (see ROS Wiki on xacro) is part of mobile_robot_description from @pxalcantara.littlebot), see also issue #1dfki-ric/mir_roboteborghi10/my_ROS_mobile_robothuskyYour contributions are most welcome. These can be in the form of raising issues, creating PRs to correct or add documentation and of course solving existing issues or adding new features.
diffbot is licenses under the BSD 3-Clause.
See also open-source-license-acknowledgements-and-third-party-copyrights.md.
The documentation is licensed differently,
visit its license text to learn more.
暂无开放 Issues,或尚未同步最近议题。