Convert target poses from scenario to ego coordinates
converts the poses of target actors from the world coordinates of a driving scenario
to the coordinate system relative to the pose of an ego actor. A
pose is the position, velocity, and orientation of an
actor. For more details on the coordinate systems of actors, see Ego Vehicle and Targets.targetPosesEgoCoords
= driving.scenario.targetsToEgo(targetPosesScenarioCoords
,egoPose
)
converts target poses by using the pose of the specified ego actor.targetPosesEgoCoords
= driving.scenario.targetsToEgo(targetPosesScenarioCoords
,egoActor
)