Description Usage Arguments Value
merge
produces t-x
trajectories for a pair of lead and following vehicles.
1 |
df1 |
leading vehicle, a matrix |
df2 |
following vehicle, a matrix |
leff |
vehicle length, a number |
delt |
time-step size, a number |
ylim |
for plot, a vector |
The merge
, a wrapper function for bmfree2
, xabparam
and
hsafe
, returns a smooth hsafe
rule t-x
trajectory.
for the following vehicle. The lead vehicle trajectory is not affected.
Incidentally, inputs df1
and df2
were created with bmfree2
and used
for testing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.