Motion Planning Optimization
- 71Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is an LQR tree, and how does combining LQR with motion planning improve planning?
71 questions
- 1
What is an LQR tree, and how does combining LQR with motion planning improve planning?
Model answer
An LQR tree combines motion planning with LQR control. Sampling-based planning explores locally, while LQR can stabilize states within a broader region of attraction, helping the planner cover more effectively.
Explanation
The combination uses the planner's exploration and LQR's ability to guide states within a region of attraction.
- 2
What is shortcutting in sampling-based motion planning?
Model answer
Shortcutting checks whether parts of a jagged planned path can be replaced by a shorter direct path, such as a straight line, without encountering obstacles.
Explanation
The method removes unnecessary detours by testing whether intermediate path steps can be skipped.
- 3
Why can shortcutting not always replace a path segment with a straight line?
Model answer
A system's dynamics may prevent it from following an arbitrary straight path. Straight-line shortcuts are appropriate only when the system can follow them and they do not intersect obstacles.
Explanation
Shortcut feasibility depends both on obstacles and on the system's motion capabilities.
- 4
How can an optimization method be used after a sampling-based planner has found a path?
Model answer
Optimization can be run on the path to smooth it and produce a locally optimal result.
Explanation
The planned path can be refined after the initial route is found.
- 5
How do the two broad goals of the course differ: action optimization and state estimation?
Model answer
Action optimization seeks actions or a policy that maximize expected reward, while state estimation uses sensory information to infer the likely state of the robot and environment.
Explanation
One goal is choosing what to do; the other is determining what state the world may be in.
- 6
Why is probability useful when a robot's state is not directly observable?
Model answer
Robots often have only noisy sensor readings rather than direct access to their state. Probability provides a way to combine those readings into a distribution over possible states.
Explanation
The estimate represents uncertainty instead of claiming that one state is known with certainty.
- 7
Why is probability also needed when a robot's dynamics are stochastic?
Model answer
Stochastic dynamics can lead to different outcomes from the same situation, so planning must account for a distribution over possible outcomes rather than one guaranteed result.
Explanation
Probability provides a framework for reasoning about uncertain action outcomes.
- 8
What is the central idea of a partially observable Markov decision process?
Model answer
It combines decision-making with partial observability: actions can earn reward and can also be chosen to gather information that reduces uncertainty about the world.
Explanation
This framework brings together action selection and estimation from sensory information.
- 9
What kinds of quantities might define a helicopter's state, and why are they not generally known directly?
Model answer
The state may include position, orientation, velocity, and angular rate. These quantities are not all directly available, so the robot must infer them from noisy or incomplete sensor readings.
Explanation
Sensors provide indirect measurements of state rather than a perfect state readout.
- 10
What information can GPS provide to a helicopter, and what limitation does it have?
Model answer
GPS can provide a noisy estimate of position and sometimes velocity; its position accuracy may be only within a couple of meters.
Explanation
GPS is useful for state estimation but is not a highly precise position measurement.
- 11
What does a three-axis gyroscope measure?
Model answer
It measures angular velocity around the three main axes of the helicopter when mounted along those axes.
Explanation
A gyroscope reports angular rates rather than position or orientation directly.
- 12
What does an accelerometer measure in free fall, and what does it measure when an object rests on the ground?
Model answer
In free fall, it measures zero; when an object rests on the ground, it measures an acceleration of about 9.81m/s2 opposing gravity.
Explanation
The reading reflects resistance to gravity, not simply the object's acceleration through space.
- 13
Why can an accelerometer help estimate a robot's orientation?
Model answer
When the robot resists gravity, the accelerometer reading provides information about the direction of gravity in the sensor frame, which can help infer orientation.
Explanation
This makes accelerometers useful for orientation estimation, especially when the robot is on the ground.
- 14
How can a magnetometer help estimate orientation, and what can interfere with its reading?
Model answer
A magnetometer measures the Earth's magnetic field in the sensor frame, providing orientation information because the field's direction is known. Magnets, high currents, or nearby power lines can distort the measurement.
Explanation
The reading is useful only insofar as it reflects the Earth's field rather than other magnetic sources.
- 15
Name two sources of uncertainty in a helicopter's motion besides noisy sensors.
Model answer
Wind and unmodeled variations in the engine, servo motors, or blades can make the helicopter's dynamics uncertain.
Explanation
The actual motion may differ from the modeled motion even when the sensor readings are considered.
- 16
What state variables might be sufficient for a slowly moving mobile robot in a building?
Model answer
Position and heading may be sufficient if the robot moves slowly enough that velocity is not important.
Explanation
The state representation can omit velocity when it is not needed for the task.
- 17
How does wheel-encoder odometry estimate a mobile robot's motion, and why is it imperfect?
Model answer
Wheel encoders measure wheel rotation, which can be converted into an approximate distance traveled if the wheel diameter is known. Slippage and uneven surfaces can make the actual motion differ from that estimate.
Explanation
Encoder readings measure wheel motion, not the robot's displacement directly.
- 18
How does a laser range finder estimate distance to a surface?
Model answer
It emits a laser beam and measures the time until the beam returns; that travel time gives the distance to an obstacle in the beam's direction.
Explanation
The measurement is based on the beam's round trip, so the return time corresponds to twice the one-way distance.
- 19
Why can glass or mirrors cause problems for a laser range finder?
Model answer
They may reflect the beam away rather than returning it to the sensor, so the expected distance measurement may not be received.
Explanation
Reliable range readings depend on the beam returning from the surface.
- 20
What can cause uncertainty in a mobile robot's motion even when its wheel rotations are measured?
Model answer
Wheel slippage and unmodeled variations in the floor can make the robot's final position differ from the position predicted from wheel rotation.
Explanation
These effects make the motion model uncertain.
- 21
What are the basic probability axioms for the sample space and the empty set?
Model answer
The probability of the sample space containing all possible outcomes is 1, and the probability of the empty set is 0.
Explanation
Some outcome in the complete sample space must occur, whereas no outcome belongs to the empty set.
- 22
What is the probability of the union of two events A and B?
Model answer
It is P(A∪B)=P(A)+P(B)−P(A∩B).
Explanation
The intersection is subtracted because it is counted in both P(A) and P(B).
- 23
What relationship follows between the probability of an event and the probability of its complement?
Model answer
They sum to one: P(A)+P(Ac)=1.
Explanation
An event and its complement together cover the whole sample space and do not overlap.
- 24
How can events be interpreted as properties of possible world states?
Model answer
Each possible world state can be viewed as an outcome, and an event is the set of outcomes for which a particular property is true.
Explanation
The intersection of two events consists of world states where both properties hold.
- 25
What is a probability mass function, and when is it used?
Model answer
A probability mass function assigns probabilities to the possible values of a discrete random variable.
Explanation
For example, a fair coin has probability 1/2 for heads and 1/2 for tails.
- 26
Why is a probability density used for a continuous random variable instead of assigning a probability to each exact value?
Model answer
A continuous variable has infinitely many possible values, so assigning a positive probability to each exact value would not yield a valid total. Instead, probabilities are assigned to intervals by integrating the density.
Explanation
For an interval [a,b], its probability is ∫abp(x)dx.
- 27
What is a joint distribution, and why is it important in robotics?
Model answer
A joint distribution describes probabilities for combinations of values of multiple random variables. It is useful for relating a robot's state to its sensor readings or relating states at successive times.
Explanation
These relationships let an observation inform a state estimate and let a motion model relate current and next states.
- 28
What does it mean for two random variables to be independent?
Model answer
They are independent when their joint distribution factors as P(x,y)=P(x)P(y), so knowing one does not provide information about the other.
Explanation
A sensor independent of the system's state could not provide information about that state.
- 29
Define the conditional probability of X=x given Y=y.
Model answer
It is P(x∣y)=P(y)P(x,y), when P(y)>0.
Explanation
It is the probability of the joint event within the outcomes where Y=y.
- 30
How can a joint probability be expressed using a conditional probability?
Model answer
The joint probability can be factored as P(x,y)=P(x∣y)P(y).
Explanation
This expresses the joint distribution using the distribution of Y and the conditional distribution of X given Y.
- 31
What does the law of total probability say for discrete variables?
Model answer
It gives P(x)=∑yP(x,y)=∑yP(x∣y)P(y).
Explanation
It obtains the distribution of X by summing over the possible values of another variable.
- 32
How does the law of total probability change for continuous variables?
Model answer
The sum over the other variable's possible values is replaced by an integral over those values.
Explanation
Integration is used to marginalize a continuous variable.
- 33
State Bayes' rule and describe its purpose.
Model answer
Bayes' rule is P(x∣y)=P(y)P(y∣x)P(x). It uses a model of observations given a state and a prior over states to infer the state given an observation.
Explanation
It converts a causal model, such as a sensor model, into the diagnostic distribution needed for inference.
- 34
In Bayes' rule, what are the prior, likelihood, and evidence?
Model answer
The prior is P(x), the likelihood is P(y∣x), and the evidence is P(y).
Explanation
The evidence normalizes the posterior so that its probabilities sum to one.
- 35
Why is the sensor model usually expressed as P(y∣x) rather than P(x∣y)?
Model answer
A sensor can be calibrated to model the readings it produces for a given state. The reverse distribution also depends on the prior over states, so Bayes' rule is used to infer it.
Explanation
The state causes the sensor reading, making the likelihood the more direct model to obtain.
- 36
How can Bayes' rule be applied when a calculation is already conditioned on evidence z?
Model answer
Carry the conditioning through consistently: P(x∣y,z)=P(y∣z)P(y∣x,z)P(x∣z).
Explanation
The same Bayes' rule applies within the subset of cases where z is known.
- 37
What does conditional independence of X and Y given Z mean?
Model answer
It means P(x,y∣z)=P(x∣z)P(y∣z); once Z is known, knowing X provides no further information about Y, and vice versa.
Explanation
The variables may still be related before Z is known, for example because they share Z as a common cause.
- 38
How can conditional independence simplify a conditional distribution?
Model answer
If X and Y are conditionally independent given Z, then P(x∣y,z)=P(x∣z) and P(y∣x,z)=P(y∣z).
Explanation
Once Z is known, the other variable adds no information to the conditional distribution.
- 39
Give an example of two variables that can be conditionally independent because they share a common cause.
Model answer
Whether someone carries an umbrella and whether the pavement is wet may be conditionally independent given whether it is raining.
Explanation
Rain can cause both outcomes, without one outcome directly determining the other once the weather is known.
- 40
A door sensor has P(Z∣open)=0.6, P(Z∣closed)=0.3, and equal prior probabilities for open and closed. What is the posterior probability that the door is open after observing Z?
Model answer
The posterior is P(open∣Z)=0.6(0.5)+0.3(0.5)0.6(0.5)=32, approximately 0.67.
Explanation
The observation is twice as likely when the door is open as when it is closed, so it increases the open-state probability from 0.5 to about 0.67.
- 41
How can multiple sensor measurements be incorporated into a state estimate?
Model answer
Apply Bayes' rule repeatedly, updating the posterior with each new measurement. If the measurements are conditionally independent given the state, their likelihoods multiply together with the prior.
Explanation
For conditionally independent readings, the unnormalized posterior is proportional to P(x)∏iP(zi∣x).
- 42
What can go wrong if dependent sensor readings are mistakenly treated as independent?
Model answer
The same information may be counted repeatedly, causing the estimate to become overconfident in a state.
Explanation
Repeatedly multiplying the same likelihood can drive a posterior much closer to certainty than the evidence justifies.
- 43
Why might repeated readings from a laser range finder or a high-rate gyroscope be dependent?
Model answer
Nearby laser beams can encounter shared noise or interference, and rapid gyroscope readings may be limited by the sensor's settling time. Repeated readings of an unchanged scene may also not provide independent evidence.
Explanation
The assumption of independent readings should be checked against how the sensor and its environment actually behave.
- 44
What is the first-order Markov assumption, and why may it be imperfect in practice?
Model answer
It assumes the next state depends on the current state and action, rather than the entire history. It may be imperfect when the chosen state representation omits relevant information about the world.
Explanation
A state that does not capture all relevant history may need to include additional past information to predict the future adequately.
- 45
How might a robot choose how much history to include when its state is not truly Markovian?
Model answer
In practice, one may inspect the system and include enough past information to represent what effectively determines its state.
Explanation
The appropriate history length is a trade-off between a useful representation and computational tractability.
- 46
Why do actions generally increase uncertainty, whereas measurements often reduce it?
Model answer
Actions have uncertain effects on the world, spreading the predicted state distribution; measurements provide evidence that can narrow the distribution over possible states.
Explanation
A robot's motion may not occur exactly as commanded, while an observation can rule out some state possibilities.
- 47
How is a robot's action represented probabilistically in a state-transition model?
Model answer
The model uses a conditional distribution such as P(x′∣x,u) for the next state x′ given the current state x and action u.
Explanation
This is a causal dynamics model that describes possible next states after an action.
- 48
How does the law of total probability predict the next-state distribution after an action?
Model answer
It marginalizes over the current state: P(x′∣u)=∑xP(x′∣x,u)P(x) for discrete states.
Explanation
The current-state belief is combined with the transition model, then the current state is summed out.
- 49
What information is required to run a Bayes filter, and what does it estimate?
Model answer
It requires an initial state distribution, a dynamics or action model, and a sensor model. It maintains an estimate of the state distribution over time.
Explanation
The filter processes the stream of actions and observations to track a belief about the current state.
- 50
What conditional-independence assumptions underlie the standard Bayes filter?
Model answer
The observation at time t depends on the current state xt, and the next state depends on the previous state and the action taken. Earlier states, observations, and actions affect the current estimate through the state belief.
Explanation
These assumptions make recursive state estimation possible without modeling the full history at every step.
- 51
What is the prediction step of a Bayes filter?
Model answer
It uses the dynamics model to form a predicted belief: belˉ(xt)=∑xt−1P(xt∣xt−1,ut)bel(xt−1) for discrete states.
Explanation
This step propagates the previous belief through the action model before using the new observation.
- 52
What is the measurement-update step of a Bayes filter?
Model answer
It multiplies the predicted belief by the observation likelihood and normalizes: bel(xt)=ηP(zt∣xt)belˉ(xt).
Explanation
The likelihood favors states that make the observed measurement probable, and η ensures the result sums to one.
- 53
How does a Bayes filter combine its prediction and measurement-update steps?
Model answer
It first propagates the previous belief through the dynamics model, then incorporates the current observation with Bayes' rule and normalizes the result.
Explanation
The recursion alternates between accounting for uncertain motion and using measurements to refine the state estimate.
- 54
What does the notation bel(xt) represent in a Bayes filter?
Model answer
It is shorthand for the distribution over xt given the available actions and observations up to time t.
Explanation
The notation summarizes the filter's current belief; it does not itself remove any conditioning through an independence assumption.
- 55
Why is a Bayes filter recursive and computationally useful?
Model answer
It updates the current belief using the previous belief rather than recomputing from the entire history. Under its Markov assumptions, this makes sequential state estimation efficient.
Explanation
Each new action or observation can be incorporated into the running estimate.
- 56
How can repeated observations and actions affect a robot's localization belief?
Model answer
A motion action with uncertainty can spread the location belief, while a measurement can narrow it. Repeating both updates can gradually localize the robot.
Explanation
For example, wall measurements can refine location estimates when the robot has access to a map of the building.
- 57
Why is a map needed for a robot to use wall-range measurements for localization?
Model answer
The robot needs a model of where mapped surfaces are so it can compare expected range readings with its observations and infer its location.
Explanation
Without a map, the measurement model cannot relate observed wall distances to candidate positions in the building.
- 58
What is the shape and support of a univariate Gaussian distribution?
Model answer
It is a bell-shaped density centered at its mean, with nonzero density extending across the real line.
Explanation
Most probability mass lies near the mean, while the tails decay as distance from the mean increases.
- 59
What do the mean μ, standard deviation σ, and variance σ2 describe in a univariate Gaussian?
Model answer
The mean gives the center, the standard deviation describes the spread, and the variance is the square of the standard deviation.
Explanation
A Gaussian's density becomes more spread out as its standard deviation increases.
- 60
Approximately what fraction of a Gaussian's probability mass lies within one standard deviation of its mean?
Model answer
Approximately 68% lies between μ−σ and μ+σ.
Explanation
This describes how much of the Gaussian's mass is concentrated near its mean.
- 61
What is the expected value and variance of a univariate Gaussian with parameters μ and σ2?
Model answer
Its expected value is μ, and its variance is σ2.
Explanation
The mean is the distribution's center, while variance is the expected squared deviation from that center.
- 62
Why does a Gaussian density decrease as x moves away from μ?
Model answer
The density contains an exponential term based on the negative squared distance from the mean, so increasing distance makes the density fall rapidly.
Explanation
The squared deviation grows with distance, making the exponent more negative.
- 63
What role does the normalization constant in a Gaussian density serve?
Model answer
It ensures that the density integrates to one over its domain.
Explanation
For a univariate Gaussian, the constant is σ2π1.
- 64
What does the central limit theorem say about sums of independent random variables?
Model answer
After centering and scaling, the sum of many independent random variables with common finite mean and variance approaches a standard normal distribution as their number grows.
Explanation
This helps explain why quantities influenced by many independent factors are often approximately Gaussian.
- 65
What is a multivariate Gaussian, and what do its mean and covariance matrix represent?
Model answer
It is a Gaussian distribution over a vector of variables. Its mean vector gives the center, and its covariance matrix describes the variables' variances and relationships.
Explanation
The covariance matrix determines the spread and orientation of the multivariate density.
- 66
Why is the covariance matrix of a multivariate Gaussian symmetric?
Model answer
Covariance between two components is unchanged when their order is swapped, so Σij=Σji.
Explanation
Each entry measures the expected product of the two components' deviations from their means.
- 67
How can a multivariate Gaussian be understood in a coordinate system where its covariance matrix is diagonal?
Model answer
In that coordinate system, the components have separate variances and the density has no cross-covariance terms.
Explanation
A symmetric covariance matrix can be diagonalized by a change of coordinates, making the principal directions of spread easier to see.
- 68
How should a covariance entry Σij be interpreted?
Model answer
It is the expected product of deviations of variables Xi and Xj from their means. Positive values indicate that they tend to deviate in the same direction; negative values indicate opposite deviations.
Explanation
A zero covariance indicates no linear co-variation, though it does not generally prove independence.
- 69
How does positive correlation between two Gaussian components appear in a density plot?
Model answer
The density is elongated along the direction where both components are above their means or both are below them.
Explanation
Stronger positive correlation concentrates more mass along that shared direction of deviation.
- 70
How does negative correlation between two Gaussian components appear in a density plot?
Model answer
The density is elongated along the direction where one component is above its mean while the other is below its mean.
Explanation
The components tend to deviate from their means in opposite directions.
- 71
How do changes in a Gaussian's mean and variance affect its density?
Model answer
Changing the mean shifts the density's center; decreasing variance makes it narrower and taller, while increasing variance makes it broader.
Explanation
The total probability remains one as the distribution shifts or changes spread.

Ask anything
We've read this whole study set, so questions about it get the best answers.