Comp Robotics Exam 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/85

encourage image

There's no tags or description

Looks like no tags are added yet.

86 Terms

1
New cards

What is the motivation for sampling-based motion planning?

It avoids constructing the entire configuration space by randomly sampling configurations and connecting them, making planning practical in high-dimensional spaces.

2
New cards

What are the main steps of PRM?

Sample collision-free configurations, connect nearby samples using a local planner, collision-check connections, and search the roadmap for a path.

3
New cards

What are the main steps of RRT?

Start a tree at the initial configuration, sample a random configuration, find the nearest tree node, extend toward the sample, collision-check, and repeat until reaching the goal.

4
New cards

When should PRM be used instead of RRT?

PRM builds a reusable roadmap for multiple queries, while RRT grows a tree for a single start-to-goal query.

5
New cards

What is Voronoi bias in RRT?

Nodes with larger Voronoi regions are more likely to be selected as nearest neighbors, causing RRT to explore unexplored areas.

6
New cards

How does bidirectional RRT work?

Grow two trees, one from the start and one from the goal, and attempt to connect them through a collision-free path.

7
New cards

What modules must be specified for PRM?

Sampling method, distance metric, neighborhood selection, local planner, and collision checker.

8
New cards

What choices were used in the original PRM implementation?

A typical early PRM uses random collision-free samples, nearby-neighbor connections, simple local interpolation, a configuration-space distance metric, and collision checking. Check lecture notes for the precise original implementation.

9
New cards

How do we sample uniformly in SE(2)?

Sample x and y uniformly within bounds and sample orientation theta uniformly between 0 and 2π.

10
New cards

How do we sample uniformly in SE(3)?

Sample translation coordinates within bounds and independently sample a uniform 3D rotation, commonly using unit quaternions. Uniform Euler angles are not sufficient.

11
New cards

What are common representations of 3D rotations?

Euler angles use three parameters but have singularities; rotation matrices avoid singularities but use nine entries; unit quaternions are compact and avoid gimbal lock but have a unit-length constraint.

12
New cards

How can distance be defined in SE(2)?

Combine Euclidean translation distance with the shortest wrapped angular difference, using an appropriate weighting factor.

13
New cards

How is distance defined in S1 and T2?

In S1, use the shortest angular difference. In T2, combine the shortest wrapped angular differences for both coordinates.

14
New cards

What is the shortest path between rotations in SO(3)?

A geodesic corresponding to rotation around a fixed axis through the minimum rotation angle, often computed using quaternion SLERP.

15
New cards

Why is a kd-tree useful in motion planning?

It speeds up nearest-neighbor and neighborhood searches by organizing sampled configurations into a spatial search tree.

16
New cards

How does a kd-tree work?

It recursively partitions points using axis-aligned splits, allowing searches to eliminate regions that cannot contain better matches.

17
New cards

How do you construct a balanced kd-tree?

Choose a splitting axis, split points at the median, and recursively repeat for each subset.

18
New cards

How does nearest-neighbor search in a kd-tree work?

Follow the branch containing the query, track the closest point, and backtrack when other regions could contain a closer point.

19
New cards

What is a Bounding Volume Hierarchy (BVH)?

A hierarchy of bounding shapes used to quickly eliminate groups of objects that cannot collide before performing detailed collision tests.

20
New cards

What is an Oriented Bounding Box (OBB)?

A bounding box that can rotate to align with an object, often fitting it more tightly than an axis-aligned box.

21
New cards

What does the Separating Axis Theorem state?

Two convex objects are separate if some axis exists where their projections do not overlap.

22
New cards

What is sample dispersion?

The maximum distance from any point in the space to its nearest sample. Lower dispersion means better coverage.

23
New cards

Why is sample dispersion useful?

It measures how well samples cover a space and helps identify large unsampled regions.

24
New cards

Why use quasi-random sampling?

Low-discrepancy samples provide more even coverage and fewer large gaps than ordinary random samples.

25
New cards

What property do original PRM and RRT provide?

Probabilistic completeness under suitable assumptions.

26
New cards

What is probabilistic completeness?

If a sufficiently robust feasible path exists, the probability of failing to find it approaches zero as the number of samples increases.

27
New cards

When do sampling-based planners perform well?

In open environments with wide passages because collision-free configurations and connections are relatively easy to find.

28
New cards

When do sampling-based planners struggle?

In narrow passages, cluttered environments, and constrained regions where useful samples are difficult to obtain.

29
New cards

What is Obstacle-Based PRM (OBPRM)?

