SlideShare a Scribd company logo
PROGRESS REPORT




ANDREW KAIZER, THOMAS CRESCENZI,
       AND TYLER YOUNG
HOW FAR ARE WE?
Divide and Conquer

•  Andrew: (Sparse) A*
•  Thomas: Plane prediction, ROS
   integration
•  Tyler: Best cost/danger grids, X-
   Plane visualization
Refresher: Plane Prediction

l    Works by evaluating the chances that a
      plane will be in a specific grid
l    Takes into account time which allows for
      the plane to be seen as moving through
      time
l    Branches in the chance that a plane
      could equally be in two places at one
      time
New Additions

l  Now planes are predicted to
    their avoidance way point and
    from there to their goal
l  In addition planes are

    predicted a second past their
    goal
New Additions
Best Cost Estimates


If you find yourself in this square, the
best path you can find is of cost ____.
A* Search

•  Divided into three parts:
  – Sparse A* Setup
  – Dynamic-Sparse A* Search
  – Dynamic Collision Analysis
Sparse A* Setup: Steps 1-7

1.  Get Start Point, Waypoint Point
2.  Construct optimal grid forward path
3.  Construct optimal grid back path
4.  Fill in rest of optimal spaces
5.  Calculate Optimal Continuous Space
    Path
6.  Determine if Optimal Path is Clear
7.  Clear ? Return goal : continue to step 8;
Dynamic-Sparse A* Search: Steps
             8-13
8.  Look at current minimal (smallest) node
9.  Calculate bearing of current node
10. Calculate legal expansion
11. Create successors
12. Goal ? Go to Step 13 : Go to Step 8
13. Push every single point, in order of time,
    onto the A_STAR queue
A* Collision Analysis: Step 14-17

14. Pop OPT and A_STAR points
15. Compare o.x, o.y and a.x, a.y
16. DIFFER ? go to step 17 : go to step 14
17. Return Collision Avoidance Point
18. If queues empty: OPT ≈ A_STAR
Step One: Start/End
Step Two: Optimal Forward
Step Three: Optimal Backwards
Step Four: Full Optimal
Step Five: Optimal Path
Step 6/7: Determine Path Clarity

For time t = {0…n}
  a)  Calculate expected values
  b)  Retrieve real values from Danger/Best Cost
  c)  if REAL > EXPECTED
    a)  PATH is not clear; go to step 8
  d)  t++
  e)  Go back to step a
Step 8-13: (2,2,0)
Step 8-13: (3,3,1)
Step 8-13: (3,2,1)
Step 8-13: (4,1,2)
Or if you like Crudely Drawn GIFs
Steps 14-17
OPTIMAL PATH               A STAR PATH
1: (2,2,0) -- START        1: (2,2,0)
2: (3,2,1)                 2: (3,2,1)
3: (4,2,2)                 3: (4,1,2) – Collision Point
4: (5,2,3) -- GOAL         4: (5,2,3) -- GOAL
5: …                       5: …

                            RETURN: Point (4, 1, 2)
Sparse-Dynamic A*

•  Sparse: Looks at a minimal area, instead
   of wasting time on dead ends
•  Sparse: Does not call A* if the path is
   clear
•  Dynamic: Makes educated guesses
   based on time steps into the future
•  Dynamic: Versatile, can respond to
   change quickly
ROS Integration

l    Two services are used
      l    requestwaypointinfo is used to get
            the final goal of each plane for use
            with predicting paths
      l    gotowaypoint is used to send the
            planes to the right waypoint
l    Telemetry updates are received
      through a message
Classes to Help with Integration

l    Plane class
      l    Represents a plane and contains all
            of the information from telemetry,
            and a bit more
l    Position class
      l    Represents a position in both latitude
            and longitude and x and y
      l    Used by the Plane class to aid in
            storing information
Steps Done by ROS

l    Get telemetry data
l    Update the plane object
l    Get and set the plane’s goal with the
      requestwaypointinfo service
