Lecture 4 - Planning Intro Flashcards

1
Q

What are the three assumptions made for graph planning?

A

The state is known
The map is known
Map is mostly static

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give two potential queries for graph planning:

A

Can you reach B from A?

What’s the shortest path from node A to B that does not hit obstacles?`

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What’s the difference between Dynamic Programming map algorithm and Dijkstra’s?

A

Dynamic programming calculates Cost-to-go to destination, whereas D’s algorithm calculates cost-to-come

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe Dijsktra’s algorithm in steps

A

Start with D(vsrc) = 0
Set all surrounding nodes to D(v) = inf
Add all nodes nodes to priority queue Q with cost-to-come as priority
While Q is not empty:
* Extract node v with minimum c-t-c from Q
* if found goal, done
* remove v from queue
The cost-to-come of v is final at this point, need to check if we can reduce the c-t-c of its neighbors
For U in neighborhood of V:
* if d(u,v) + D(v) < D(u) then update priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the main problem with Dijkstra’s algorithm?

A

Many nodes are explored unnecessarily because the algorithm prioritizes fast paths over slow paths that go towards goal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does A* improve Dijkstra’s algorithm?

A

By using a heuristic (cost-to-go, eg total distance to goal)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are two properties needed for A* heuristics

A

They need to be admissible (understimate cost-to-go from v to dest) and monotonic (satisfy the triangle inequality)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s the idea behind Configuration spaces?

A

To dilate obstacles to take into account the dimensions of the robot, which allows us to plan the robot as a point, instead of taking account the ways the body can collide to the obstacles during planning.

Note: This idea is typically not used for robots with high-dimensional states.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name one algorith that can be used to dilate obstacles:

A

Minkowski Sum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain what Subsumption Architecture is.

A

An architecture where planning is not necessary and only a hierarchy of reactive behaviors/controllers is used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain what Deliberative Architechture is.

A

An architecture where you sense, build models and plans, then move. There’s no loop to update the map in case shit changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why is the Sense-Plan-Act model better than Subsumption or Deliberative architechture?

A

Because you need to plan and construct careful algorithms for effectiveness, but also be willing to re-plan at any point using sensor data, in case the map or state changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a plan (formally)?

A
  1. A sequence of states.
  2. A feasible plan is one where all states from start to end, and the transitions in between, are feasible.
  3. Takes into account kinematics and maps
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the inputs and outputs of a planning algorithm?

A

Input: a start, a goal, kinematic constraints and a
map
Output: a path/plan, or“impossible”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are 4 planner properties?

A
  • Correct: if every plan they’re output is feasible
  • Complete: if they find a plan whenever one exists
  • Terminating: if they execute in a finite time (guaranteed)
  • Complexity: is measured by the worst-case memory and run-time in the map/robot dimensions, path length, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Does “always turning left” work as a plan (is it complete)?

A

No, because the obstacle could be wrapping the goal with only an entrance by taking a right turn.

17
Q

Does “turn left, then follow wall until back on track to goal, without an obstable in the way” work as a plan (is it complete)?

A

Yes.

18
Q

What do nodes and edges on a graph represent?

A

Nodes represent states.

Edges represent transitions/actions with weight as “energy” used.

19
Q

What’s the worst case complexity for Dynamic Programming mapping?

A

O(|V^2|

O(|V|) in 2D

20
Q

What’s the worst case complexity for Dijkstra’s algorithm?

A

O(|E|*T(update) + |V| T(remove min)) = O(|E| + |V|log|V|) (heaps)