# Comp sci grads and Drone Experts!

Announcements Posted on
Four hours left to win £100 of Amazon vouchers!! Don't miss out! Take our short survey to enter 24-10-2016
1. Hi there,
What kind of famous algorithims are present in drones?
Furthermore, could anyone tell me if PCB's, microcontrollers and communication shields are taught in a comp sci degree??
2. (Original post by computerscience9)
Hi there,
What kind of famous algorithims are present in drones?
Furthermore, could anyone tell me if PCB's, microcontrollers and communication shields are taught in a comp sci degree??
There aren't 'famous' algorithms, but there are popular ones but people are always experimenting new ideas. First you need to get state of the drone, such as its speed, Euler angles (pitch, yaw, roll), etc. You get these sort of data from electronic components such as gyroscopes, accelerometer, magnetometer, etc. However these electronics do not give you real values because they're not prefect. So if it tells you the drone is tilted 3 degrees it's probably off by a bit. So the first thing you need to do is use some algorithms to process/filter the data to try to get the true values. Filtering algorithms by itself is super hard to do. Common ones include high/low pass filter and another popular one is know as the Kalman filter, which is one of the best filtering algorithms, but again super difficult to make/code. Once you have the state of the drone and filtered out all errors from sensor data, you need to decide what the drone should do next, ie how much power to put into the motors in order to stabilise or move forwards etc. This requires knowledge of some control theory, but the common control algorithms, people use on drones is the PID algorithm. PID is one of "classical control" algorithms and is proven to work well. There are other ones such as Fuzzy Logic controllers. You might be thought how to program micro controllers but I doubt you will study anything to do with control theory, this is mainly thought in engineering. At best you will learn about some filters as that's required for mobile development (because sensors in phones are crap too) but you will not learn an algorithm to control a drone.

tldr: use Kalman filter for filtering out data and PID control to control the drone

Posted from TSR Mobile

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: August 10, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

### Who is getting a uni offer this half term?

Find out which unis are hot off the mark here

### How to get a 1st class degree

Poll
Study resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.