l    Build the best cost grid
l    Run A*
l    Tell plane to go to the point A* says with
      the gotowaypoint service
Integrating with ROS

A* works brilliantly in our
simulated world of dots,
starts, and goals.

What happens, though,
when we work with UAVs?
“Chicken”
Integrating with ROS

Playing nice with ROS—and
doing so reliably—is proving
more difficult.
Visualization in X-Plane
WHAT OBSTACLES HAVE
  WE OVERCOME?
A* Works Really Well

Andrew has graphs to show
tomorrow!
BC Grids—Where Do We Stop?
BC Grids—Where Do We Stop?
BC Grids—Where Do We Start?
Giving Planes Breathing Room
Difficulties Predicting Planes

l  Very few due to excessive
    planning on paper
l  Swaths created when time was

    predicted incorrectly
l  Only predicting to final goal

    and ignoring intermediate way
    points
Difficulties with ROS

Troubleshooting
  l  No debugger


  l  No call stack listing


  l  No outputting (if you’re doing

      it wrong!)
Difficulties with ROS

Troubleshooting
  l  No debugger


  l  No call stack listing


  l  No outputting (if you’re doing

      it wrong!)
Solutions

l  assert(false) deeper and
    deeper into the stack
l  Turn outputting on and add

    tons of colors to the terminal
l  Add a good number of

    compiler directives to direct
    output
Learning to Troubleshoot… Again

Without a debugger, we end up
asserting everything we can.
Insidious Planar Assumptions

•  Accidentally modeled a flat
   earth
•  Background in planar
   (Euclidean) geometry makes
   our intuitions unreliable
Insidious Planar Assumptions

Distance between two points:




Compare to planar distance:
Insidious Planar Assumptions

Bearing between two points
Insidious Planar Assumptions

Ending point given distance and
bearing:
Insidious Planar Assumptions

Ending point given distance and
bearing:
Computation Time and Parallelism

•  Time complexity is linear with
   respect to the number of
   aircraft

•  Each aircraft’s path is plotted
   independently of others—can
   have one plane per CPU with
   no penalty
WHAT OBSTACLES DO WE
     STILL FACE?
Testing in the Air

•  Autopilots are untested
•  No guarantee that behavior
   observed in the simulator will
   carry over to the real world
Improving Our Methods

•  Plane prediction
•  Heuristic (best cost grid)
   generation
•  Parallelism
Troubleshooting the Little Things

We're done with the things we
aimed to do—just need to bring
them together.

•  E.g., plane 0 doesn't take more
   than 1 goal...
HOW WILL WE
OVERCOME THESE?
We’ll see.

•  Troubleshooting has to take
   place as we encounter
   problems.
    – Same methods as ever: trace
     the problem to its roots.
We’ll see.

•  Research
 – Use known methods of optimizing
   code, predicting planes
 – Use built-in methods for
  parallelizing in ROS

More Related Content

Similar to Midterm Progress Report (Dynamic Sparse A-Star)

Straight Line Distance Heuristic
Straight Line Distance HeuristicStraight Line Distance Heuristic
Straight Line Distance Heuristic
ahmad bassiouny
 
2-Heuristic Search.ppt
2-Heuristic Search.ppt2-Heuristic Search.ppt
2-Heuristic Search.ppt
MIT,Imphal
 
Lecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdfLecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdf
iftakhar8
 
Pathfinding in games
Pathfinding in gamesPathfinding in games
Pathfinding in games
Adrian Popovici
 
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero DawnPutting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Guerrilla
 
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
Khoa Mac Tu
 
Ultimate Goals In Robotics
Ultimate Goals In RoboticsUltimate Goals In Robotics
Ultimate Goals In Robotics
Farzad Nozarian
 
Algorithms - Future Decoded 2016
Algorithms - Future Decoded 2016Algorithms - Future Decoded 2016
Algorithms - Future Decoded 2016
Frank Krueger
 
Analysis of Pathfinding Algorithms
Analysis of Pathfinding AlgorithmsAnalysis of Pathfinding Algorithms
Analysis of Pathfinding Algorithms
SigSegVSquad
 
