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:
NamedTupleA 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
doTimeoutAlias for field number 3
horizonTimeAlias for field number 2
planTimeAlias for field number 1
randomInitAlias for field number 5
timeForCostAlias for field number 0
timeoutTimeAlias for field number 4
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.