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 all the appropriate methods for the class

Create a Person class that contains the username, password, list of status updates, and list of friends. Write all the appropriate methods

  The program should use a boolean= valued function

Write a program that accepts a word as input and determines wehther or not it has three consecutive letters in the alphabet. The program should use a Boolean= valued function named isTripleConsecutive that accepts an entire word as input.

  Draw nassishneiderman diagram

Draw NassiShneiderman (NS) diagram/s that present the steps of the algorithm required to perform the task specified

  Develop a car logo recognition app

Develop a car logo recognition app for Artificial recognition module - Basically you have to take a picture of the logo of a car and the app should recognise which car company is that.

  Find a random number import random

Find a random number import random - you are responsible for completing the program by adding the proper

  Implement the triangle classification algorithm

Create a function that implements the Triangle Classification Algorithm. The algorithm has a lot of steps in it, but each step is simple.

  Write a program to convert an input value from base

Write a program to convert an input value from base 10 to a user selectable base between 2 and 16.

  Calculate the total displacement of the system of springs

Calculate the total displacement of the system of springs - You are free to use any linear system solver from chapter 6, including the solvers that are part of the SciPy and/or numpy packages.

  Modify your code to ask the user for the id of a restaurant

Copy check1.py to check2.py and continue to work on check2.py. Modify your code to ask the user for the id of a restaurant between 1 and 155 (humans don't need to know about list ids starting at 0).

  What is computational error

What is computational error? How do you import the entire content of a library? What is the reason for systematic error

  Implements the binary tree as a class

Implements the binary tree above as a class. Divides into tokens, generating an iterator, with added support for variable names. Evaluates a postfix expression, given an iterator, with added support for variables.

  Create a python program that allows user enter class name

Create a Python program that allows user enter class name, faculty name, name of each student, and letter grade each student earned.

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