copp.interpolation.s_to_t_topp3

Convert a TOPP3 Profile3rd into cumulative arrival times.

Syntax

[t_final, t_s] = copp.interpolation.s_to_t_topp3(s, profile)
[t_final, t_s] = copp.interpolation.s_to_t_topp3(s, profile, t0=t0)

Description

Converts a third-order profile into arrival times. S must be a real finite vector with length N, matching the \(N \times 1\) PROFILE.a and PROFILE.b vectors. Row or column S input is accepted. PROFILE is usually returned by copp.solver.topp3_lp.solve or copp.solver.topp3_socp.solve.

Starts the cumulative time at T0. T_S is returned as an \(N \times 1\) double column vector.

Input Arguments

s

Station grid or path-parameter samples. Use a real finite vector; station-grid inputs are usually strictly increasing.

profile

Third-order profile object containing a, b, and stationary-node metadata.

Name-Value Arguments

t0

Initial time offset added to the cumulative arrival-time grid. Default: 0

Output Arguments

t_final

Final traversal time. This is the last element of the cumulative time grid.

t_s

Cumulative arrival time at each station, returned as an \(N \times 1\) double column vector.

See Also

copp.interpolation