跳到主要内容

Navigation Activity

The Navigation Activity allows an entity to navigate from one point to another using the TypeWriter GPS system (RoadNetwork).

Usage

This activity is typically used within a sequence_activity or directly assigned to an entity's activity property to make it move.

It uses the GPS system to find a path and moves the entity along that path.

Parameters

ParameterTypeDescription
gpsGPSThe GPS instance containing the road network.
startLocationPositionPropertyThe starting position for the navigation.

[!NOTE] The entity's speed is determined by its EntityState.speed.