Python

Unmanned Vehicle   without using  expensive  ultrasonic sensor: Research Topic

An unmanned aerial vehicle (UAV), commonly known as a drone, is an aircraft without any human pilot, crew, or passengers on board. UAVs are a component of an unmanned aircraft system (UAS), which includes adding a ground-based controller and a system of communications with the UAV.

What is the difference between UAV and UAS?
UAS stands for Unmanned Aircraft (or Aerial) System. The term UAS encompasses not only the UAV, but also the person or team on the ground controlling the flight, as well as the system that connects the two (GPS, ground control, transmissions systems, cameras, software, etc).

How to use Research using Python programing one very important idea is given in the video the code related to this is available below:

If you want to work on this  You may collaborate with me contact me at [email protected]

 

Python
Python

 

This idea can be used  in many ways in designing Unmanned Vehicle   without using an expensive  ultrasonic sensor  for  getting  full detail to watch the video link below

 

Python
Python

Code For Angle Finder

import cv2 
import math

path = 'Resources/angle.jpg'
img = cv2.imread(path)

points = []

	
def getAngle(points):
    b,c,a = points[-3:]
    ang = math.degrees(math.atan2(c[1]-b[1], c[0]-b[0]) - math.atan2(a[1]-b[1], a[0]-b[0]))
    ang = round(ang + 360 if ang < 0 else ang)
    print(ang)
    cv2.putText(img,str(ang),(b[0]-40,b[1]-20),cv2.FONT_HERSHEY_COMPLEX_SMALL,1,(0,255,0),2)


def click_event(event,x,y,flags,params):
    global points,img
    if event==cv2.EVENT_LBUTTONDOWN:
        if len(points)!=0 and len(points)%3!=0:
            cv2.line(img,tuple(points[round((len(points)-1)/3)*3]),(x,y),(0,255,0),2)
        cv2.circle(img,(x,y),4,(0,255,0),-1)
        points.append([x,y])
        cv2.imshow('Image',img)
        if len(points)%3==0 and len(points)!=0:
            getAngle(points)
            cv2.imshow('Image',img)
    if event==cv2.EVENT_RBUTTONDOWN:
        points = []
        img = cv2.imread(path)
        cv2.imshow('Image',img)


cv2.imshow('Image',img)
cv2.setMouseCallback('Image',click_event)
cv2.waitKey(0)


The latest blog on various topics including Artificial intelligence, Machine learning, Internet of Things, is also for helping scholars who are pursuing Ph.D. in various fields. The content is  also available in the form of video in our channel the description is given below  

TechDoctorIn  Channel was developed for Learning New About Artificial Intelligence, Machine Learning and With Innovative Project Ideas. TechDoctorIn Channel has the Following Playlists

Channel link: https://www.youtube.com/c/TechDoctorIN

Linkedin: https://www.linkedin.com/in/dr-pawan-whig-a9730b11/?originalSubdomain=in

Google Scholar: https://scholar.google.com/citations?user=AyrId_EAAAAJ&hl=en

TechDoctorIn is a very useful educational channel run by Dr. Pawan Whig Senior IEEE Member. The content is verified by him at it is very useful.

1 thought on “Unmanned Vehicle   without using  expensive  ultrasonic sensor: Research Topic”

  1. Pingback: How to Run Python on a Webpage?

Leave a Comment

Your email address will not be published.