Ai1.pdf
Ai1.pdfAi1.pdf
Ai1.pdf
kaxeca4096
 
Day 9 h-graphical analysis-per1
Day 9 h-graphical analysis-per1Day 9 h-graphical analysis-per1
Day 9 h-graphical analysis-per1
stephm32
 
Day 9 h-Intro to Motion -per1
Day 9 h-Intro to Motion -per1Day 9 h-Intro to Motion -per1
Day 9 h-Intro to Motion -per1
stephm32
 
Aerospace applications of Perl
Aerospace applications of PerlAerospace applications of Perl
Aerospace applications of Perl
Ian Kluft
 
MLS An Efficient Location Service for Mobile Ad Hoc Networks
MLS An Efficient Location Service for Mobile Ad Hoc NetworksMLS An Efficient Location Service for Mobile Ad Hoc Networks
MLS An Efficient Location Service for Mobile Ad Hoc Networks
kga185
 
Lecture13
Lecture13Lecture13
Lecture13
vaishali_singh
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
Balakumaran Arunachalam
 
Classical programming interview questions
Classical programming interview questionsClassical programming interview questions
Classical programming interview questions
Gradeup
 
DAA Notes.pdf
DAA Notes.pdfDAA Notes.pdf
DAA Notes.pdf
SauravPawar14
 
Global Positioning System
Global Positioning System Global Positioning System
Global Positioning System
Md. Amimul Ehsan
 
8783733
87837338783733
8783733
P. Carmona
 

Similar to Midterm Progress Report (Dynamic Sparse A-Star) (20)

Straight Line Distance Heuristic
Straight Line Distance HeuristicStraight Line Distance Heuristic
Straight Line Distance Heuristic
 
2-Heuristic Search.ppt
2-Heuristic Search.ppt2-Heuristic Search.ppt
2-Heuristic Search.ppt
 
Lecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdfLecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdf
 
Pathfinding in games
Pathfinding in gamesPathfinding in games
Pathfinding in games
 
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero DawnPutting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
 
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
 
Ultimate Goals In Robotics
Ultimate Goals In RoboticsUltimate Goals In Robotics
Ultimate Goals In Robotics
 
Algorithms - Future Decoded 2016
Algorithms - Future Decoded 2016Algorithms - Future Decoded 2016
Algorithms - Future Decoded 2016
 
Analysis of Pathfinding Algorithms
Analysis of Pathfinding AlgorithmsAnalysis of Pathfinding Algorithms
Analysis of Pathfinding Algorithms
 
Ai1.pdf
Ai1.pdfAi1.pdf
Ai1.pdf
 
Day 9 h-graphical analysis-per1
Day 9 h-graphical analysis-per1Day 9 h-graphical analysis-per1
Day 9 h-graphical analysis-per1
 
Day 9 h-Intro to Motion -per1
Day 9 h-Intro to Motion -per1Day 9 h-Intro to Motion -per1
Day 9 h-Intro to Motion -per1
 
Aerospace applications of Perl
Aerospace applications of PerlAerospace applications of Perl
Aerospace applications of Perl
 
MLS An Efficient Location Service for Mobile Ad Hoc Networks
MLS An Efficient Location Service for Mobile Ad Hoc NetworksMLS An Efficient Location Service for Mobile Ad Hoc Networks
MLS An Efficient Location Service for Mobile Ad Hoc Networks
 
Lecture13
Lecture13Lecture13
Lecture13
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Classical programming interview questions
Classical programming interview questionsClassical programming interview questions
Classical programming interview questions
 
DAA Notes.pdf
DAA Notes.pdfDAA Notes.pdf
DAA Notes.pdf
 
Global Positioning System
Global Positioning System Global Positioning System
Global Positioning System
 
8783733
87837338783733
8783733
 

Recently uploaded

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 

Recently uploaded (20)

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 

Midterm Progress Report (Dynamic Sparse A-Star)