rtd.planner.trajopt.TrajOptProps

class rtd.planner.trajopt.TrajOptProps(timeForCost: float = 1.0, planTime: float = 0.5, horizonTime: float = 1.0, doTimeout: bool = False, timeoutTime: float = 0.5, randomInit: bool = False)[source]

Bases: NamedTuple

A NamedTuple for storing consistent properties we use across RTD for trajectory optimization. Can also be constructed with specific values rather than the default ones. Immutable

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

doTimeout

Alias for field number 3

horizonTime

Alias for field number 2

planTime

Alias for field number 1

randomInit

Alias for field number 5

timeForCost

Alias for field number 0

timeoutTime

Alias for field number 4

count(value, /)

Return number of occurrences of value.

doTimeout: bool

Alias for field number 3

horizonTime: float

Alias for field number 2

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

planTime: float

Alias for field number 1

randomInit: bool

Alias for field number 5

timeForCost: float

Alias for field number 0

timeoutTime: float

Alias for field number 4