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 Trailer Model
インフォメーション FAQ
情報カテゴリー 詳細

ニュースレターサービスで最新情報をお届けします。

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.