xabmerge: 'xabmerge' produces 't-x' trajectories for a pair of lead and...

Description Usage Arguments Value

Description

xabmerge produces t-x trajectories for a pair of lead and following vehicles.

Usage

1
xabmerge(df1, df2, leff, step, k, type)

Arguments

df1

leading vehicle, a matrix

df2

following vehicle, a matrix

leff

vehicle length, a number

step

time-step size, a number

k

counter, a number

type

logical for plotting where TRUE creates a plot

Value

The xabmerge, 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.


cartools documentation built on May 1, 2019, 10:40 p.m.