A variation of PRM that samples near obstacle boundaries to improve coverage of difficult regions such as narrow passages.

30
New cards

What is asymptotic optimality?

As the number of samples increases toward infinity, the best solution cost converges to the globally optimal cost with probability one under suitable assumptions.

31
New cards

Are standard RRT paths optimal?

No. Standard RRT finds feasible paths but does not guarantee optimality, and paths can be long or jagged.

32
New cards

What are the main steps of RRT*?

Sample, find the nearest node, steer, find nearby nodes, choose the lowest-cost feasible parent, insert the new node, and rewire neighbors to reduce costs.

33
New cards

How does PRM* differ from PRM?

PRM* uses a theoretically appropriate connection radius or number of neighbors that scales with the number of samples to achieve asymptotic optimality.

34
New cards

How does one iteration of RRT* differ from RRT?

RRT connects to the nearest node, while RRT* selects the lowest-cost feasible parent among neighbors and rewires existing nodes when beneficial.

35
New cards

What is the pseudocode for RRT*?

Initialize the tree; repeatedly sample, find nearest, steer, collision-check, find neighbors, choose minimum-cost feasible parent, insert, and rewire; return the best goal-reaching path.

36
New cards

What is the main idea of potential functions?

Use an artificial potential that attracts the robot toward the goal and repels it from obstacles. Motion follows the negative gradient.

37
New cards

What is a common attractive potential?

Uatt(q) = (k/2)||q - qgoal||². The negative gradient points toward the goal.

38
New cards

What is a common repulsive potential?

A potential that increases as obstacle distance decreases, commonly active only within a chosen obstacle influence distance.

39
New cards

Why can potential fields get stuck?

Attractive and repulsive forces can cancel at a local minimum that is not the goal.

40
New cards

Give an example of a local minimum in potential fields.

A robot moving toward a goal behind a U-shaped obstacle becomes trapped when attractive and repulsive forces balance.

41
New cards

What is the control law for a potential field?

Compute the potential gradient and move in the negative gradient direction, such as qdot = -k∇U(q), subject to motion constraints.

42
New cards

What is a navigation function?

A specially constructed smooth potential with a unique minimum at the goal and no other local minima in free space under appropriate assumptions.

43
New cards

How does path optimization work?

Begin with an initial path and iteratively modify it to reduce costs such as length, smoothness, or obstacle proximity while satisfying constraints.

44
New cards

How are path optimization and potential fields similar?

Both use cost or potential gradients. Potential fields typically guide a configuration, while path optimization modifies an entire path.

45
New cards

What are the advantages of path optimization?

It can produce shorter, smoother, and dynamically feasible paths and incorporate multiple planning constraints.

46
New cards

What is the main disadvantage of path optimization?

It can become trapped in local minima and often depends heavily on the initial path.

47
New cards

How can path optimization be combined with probabilistic completeness?

First use a probabilistically complete sampling-based planner to find a feasible path, then optimize the resulting path.

48
New cards

What is a homotopy class?

A group of paths that can be continuously deformed into each other without crossing obstacles while keeping endpoints fixed.

49
New cards

How do homotopy classes affect path optimization?

Local optimization usually stays within its current homotopy class and may miss better paths that travel around obstacles differently.

50
New cards

What is the difference between a path and a trajectory?

A path describes geometric motion without timing, while a trajectory describes configuration as a function of time, including speed and acceleration.

51
New cards

What is a fully actuated system?

A system with enough independent control inputs to directly control all independent degrees of freedom, subject to its dynamics.

52
New cards

What is an underactuated system?

A system with fewer independent control inputs than degrees of freedom, meaning some motions cannot be controlled directly.

53
New cards

What is the Lagrange function?

L = T - V, where T is kinetic energy and V is potential energy.

54
New cards

What is the general form of robot dynamics?

M(q)qddot + C(q,qdot)qdot + g(q) = B(q)u, where M is inertia, C contains velocity effects, g is gravity, and u is control input.

55
New cards

What is decoupled trajectory planning?

First compute a geometric path, then determine how to traverse it over time while respecting dynamic and actuator constraints.

56
New cards

What is the advantage of decoupled trajectory planning?

It separates geometric planning from timing, simplifying the problem and allowing different feasible speed profiles along the same path.

57
New cards

What phase space is used in path time scaling?

The phase plane contains path position s on the horizontal axis and path speed sdot on the vertical axis.

58
New cards

How are feasible accelerations shown in the phase plane?

At each state (s,sdot), acceleration must satisfy L(s,sdot) ≤ sddot ≤ U(s,sdot).

