Skip to main content

Design of a Real-Time Obstacle Avoiding and Trajectory Generation Algorithm for an Unmanned Aerial Vehicle

  • Conference paper
  • First Online:
Sentiment Analysis and Deep Learning

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1432))

Abstract

The paper presents an object tracking algorithm implemented through an unmanned aerial vehicle (UAV). The system generates the trajectory taking into account the image obtained by the front camera of the drone, the object to be detected is a moving red box and using color segmentation techniques the object is detected. The red box is continuously tracked by centering the image frame. Open-source computer vision libraries (OpenCV) are used to process the images obtained from the drone. The software was verified by simulations with Gazebo and Rviz on the robot operating system (ROS) and compared with the real drone.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Yu, Y., Wang, X., Zhong, Z., & Zhang, Y. (2017). ROS-based UAV control using hand gesture recognition. In 29th Chinese control and decision conference (CCDC) (pp. 6795–6799).

    Google Scholar 

  2. Meier, L., Honegger, D., & Pollefeys, M. (2015). PX4: A node-based multithreaded open source robotics framework for deeply embedded platforms. In IEEE international conference on robotics and automation (ICRA) (pp. 6235–6240).

    Google Scholar 

  3. Rivera, D. (2012). Desarrollo de un algoritmo de evasión de obstáculos para Quadrotors en ambientes dinámicos utilizando una cámara de profundidad. Last accessed March 7, 2022, Homepage https://repositorio.unal.edu.co/handle/unal/21096?show=full

  4. Gao, F., & Shen, S. (2016). Online quadrotor trajectory generation and autonomous navigation on point clouds. In IEEE international symposium on safety, security, and rescue robotics (SSRR), ISBN:978–1–5090–4349–1. https://doi.org/10.1109/SSRR.2016.7784290

  5. Vanneste, S., Bellekens, B., & Weyn, M. (2014). 3DVFH+: Real-time three-dimensional obstacle avoidance using an octomap. In CEUR workshop proceedings (p. 1319).

    Google Scholar 

  6. PX4 Autopilot User Guide. Last accessed March 7, 2022, Homepage https://docs.px4.io/master/en/

  7. QGROUNDCONTROL. Last accessed March 7, 2022, Homepage http://qgroundcontrol.com/

  8. Wei, Y., & Lin, Z. (2017). Vision-based tracking by a quadrotor on ROS**this work was supported in part by the U.S. Army Research Office under grant W911NF1510275. IFAC—PapersOnLine, 50(1), 11447–11452, ISSN 2405–8963. https://doi.org/10.1016/j.ifacol.2017.08.1814

  9. Olalekan, A. F., Sagor, J. A., Hasan, M. H., & Oluwatobi, A. S. (2021). Comparison of two SLAM algorithms provided by ROS (Robot Operating System). In 2021 2nd International conference for emerging technology (INCET) (pp. 1–5). https://doi.org/10.1109/INCET51464.2021.9456164

  10. Gazebo: Robot simulation made easy. Last accessed March 8, 2022, Homepage http://gazebosim.org/

  11. AWS RoboMaker Guía para desarrolladores. Last accessed March 8, 2022, Homepage https://docs.aws.amazon.com/es_es/robomaker/latest/dg/aws-robomaker-dg.pdf#simulation-tools-rviz

  12. Vera, A. A., & Valle, D. F. (2020). Diseño de un sistema de visión artificial para la detección y control de presencia de zopilote negro en aeródromos. Recuperado de: http://hdl.handle.net/20.500.12749/12743

  13. Feng, L., Xiaoyu, L., & Yi, C. (2014). An efficient detection method for rare colored capsule based on RGB and HSV color space. In 2014 IEEE international conference on granular computing (GrC) (pp. 175–178). https://doi.org/10.1109/GRC.2014.6982830

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hernando González .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

González, H., Vera, A., Monsalve, J., Valle, D. (2023). Design of a Real-Time Obstacle Avoiding and Trajectory Generation Algorithm for an Unmanned Aerial Vehicle. In: Shakya, S., Du, KL., Ntalianis, K. (eds) Sentiment Analysis and Deep Learning. Advances in Intelligent Systems and Computing, vol 1432. Springer, Singapore. https://doi.org/10.1007/978-981-19-5443-6_38

Download citation

Publish with us

Policies and ethics