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
인포메이션 타입 FAQ
인포메이션 카테고리 Working with

dSPACE direct 뉴스레터 서비스를 통해 최신 소식을 받아보세요.

dSPACE 뉴스레터 서비스를 통해 최신 use case 와 신규 솔루션 및 제품, 교육 및 이벤트에 대한 정보를 지속적으로 확인하세요. 여기에서 무료 로구독을 신청하세요.

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.