hexagon logo

What is the environment variable to rotate a road 90 degrees?

What is the environment variable to rotate a road 90 degrees?
  • In several road property files there's parameters to position and orient the road like:
    $-------------------------------------------------------------------------refsys
    [REFSYS]
     OFFSET                  = 0.0 0.0 0.0
     ROTATION_ANGLE_XY_PLANE = 0.0
     
     
    $!**********************************************************************
    $ROAD_CRG_MODS                                 
    refpoint_x              = -663.0    !translation in x direction wrt roadreference marker [meter]  
    refpoint_y              = -130.856  !translation in y direction wrt roadreference marker [meter]
    refpoint_z              = -29.700   !translation in z direction wrt roadreference marker [meter]
    refpoint_phi            = 2.87979   !rotation around z axis of the roadreference marker [radian]
     
     
    If you prefer modifying your own little universe: In A/Car there's the environments:
    ! Global reference frame
    ENVIRONMENT   MDI_ACAR_VEHICLE_REAR      1,0,0
    ENVIRONMENT   MDI_ACAR_VEHICLE_LEFT      0,-1,0
     
     
  • Found it.
    MSC_SD_ALLOW_PATH_TRANSFORM=-1​
    It can used in CRG roads if the vehicle longitudinal axis is different than the roads and you don't want to mess with the road.