Main Content
propagate
Class: nav.StatePropagator
Namespace: nav
Syntax
[q,u,steps] = propagate(spObj,q0,u0,qTgt,maxSteps)
Description
[
iteratively propagates the system from the current state q
,u
,steps
] = propagate(spObj
,q0
,u0
,qTgt
,maxSteps
)q0
towards a
target state qTgt
with an initial control input u0
for a maximum number of steps maxSteps
.
At the end of each propagation step i, the system returns:
q(i,:)
— Current state of the systemu(i,:)
— Control input for step i+1steps(i)
— Number of steps between i-1 and i
Note
To skip adding the current state to the tree, you can return q
as
empty.
Input Arguments
Output Arguments
Version History
Introduced in R2021b