59
New cards

What is bang-bang control?

A time-optimal control strategy that switches between extreme feasible control values, often maximum acceleration and maximum braking.

60
New cards

What are inadmissible regions in the phase plane?

States that violate dynamic or actuator constraints, including states with no feasible acceleration because L > U.

61
New cards

What are inevitably inadmissible states?

States that may currently satisfy constraints but cannot reach the required terminal state without eventually violating constraints.

62
New cards

What assumptions are made by the time-scaling algorithm?

The path is fixed and sufficiently smooth, acceleration bounds can be computed, and feasible speeds at each path position are assumed to range from zero to a maximum.

63
New cards

What are the five high-level steps of the time-scaling algorithm?

Construct the admissible region, calculate acceleration bounds and limiting curves, integrate acceleration and braking profiles, identify switching or tangent points, and connect feasible pieces.

64
New cards

How do you interpret a phase-plane trajectory?

Moving right means advancing along the path, rising means increasing speed, and falling means braking.

65
New cards

What is the maximum-velocity curve?

The boundary describing the highest allowable speed at each path position under dynamic constraints.

66
New cards

What does it mean if a backward curve from the goal reaches sdot = 0 at s < 1?

The backward-integrated curve reaches zero speed before the endpoint of the path and cannot alone connect the specified start and goal conditions.

67
New cards

What is the objective of path time scaling?

Find the fastest feasible timing along a fixed geometric path while satisfying velocity, acceleration, and control limits.

68
New cards

What is timing many paths using branch and bound?

Compare candidate geometric paths using lower bounds on traversal time and avoid fully evaluating candidates that cannot outperform the best known solution.

69
New cards

When can branch and bound prune a path?

When a valid lower bound on its traversal time is at least as large as the time of the best known feasible solution.

70
New cards

What does an AVP-RRT node store?

A reachable interval of path velocities representing all feasible speeds that can reach that node along its tree path.

71
New cards

How does AVP-RRT propagate a velocity interval?

It propagates feasible incoming speeds along the candidate path segment using dynamic acceleration bounds to compute an outgoing speed interval.

72
New cards

When does AVP-RRT reject an extension?

When the reachable outgoing velocity interval is empty, meaning no feasible timing exists along that extension.

73
New cards

Why does AVP-RRT store a velocity interval instead of one speed?

It preserves multiple possible reachable speeds and provides more flexibility when extending the tree.

74
New cards

How does a sharp bend affect time-optimal timing?

The robot brakes before the bend, passes through at a constrained lower speed, and accelerates afterward when feasible.

75
New cards

What are acceleration, braking, and switching pieces?

Acceleration follows the upper acceleration bound, braking follows the lower bound, and switching points connect different control pieces.

76
New cards

What is a zero-inertia point?

A point where the coefficient of path acceleration in a dynamic constraint becomes zero, so changing path acceleration cannot affect that constraint at that point.

77
New cards

How can a zero-inertia point impose a speed limit?

The affected constraint may depend on speed even when its acceleration coefficient is zero, creating a maximum feasible speed.

78
New cards

What is the feasible-speed interval assumption?

At every path position, feasible speeds are assumed to form a continuous interval from zero to a maximum allowable speed.

79
New cards

How can gravity violate the feasible-speed interval assumption?

A robot may lack sufficient static torque to resist gravity at low speed, while faster motion creates inertial effects that make the motion feasible.

80
New cards

What does the forward maximum-acceleration sweep do?

It starts at the initial state and follows the maximum feasible acceleration to construct a fast forward phase-plane profile.

81
New cards

What does the backward maximum-braking sweep do?

It integrates backward from the goal using maximum feasible braking to determine which states can reach the required terminal speed.

82
New cards

What does an intersection of forward and backward sweeps mean?

It can indicate a switching point from acceleration to braking that allows the initial and terminal conditions to be connected.

83
New cards

What happens if the forward and backward sweeps cannot connect?

Their direct combination is not a feasible complete timing. Additional switching or boundary segments may be necessary, or the path may be infeasible.

84
New cards

What does L = U mean in the phase plane?

The lower and upper acceleration limits coincide, leaving exactly one feasible acceleration at that state.

85
New cards

What is a tangent point on the speed-limit curve?

A state where a feasible phase trajectory has the same slope as the speed-limit boundary.

86
New cards

How are tangent points used in time-optimal timing?

They help identify transitions between maximum-acceleration, maximum-braking, and speed-limit-constrained portions of a trajectory.