Skip to content

The Autonomous Xgo Dog Robot Controller is a sophisticated software system that enables an Xgo robotic dog to autonomously navigate and interact with its environment. Leveraging advanced object detection algorithms, the controller empowers the robot to recognize and approach people while maintaining a safe and predefined distance.

License

Notifications You must be signed in to change notification settings

Keyvanhardani/Autonomous-Xgo-Dog-Robot-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Xgo Dog Robot Controller

This repository contains the code for an autonomous robotic dog, designed to interact with its environment using object detection and distance estimation. The robot utilizes a camera to detect objects (specifically people) and calculate the distance to them, adjusting its movements accordingly.

Features

  • Object detection with a pre-trained ONNX model.
  • Distance estimation using camera focal length and known object width.
  • Autonomous movement control to approach or maintain a specific distance from detected people.
  • Turning behavior when no objects are detected, enabling the robot to search its environment.

Requirements

  • OpenCV
  • NumPy
  • ONNX Runtime
  • Spidev
  • Xgoscreen
  • Xgolib
  • Pillow
  • Threading
  • Random

Usage

  1. Ensure the Xgo robot is connected and the camera is set up correctly.
  2. Run the controller script to start the robot's autonomous behavior.
  3. The robot will move towards detected people, maintaining a safe distance.
  4. If no people are detected, the robot will turn to search for them.

TODO

  • Improve face detection accuracy.
  • Optimize face detection performance for real-time processing.
  • Refine the turning mechanism to be more responsive to object detection.
  • Integrate additional sensors for enhanced environmental awareness.
  • Implement machine learning algorithms for better object classification.
  • In progress: Enhance the obstacle avoidance system.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Special thanks to the contributors of the libraries and tools used in this project.

  • Developer

Keyvan Hardani - NOV.2023

About

The Autonomous Xgo Dog Robot Controller is a sophisticated software system that enables an Xgo robotic dog to autonomously navigate and interact with its environment. Leveraging advanced object detection algorithms, the controller empowers the robot to recognize and approach people while maintaining a safe and predefined distance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages