Analyse the performance of a drone

Assignment Help Python Programming
Reference no: EM131938856

What you need to:

1) Code for the whole project, and some pictures and explanation of how this code running and the demo of the program. Explanation of how you could use the code. (Use he latest vision of Spyder(Anaconda) for python code writing)

2) A 2-page report for the theory and method used for the A* algorithm and dynamic environment.

Important parts.

1) A* routing algorithm is the basic principle of what we use for this project.

2) The drone in the grid should be able to learn the environment in a 3x3 grid, which means the environment is a real-time environment, there is the definition for the real-time environment in the previous file under Aims. (Such as traffic lights, other cars and how the drone decided to take the other route or stick the same route before.)

3) what I want for the variables to be optimized is TIME consumed to travel from A to B.

Tasks from last week:

- Stakeholders, companies. Who are they? Heathrow auto-taxis, city councils, Google, etc.

- Research what's already been done, search algorithms

- How to design the environments? Defining children states and obstacles?

- Work on some example codes we can share. Python better for machine learning. Best to stick with one language to avoid confusion. (pygame currently unsupported by Py3.6, older versions work)

Aims:

- Planning a route (A to B) where the drone has knowledge of the static environment. In real time, no static or dynamic obstacles. Investigate how to weight cost vs heuristic. Assuming complete knowledge of the environment with no additional obstacles.

- Next define the drones knowledge of the environment separately to the real-time environment. Drone will still have knowledge of the empty environment (walls, buildings, shelves etc.). In addition, real-time environment will include randomly placed obstacles that the drone will not be aware of initially. As the drone explores, it will be able to update the knowledge of its local surroundings within its field of vision (see methods), in order to reroute itself if a path is blocked.

- Incorporate a measure of risk / reward in to the algorithm (revisit how to weight cost, heuristic and risk), possibly measuring risk based on number of surrounding obstacles.

- Add dynamically moving obstacles (cars, people, etc.). Assume they move at the same rate as the drone.

- Add time-variant obstacles, e.g. traffic lights / junctions that are (not) passable at certain times.

- Add option for multiple destinations (maybe the drone has to make deliveries at multiple locations)???

Questions:

- Variables to optimise: energy(distance, time?) consumed

- Parameters to tune: maximum waiting time, weighting of cost vs heuristic vs risk.

- Inputs for drone: Complete layout of empty environment, number of randomly placed static obstacles(?), number of randomly placed dynamic obstacles(?).

- Is it worth being able to distinguish between static and moving obstacles (e.g. a person vs a crate / fallen tree) as opposed to treating all unexpected obstacles equally????? Investigate how much better (/worse) algorithm performs

Methods to be used:

- To analyse the performance of a drone, first run the simulation normally (with the drone only having some knowledge of its environment, not including the locations of randomly placed obstacles), then for comparison, rerun simulation with the drone being given complete knowledge of all obstacles (including randomly placed ones). In theory, if the drone is provided with perfect knowledge from the beginning it will be able to find the (cost of) the best route. The actual route the drone finds can then be compared to this ‘perfect knowledge route' in order to measure how optimal it is.

- In order to navigate through the environment, the drone will be able to move horizontally, vertically or diagonally by one grid square per time step. The cost of moving horizontally or vertically will be 1, whereas the cost of moving diagonally will be √2. Cost will relate to energy expenditure? The drone will only be able to move diagonally if it could also reach the same grid square via a combination of one horizontal and one vertical movement that do not cross any obstacles (this prevents the drone from being able to ‘hop' over diagonal walls).

- When including dynamic obstacles such as staff, vehicles, maybe other drones etc., the drone will also have the ability to wait in its current state for a time step **will need to make an assumption of the energy expended whilst waiting**.

- Construct heuristic from euclidean distance between a given grid square and the destination grid square. Obstacles will have a heuristic equal to twice the number of squares on the grid (an arbitrarily large value)

- In order to update the drones knowledge of its local surroundings, an algorithm will scan up to 3 **may be changed** grid squares to the left, right, up, and down and up to 2 **may be changed** grid squares in all diagonal directions. Grid squares in between these trajectories will also be considered - drone will essentially have a diamond-shaped field of vision. The drones knowledge of any grid squares that are not occupied by or ‘behind' obstacles will be updated with the real-time information about the environment on each time step.

Attachment:- Questions.zip

Reference no: EM131938856

Questions Cloud

Determine the price of the bonds on december : Determine the price of the bonds on December 31, 2018, assuming that the market rate of interest for similar bonds was 7%
What will be the value of the investment : What will be the value of the investment (in U.S. dollars) at the end of one year?
What is the estimated bad debts expense for birdwell : Uncollectible accounts are accruing at a rate of 3% of total sales. What is the estimated bad debts expense for Birdwell
Sex-linled hereditary blood defect of males : Hemophilia is a sex-linled hereditary blood defect of males characterjed by delayed clotting of the blood which makes it difficult to control
Analyse the performance of a drone : analyse the performance of a drone, first run the simulation normally - The actual route the drone finds can then be compared to this ‘perfect knowledge route'
What were the beginning and ending balances for merchandise : Question - Determining the adjustments for inventory - What were the beginning and ending balances for Merchandise inventory
Construct a tree denoting the possible behavior : Consider a reaction in which three neutrons are emitted initially. Let c denote that a given neutron is captured by another nucleus; let n denote
Methods for building upon foundational architectures : The development function is critical, since new systems need to be designed for better security than the legacy systems currently use.
Determine the cost to be apportioned to the land : Determine the cost to be apportioned to the land and to the building and prepare the journal entry to record the acquisition

Reviews

len1938856

4/12/2018 2:10:18 AM

The general introduction for the project is written in the previous file I have sent. The information under subtitle Aims is the general aims of this project.(What it should achieve.) Important parts. 1) A* routing algorithm is the basic principle of what we use for this project. 2)The drone in the grid should be able to learn the environment in a 3x3 grid, which means the environment is a real-time environment, there is the definition for the real-time environment in the previous file under Aims.(Such as traffic lights, other cars and how the drone decided to take the other route or stick the same route before.) 3) what I want for the variables to be optimized is TIME consumed to travel from A to B.

len1938856

4/12/2018 2:10:10 AM

here is. complete require Python work The all aims of the word doc should be achieved. 1. What I need is 1) Code for the whole project, and some pictures and explanation of how this code running and the demo of the program. Explanation of how I could use the code.(I am using the latest vision of Spyder(Anaconda) for python code writing) 2) A 2-page report for the theory and method used for the A* algorithm and dynamic environment. It's better to have these within 5 days so I have time to learn it and write the report. There is an attached python file that is the initial grid I create that could be used for the project. It's a 7*7 grid. But it is better to make some grids of the existing environment such as real road environment.

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd