State space for Reeds-Shepp vehicles
ThestateSpaceReedsShepp
object stores parameters and states in the Reeds-Shepp state space, which is composed of state vectors represented by [x,y,θ].xandyare Cartesian coordinates, andθis the orientation angle. The Reeds-Shepp state space has a lower limit on the turning radius (specified by theMinTurningRadius
property in the object) and forward and reverse costs (specified by theForwardCost
andReverseCost
properties in the object) for navigating between states.
creates a Reeds-Shepp state space object with default state bounds forx,y, andθ.space
= stateSpaceReedsShepp
specifies thesapce
= stateSpaceReedsShepp(bounds
)bounds
forx,y, andθ. The state values beyond the bounds are truncated to the bounds. The input,bounds
, sets the value of theStateBoundsproperty.
copy |
Create deep copy of state space object |
distance |
Distance between two states |
enforceStateBounds |
Reduce state to state bounds |
interpolate |
Interpolate between states |
sampleGaussian |
Sample state using Gaussian distribution |
sampleUniform |
Sample state using uniform distribution |