This repository is designed for a drone project that employs SLAM (Simultaneous Localization and Mapping) algorithms to enable autonomous mapping and navigation in various environments. The system runs on ROS Noetic, the final release of ROS 1, known for its robustness and extensive community support. By utilizing SLAM, the drone can construct a real-time map of its surroundings while determining its location within the map, enabling precise and efficient autonomous operation.
Now for the LDROBOT D500 (LD19 or LD500) lidar is an affordable, lightweight 2D lidar suitable for applications like SLAM, navigation, and obstacle detection. It features a 360° scanning range, high-speed data acquisition (up to 12,000 points/sec), and good accuracy for mapping and localization. Its compact design makes it ideal for small robotics projects, and it is compatible with ROS, allowing integration with SLAM algorithms like Cartographer and Hector SLAM. Additionally, its USB communication makes it easy to set up with devices like the Raspberry Pi.
The lidar to raspberry pi connection is via usb which makes it more versatile
The drone not only include the mapping part but also human presence detection using the wifi camera.
For the drone i used a toy brushless dorne and modified it to a frame.since the drone have a camera i used its ip address to get the video data.
the camera board looks like this

After that i faced the issue of weight so i used 2 drones and made a X8 copter.
To use this we have to install ros noetic distro and we will be using hector slam mapping the files are included above. install all this follow the step in the installation guide of ros and hector mapping. after that modify the launch files to there corresponding locations for the human detection part we have to run the Detection.py file in the vs code to do so you have to install opencv,numpy etc for the voice or so. For the RC-controller we modified the drone remote with digital potentiometers for the esp32 control over the manual control.








