Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera bme_gazebo_sensors bme_gazebo_sensors_py

Repository Summary

Description Introducing various sensors to our Gazebo Harmonic simulation
Checkout URI https://github.com/mogi-ros/week-5-6-gazebo-sensors.git
VCS Type git
VCS Version main
Last Updated 2025-03-22
Dev Status UNKNOWN
Released UNRELEASED
Tags python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
bme_gazebo_sensors 1.0.0
bme_gazebo_sensors_py 1.0.0

README

Week 5-6: Gazebo sensors

This is how far we will get by the end of this lesson:

Table of Contents

  1. Introduction
    1.1. Download ROS package
    1.2. Test the starter package
  2. Camera
    2.1. Image transport
    2.2. rqt reconfigure
    2.3. Wide angle camera
  3. IMU
    3.1. Sensor fusion with ekf
  4. GPS
    4.1. Haversine formula
    4.2. GPS waypoint following
  5. Lidar
    5.1. 3D lidar
  6. RGBD camera
  7. Image processing with OpenCV

Introduction

After we built a simulated robot that we can drive around manually, we’ll start adding various types of sensors to it. We’ll see how to improve the odometry with sensor fusion using an IMI, how to follow GPS waypoints and we’ll use various cameras and lidars.

Download ROS package

The starting package of this lesson is very similar to where we just finished in the previous lesson, but don’t forget that every lesson has its own starter package that you can donwload from GitHub. To download the starter package clone the following git repo with the starter-branch (using the -b branch flag) to your colcon workspace:

git clone -b starter-branch https://github.com/MOGI-ROS/Week-5-6-Gazebo-sensors.git

As we saw prevoiusly we can take a look what’s inside the bme_gazebo_sensors package with the tree command!

.
├── CMakeLists.txt
├── package.xml
├── config
│   └── ekf.yaml
├── launch
│   ├── check_urdf.launch.py
│   ├── spawn_robot.launch.py
│   └── world.launch.py
├── meshes
│   ├── lidar.dae
│   ├── mogi_bot.dae
│   └── wheel.dae
├── rviz
│   ├── gps.rviz
│   ├── rviz.rviz
│   └── urdf.rviz
├── urdf
│   ├── materials.xacro
│   ├── mogi_bot.gazebo
│   └── mogi_bot.urdf
└── worlds
    ├── empty.sdf
    ├── home.sdf
    └── world.sdf

Let’s see what will we do with the existing files and folders:

File truncated at 100 lines see the full file

Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera
Repo symbol

week-5-6-gazebo-sensors repository

python opencv camera gps point-cloud imu lidar gazebo harmonic depth-camera rqt ros2 ekf-localization rqt-reconfigure gazebosim fisheye-camera