Show the generated path. Notice the direction of the turns.
show(pathSegObj{1})
pathSegObj{1}.MotionTypes
ans = 1x5 cell
{'L'} {'R'} {'L'} {'N'} {'N'}
pathSegObj{1}.MotionDirections
ans = 1×5
1 -1 1 1 1
Disable this specific motion sequence in a new connection object. Reduce the MinTurningRadius if the robot is more maneuverable. Increase the reverse cost to reduce the likelihood of reverse directions being used. Connect the poses again to get a different path.
Specify optional
comma-separated pairs of Name,Value arguments. Name is
the argument name and Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
Example: 'Headings',{'transitions'}
'Parent' — Axes to plot path onto Axes handle
Axes to plot path onto, specified as an Axes handle.
'Headings' — Heading angles to display cell array of character vector or string scalars
Heading angles to display, specified as a cell array of character vector or string
scalars. Options are any combination of
'start','goal', and
'transitions'. To disable all heading displays, specify
{''}.
Positions to display, specified as 'both',
'start', 'goal', or 'none'.
The start position is marked with green, and the goal position is marked with
red.
'HeadingLength' — Length of heading positive numeric scalar
Length of heading, specified as positive numeric scalar. By default the value is
calculated according to the x- and y-axis limits
of the plot.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.