Project Overview

This subproject tends to use Ultrasonic sensors or further with Lidar detector to implement distance detection function on JetBot 2GB AI Kit. Aiming to detect the distance between the differential drive robot and the obstacles, and providing the data to avoid obstructions. Using HC-SR04 Ultrasonic Distance Sensor, paired with an Arduino Uno and the Arduino library, rosserial.h, to act as a bridge between the hardware and the ROS network that our robot’s algorithms are running on. 

Distance detection by Ultrasonic sensor and Lidar

For anyone who wants to use the ultrasonic sensor with the jetson nano robot using ROS. Thay can follow the detailed instructions below.

 

Components/ Purchase List

Processure

These are the levels that you need to achieve so that you can realize the function. 

The working principle of how to use ROS to convert the data. 

Demonstrations

Here is the demonstration of using HC-SR04 ultrasonic sensor to collect data and transfer it through ROS.

When we want to increase the accuracy of the detection. We change the Ultrasonic sensor to Lidar sensor, which can detect 360-degree views with higher measurement accuracy

Here we demonstrate the recognition of basic images. As you can see, the images showing on the Lidar is vivid and precise.

When we implement the Lidar and apply it in the real world. It shows a good fit to the working area in the picture, which means we can integrate the Lidar sensor with our diffdrive robot to realize 360-degree real-time imaging.

Future work

  • Attempt to integrate the Lidar into the robot and control it through ROSserial                                                              
  • Make sure other subscribers can get the data