We are currently experiencing an issue that may cause emails related to mydSPACE registration and login to be delayed or not delivered. Our team is actively working to resolve the problem.
We apologize for the inconvenience and appreciate your patience.

FAQ 630: How to Get Latitude and Longitude from ASM Traffic

Question

How can I get latitude and longitude which are calculated in ASM simulation?

Solution

The latitude and longitude are available from Pos_Vehicle_GPS which is output of GPS_POSITION block.

This block is in the following path of Simulink model.

ASM_Traffic/Environment/Road/PlantModel/GPS_POSITION

A documentation of GPS_POSITION block is the following link.

GPS Position

Note:

GPS_POSITION block requires setting initial position.

How to set:

  1. Open a road with ModelDesk. 
  2. Set the following three parameters with User signals in Properties.
    1. GPS method[0xy|1GPS|2GPS_UTM|3GPS_TMERC]: Coordinate system. 
    2. start coordinate latitude[deg]: Latitude of road origin. 
    3. start coordinate longitude[deg]: Longitude of road origin. 
  1. Save the road and execute "Download All". 

You can see if Maneuver runs on the settings of latitude and longitude with map.lay in ControlDesk project. 

Tags

Date 2026-11-27
产品 ASM Traffic Model
资料信息 常见问答
信息类别 常规使用

通过 dSPACE时事通讯服务了解最新信息。

通过 dSPACE 时事通讯服务,我们将随时向您通报当前的使用案例、新解决方案和产品以及培训和活动。在此注册,免费订阅。

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.