xodr

package module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 0 Imported by: 0

README

xodr - 🛠️⏳ Work in Progress

Go Reference

This package provides APIs for road network specifications in the OpenDRIVE format.

Contributing

Generate OpenDRIVE structs
go generate
Outlook
  • generate functions
  • generate XML tags on structs

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECountryCodeString added in v0.1.2

func ECountryCodeString(u ECountryCode) string

func EUnitString added in v0.1.2

func EUnitString(u EUnit) string

func GrEqZeroOrContactPointString added in v0.1.2

func GrEqZeroOrContactPointString(u GrEqZeroOrContactPoint) string

func MaxSpeedString added in v0.1.2

func MaxSpeedString(u MaxSpeed) string

func New

func New()

Types

type Bool added in v0.1.1

type Bool string

type Controller

type Controller struct {
	OpenDriveElement
	Control  []*ControllerControl
	Id       string
	Name     string
	Sequence int
}

TODO: Doc formatting needs to be implemented!

type ControllerControl

type ControllerControl struct {
	OpenDriveElement
	SignalId string
	Type     string
}

TODO: Doc formatting needs to be implemented!

type DataQuality

type DataQuality struct {
}

TODO: Doc formatting needs to be implemented!

type DataQualityError

type DataQualityError struct {
}

TODO: Doc formatting needs to be implemented!

type DataQualityRawData

type DataQualityRawData struct {
}

TODO: Doc formatting needs to be implemented!

type EAccessRestrictionType

type EAccessRestrictionType string

type EBorderType

type EBorderType string

type EBridgeType

type EBridgeType string

type EConnectionType

type EConnectionType string

type EContactPoint

type EContactPoint string

type ECountryCode

type ECountryCode interface{}

type ECountryCodeDeprecated

type ECountryCodeDeprecated string

type ECountryCodeIso3166Alpha2

type ECountryCodeIso3166Alpha2 string

type ECountryCodeIso3166Alpha3Deprecated

type ECountryCodeIso3166Alpha3Deprecated string

type EDataQualityRawDataPostProcessing

type EDataQualityRawDataPostProcessing string

type EDataQualityRawDataSource

type EDataQualityRawDataSource string

type EDirection

type EDirection string

type EElementDir

type EElementDir string

type EJunctionGroupType

type EJunctionGroupType string

type EJunctionSegmentType

type EJunctionSegmentType string

type EJunctionType

type EJunctionType string

type ELaneAdvisory

type ELaneAdvisory string

type ELaneDirection

type ELaneDirection string

type ELaneType

type ELaneType string

type EMaxSpeedString

type EMaxSpeedString string

type EObjectType

type EObjectType string

type EOrientation

type EOrientation string

type EOutlineFillType

type EOutlineFillType string

type EParamPoly3PRange

type EParamPoly3PRange string

type ERoadLanesLaneSectionLcrLaneRoadMarkLaneChange

type ERoadLanesLaneSectionLcrLaneRoadMarkLaneChange string

type ERoadLanesLaneSectionLrLaneAccessRule

type ERoadLanesLaneSectionLrLaneAccessRule string

type ERoadLinkElementType

type ERoadLinkElementType string

type ERoadMarkColor

type ERoadMarkColor string

type ERoadMarkRule

type ERoadMarkRule string

type ERoadMarkType

type ERoadMarkType string

type ERoadMarkWeight

type ERoadMarkWeight string

type ERoadObjectsObjectParkingSpaceAccess

type ERoadObjectsObjectParkingSpaceAccess string

type ERoadRailroadSwitchPosition

type ERoadRailroadSwitchPosition string

type ERoadSignalsDisplayType

type ERoadSignalsDisplayType string

type ERoadSignalsSignalReferenceElementType

type ERoadSignalsSignalReferenceElementType string

type ERoadSurfaceCrgMode

type ERoadSurfaceCrgMode string

type ERoadSurfaceCrgPurpose

type ERoadSurfaceCrgPurpose string

type ERoadType

type ERoadType string

type ESideType

type ESideType string

type ESignalsSemanticsLane

type ESignalsSemanticsLane string

type ESignalsSemanticsPriority

type ESignalsSemanticsPriority string

type ESignalsSemanticsSpeed

type ESignalsSemanticsSpeed string

type ESignalsSemanticsSupplementaryDistance

type ESignalsSemanticsSupplementaryDistance string

type ESignalsSemanticsSupplementaryEnvironment

type ESignalsSemanticsSupplementaryEnvironment string

type ESignalsSemanticsSupplementaryTime

type ESignalsSemanticsSupplementaryTime string

type EStationPlatformSegmentSide

type EStationPlatformSegmentSide string

type EStationType

type EStationType string

type EStripMode

type EStripMode string

type ETrafficRule

type ETrafficRule string

type ETunnelType

type ETunnelType string

type EUnit

type EUnit interface{}

type EUnitDistance

type EUnitDistance string

type EUnitMass

type EUnitMass string

type EUnitSlope

type EUnitSlope string

type EUnitSpeed

type EUnitSpeed string

type EsignalsSemanticsSpeed

type EsignalsSemanticsSpeed struct {
}

type EunitSpeed

type EunitSpeed struct {
}

type GrEqZero added in v0.1.1

type GrEqZero float64

type GrEqZeroOrContactPoint added in v0.1.1

type GrEqZeroOrContactPoint interface{}

type GrZero added in v0.1.1

type GrZero float64
type Header struct {
	OpenDriveElement
	GeoReference       []*HeaderGeoReference
	Offset             []*HeaderOffset
	License            []*License
	DefaultRegulations []*HeaderDefaultRegulations
	Date               string
	East               float64
	Name               string
	North              float64
	RevMajor           int
	RevMinor           int
	South              float64
	Vendor             string
	Version            string
	West               float64
}

TODO: Doc formatting needs to be implemented!

type HeaderDefaultRegulations

type HeaderDefaultRegulations struct {
	OpenDriveElement
	RoadRegulations   []*HeaderRoadRegulation
	SignalRegulations []*HeaderSignalRegulation
}

TODO: Doc formatting needs to be implemented!

type HeaderGeoReference

type HeaderGeoReference struct {
}

TODO: Doc formatting needs to be implemented!

type HeaderOffset

type HeaderOffset struct {
	OpenDriveElement
	Hdg float64
	X   float64
	Y   float64
	Z   float64
}

TODO: Doc formatting needs to be implemented!

type HeaderRoadRegulation

type HeaderRoadRegulation struct {
	OpenDriveElement
	Semantics []*SignalsSemantics
	Type      ERoadType
}

TODO: Doc formatting needs to be implemented!

type HeaderSignalRegulation

type HeaderSignalRegulation struct {
	OpenDriveElement
	Semantics []*SignalsSemantics
	Subtype   string
	Type      string
}

TODO: Doc formatting needs to be implemented!

type Include

type Include struct {
}

TODO: Doc formatting needs to be implemented!

type Junction

type Junction struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionBoundary

type JunctionBoundary struct {
	OpenDriveElement
	Segment []*JunctionBoundarySegment
}

TODO: Doc formatting needs to be implemented!

type JunctionBoundarySegment

type JunctionBoundarySegment struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionBoundarySegmentJoint

type JunctionBoundarySegmentJoint struct {
	JunctionBoundarySegment
}

TODO: Doc formatting needs to be implemented!

type JunctionBoundarySegmentLane

type JunctionBoundarySegmentLane struct {
	JunctionBoundarySegment
}

TODO: Doc formatting needs to be implemented!

type JunctionCommon

type JunctionCommon struct {
	Junction
	Connection    []*JunctionConnectionCommon
	CrossPath     []*JunctionCrossPath
	Priority      []*JunctionPriority
	Controller    []*JunctionController
	Surface       []*RoadSurface
	PlanView      []*RoadPlanView
	Objects       []*RoadObjects
	Boundary      []*JunctionBoundary
	ElevationGrid []*JunctionElevationGrid
}

TODO: Doc formatting needs to be implemented!

type JunctionConnection

type JunctionConnection struct {
	OpenDriveElement
	LaneLink []*JunctionConnectionLaneLink
}

TODO: Doc formatting needs to be implemented!

type JunctionConnectionCommon

type JunctionConnectionCommon struct {
	JunctionConnection
}

TODO: Doc formatting needs to be implemented!

type JunctionConnectionDirect

type JunctionConnectionDirect struct {
	JunctionConnection
}

TODO: Doc formatting needs to be implemented!

type JunctionConnectionLaneLink struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionConnectionVirtual

type JunctionConnectionVirtual struct {
	JunctionConnection
	Predecessor []*JunctionPredecessorSuccessor
	Successor   []*JunctionPredecessorSuccessor
}

TODO: Doc formatting needs to be implemented!

type JunctionConnectionVirtualDefault

type JunctionConnectionVirtualDefault struct {
	JunctionConnection
}

TODO: Doc formatting needs to be implemented!

type JunctionController

type JunctionController struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionCrossPath

type JunctionCrossPath struct {
	CrossingRoad  string
	Id            string
	RoadAtEnd     string
	RoadAtStart   string
	StartLaneLink JunctionCrossPathLaneLink
	EndLaneLink   JunctionCrossPathLaneLink
}

TODO: Doc formatting needs to be implemented!

type JunctionCrossPathLaneLink struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionCrossing

type JunctionCrossing struct {
	Junction
	RoadSection []*JunctionRoadSection
	Priority    []*JunctionPriority
	Controller  []*JunctionController
	Surface     []*RoadSurface
	PlanView    []*RoadPlanView
	Objects     []*RoadObjects
}

TODO: Doc formatting needs to be implemented!

type JunctionDirect

type JunctionDirect struct {
	Junction
	Connection []*JunctionConnectionDirect
	Priority   []*JunctionPriority
	Controller []*JunctionController
	Surface    []*RoadSurface
	PlanView   []*RoadPlanView
	Objects    []*RoadObjects
}

TODO: Doc formatting needs to be implemented!

type JunctionElevationGrid

type JunctionElevationGrid struct {
	OpenDriveElement
	Elevation []*JunctionElevationGridElevation
}

TODO: Doc formatting needs to be implemented!

type JunctionElevationGridElevation

type JunctionElevationGridElevation struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionGridPositionList added in v0.1.1

type JunctionGridPositionList []float64

type JunctionGroup

type JunctionGroup struct {
	OpenDriveElement
	JunctionReference []*JunctionGroupJunctionReference
}

TODO: Doc formatting needs to be implemented!

type JunctionGroupJunctionReference

type JunctionGroupJunctionReference struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionPredecessorSuccessor

type JunctionPredecessorSuccessor struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionPriority

type JunctionPriority struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionRoadSection

type JunctionRoadSection struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type JunctionVirtual

type JunctionVirtual struct {
	Junction
	Connection []*JunctionConnection
	CrossPath  []*JunctionCrossPath
	Priority   []*JunctionPriority
	Controller []*JunctionController
	Surface    []*RoadSurface
	PlanView   []*RoadPlanView
	Objects    []*RoadObjects
}

TODO: Doc formatting needs to be implemented!

type License

type License struct {
	OpenDriveElement
	Name     string
	Resource string
	Spdxid   string
	Text     string
}

TODO: Doc formatting needs to be implemented!

type MaxSpeed added in v0.1.1

type MaxSpeed interface{}

type OpenDriveElement

type OpenDriveElement struct {
}

TODO: Doc formatting needs to be implemented!

type Road

type Road struct {
	OpenDriveElement
	Link             []*RoadLink
	Type             []*RoadType
	PlanView         []*RoadPlanView
	ElevationProfile []*RoadElevationProfile
	LateralProfile   []*RoadLateralProfile
	Lanes            []*RoadLanes
	Objects          []*RoadObjects
	Signals          []*RoadSignals
	Surface          []*RoadSurface
	Railroad         []*RoadRailroad
	Id               string
	Junction         string
	Length           GrZero
	Name             string
	Rule             ETrafficRule
}

TODO: Doc formatting needs to be implemented!

type RoadElevationProfile

type RoadElevationProfile struct {
	OpenDriveElement
	Elevation []*RoadElevationProfileElevation
}

TODO: Doc formatting needs to be implemented!

type RoadElevationProfileElevation

type RoadElevationProfileElevation struct {
	OpenDriveElement
	A float64
	B float64
	C float64
	D float64
	S GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadLanes

type RoadLanes struct {
	OpenDriveElement
	LaneOffset  []*RoadLanesLaneOffset
	LaneSection []*RoadLanesLaneSection
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneOffset

type RoadLanesLaneOffset struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSection

type RoadLanesLaneSection struct {
	OpenDriveElement
	Left   []*RoadLanesLaneSectionLeft
	Center []*RoadLanesLaneSectionCenter
	Right  []*RoadLanesLaneSectionRight
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionCenter

type RoadLanesLaneSectionCenter struct {
	OpenDriveElement
	Lane []*RoadLanesLaneSectionCenterLane
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionCenterLane

type RoadLanesLaneSectionCenterLane struct {
	Id       int
	Level    Bool
	Type     ELaneType
	Link     RoadLanesLaneSectionLcrLaneLink
	RoadMark RoadLanesLaneSectionLcrLaneRoadMark
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneLink struct {
	OpenDriveElement
	Predecessor []*RoadLanesLaneSectionLcrLaneLinkPredecessorSuccessor
	Successor   []*RoadLanesLaneSectionLcrLaneLinkPredecessorSuccessor
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneLinkPredecessorSuccessor

type RoadLanesLaneSectionLcrLaneLinkPredecessorSuccessor struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMark

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMarkExplicit

type RoadLanesLaneSectionLcrLaneRoadMarkExplicit struct {
	OpenDriveElement
	Line []*RoadLanesLaneSectionLcrLaneRoadMarkExplicitLine
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMarkExplicitLine

type RoadLanesLaneSectionLcrLaneRoadMarkExplicitLine struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMarkSway

type RoadLanesLaneSectionLcrLaneRoadMarkSway struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMarkType

type RoadLanesLaneSectionLcrLaneRoadMarkType struct {
	OpenDriveElement
	Line []*RoadLanesLaneSectionLcrLaneRoadMarkTypeLine
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLcrLaneRoadMarkTypeLine

type RoadLanesLaneSectionLcrLaneRoadMarkTypeLine struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLeft

type RoadLanesLaneSectionLeft struct {
	OpenDriveElement
	Lane []*RoadLanesLaneSectionLeftLane
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLeftLane

type RoadLanesLaneSectionLeftLane struct {
	RoadLanesLaneSectionLrLane
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneAccess

type RoadLanesLaneSectionLrLaneAccess struct {
	OpenDriveElement
	Restriction []*RoadLanesLaneSectionLrLaneAccessRestriction
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneAccessRestriction

type RoadLanesLaneSectionLrLaneAccessRestriction struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneBorder

type RoadLanesLaneSectionLrLaneBorder struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneHeight

type RoadLanesLaneSectionLrLaneHeight struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneMaterial

type RoadLanesLaneSectionLrLaneMaterial struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneRule

type RoadLanesLaneSectionLrLaneRule struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneSpeed

type RoadLanesLaneSectionLrLaneSpeed struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionLrLaneWidth

type RoadLanesLaneSectionLrLaneWidth struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionRight

type RoadLanesLaneSectionRight struct {
	OpenDriveElement
	Lane []*RoadLanesLaneSectionRightLane
}

TODO: Doc formatting needs to be implemented!

type RoadLanesLaneSectionRightLane

type RoadLanesLaneSectionRightLane struct {
	RoadLanesLaneSectionLrLane
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfile

type RoadLateralProfile struct {
	OpenDriveElement
	Superelevation      []*RoadLateralProfileSuperelevation
	Shape               []*RoadLateralProfileShape
	CrossSectionSurface []*RoadLateralProfileCrossSectionSurface
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurface

type RoadLateralProfileCrossSectionSurface struct {
	OpenDriveElement
	TOffset       []*RoadLateralProfileCrossSectionSurfaceTOffset
	SurfaceStrips []*RoadLateralProfileCrossSectionSurfaceSurfaceStrip
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceCoefficients

type RoadLateralProfileCrossSectionSurfaceCoefficients struct {
	OpenDriveElement
	A float64
	B float64
	C float64
	D float64
	S GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceStripConstant

type RoadLateralProfileCrossSectionSurfaceStripConstant struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceStripCubic

type RoadLateralProfileCrossSectionSurfaceStripCubic struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceStripLinear

type RoadLateralProfileCrossSectionSurfaceStripLinear struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceStripQuadratic

type RoadLateralProfileCrossSectionSurfaceStripQuadratic struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceStripWidth

type RoadLateralProfileCrossSectionSurfaceStripWidth struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceSurfaceStrip

type RoadLateralProfileCrossSectionSurfaceSurfaceStrip struct {
	OpenDriveElement
	Strip []*RoadLateralProfileCrossSectionSurfaceStrip
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileCrossSectionSurfaceTOffset

type RoadLateralProfileCrossSectionSurfaceTOffset struct {
	OpenDriveElement
	Coefficients []*RoadLateralProfileCrossSectionSurfaceCoefficients
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileShape

type RoadLateralProfileShape struct {
	OpenDriveElement
	A float64
	B float64
	C float64
	D float64
	S GrEqZero
	T float64
}

TODO: Doc formatting needs to be implemented!

type RoadLateralProfileSuperelevation

type RoadLateralProfileSuperelevation struct {
	OpenDriveElement
	A float64
	B float64
	C float64
	D float64
	S GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadLink struct {
	OpenDriveElement
	Predecessor []*RoadLinkPredecessorSuccessor
	Successor   []*RoadLinkPredecessorSuccessor
}

TODO: Doc formatting needs to be implemented!

type RoadLinkPredecessorSuccessor

type RoadLinkPredecessorSuccessor struct {
	OpenDriveElement
	ContactPoint EContactPoint
	ElementDir   EElementDir
	ElementId    string
	ElementS     GrEqZero
	ElementType  ERoadLinkElementType
}

TODO: Doc formatting needs to be implemented!

type RoadObjects

type RoadObjects struct {
	OpenDriveElement
	Object          []*RoadObjectsObject
	ObjectReference []*RoadObjectsObjectReference
	Tunnel          []*RoadObjectsTunnel
	Bridge          []*RoadObjectsBridge
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsBridge

type RoadObjectsBridge struct {
	OpenDriveElement
	Validity []*RoadObjectsObjectLaneValidity
	Id       string
	Length   GrEqZero
	Name     string
	S        GrEqZero
	Type     EBridgeType
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObject

type RoadObjectsObject struct {
	OpenDriveElement
	Repeat       []*RoadObjectsObjectRepeat
	Outline      []*RoadObjectsObjectOutlinesOutline
	Outlines     []*RoadObjectsObjectOutlines
	Material     []*RoadObjectsObjectMaterial
	Validity     []*RoadObjectsObjectLaneValidity
	ParkingSpace []*RoadObjectsObjectParkingSpace
	Markings     []*RoadObjectsObjectMarkings
	Borders      []*RoadObjectsObjectBorders
	Surface      []*RoadObjectsObjectSurface
	Skeleton     []*RoadObjectsObjectSkeleton
	Dynamic      YesNo
	Hdg          float64
	Height       GrEqZero
	Id           string
	Length       GrZero
	Name         string
	Orientation  EOrientation
	PerpToRoad   Bool
	Pitch        float64
	Radius       GrZero
	Roll         float64
	S            GrEqZero
	Subtype      string
	T            float64
	Type         EObjectType
	ValidLength  GrEqZero
	Width        float64
	ZOffset      float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectBorders

type RoadObjectsObjectBorders struct {
	OpenDriveElement
	Border []*RoadObjectsObjectBordersBorder
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectBordersBorder

type RoadObjectsObjectBordersBorder struct {
	OpenDriveElement
	CornerReference    []*RoadObjectsObjectMarkingsMarkingCornerReference
	OutlineId          int
	Type               EBorderType
	UseCompleteOutline Bool
	Width              GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectLaneValidity

type RoadObjectsObjectLaneValidity struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectMarkings

type RoadObjectsObjectMarkings struct {
	OpenDriveElement
	Marking []*RoadObjectsObjectMarkingsMarking
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectMarkingsMarking

type RoadObjectsObjectMarkingsMarking struct {
	OpenDriveElement
	CornerReference []*RoadObjectsObjectMarkingsMarkingCornerReference
	Color           ERoadMarkColor
	LineLength      GrZero
	Side            ESideType
	SpaceLength     GrEqZero
	StartOffset     float64
	StopOffset      float64
	Weight          ERoadMarkWeight
	Width           GrZero
	ZOffset         GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectMarkingsMarkingCornerReference

type RoadObjectsObjectMarkingsMarkingCornerReference struct {
	OpenDriveElement
	Id int
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectMaterial

type RoadObjectsObjectMaterial struct {
	OpenDriveElement
	Friction      GrEqZero
	RoadMarkColor ERoadMarkColor
	Roughness     GrEqZero
	Surface       string
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectOutlines

type RoadObjectsObjectOutlines struct {
	OpenDriveElement
	Outline []*RoadObjectsObjectOutlinesOutline
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectOutlinesOutline

type RoadObjectsObjectOutlinesOutline struct {
	OpenDriveElement
	Closed   Bool
	FillType EOutlineFillType
	Id       int
	LaneType ELaneType
	Outer    Bool
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectOutlinesOutlineCornerLocal

type RoadObjectsObjectOutlinesOutlineCornerLocal struct {
	OpenDriveElement
	Height GrEqZero
	Id     int
	U      float64
	V      float64
	Z      float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectOutlinesOutlineCornerRoad

type RoadObjectsObjectOutlinesOutlineCornerRoad struct {
	OpenDriveElement
	Dz     float64
	Height GrEqZero
	Id     int
	S      GrEqZero
	T      float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectParkingSpace

type RoadObjectsObjectParkingSpace struct {
	OpenDriveElement
	Access       ERoadObjectsObjectParkingSpaceAccess
	Restrictions string
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectReference

type RoadObjectsObjectReference struct {
	OpenDriveElement
	Validity    []*RoadObjectsObjectLaneValidity
	Id          string
	Orientation EOrientation
	S           GrEqZero
	T           float64
	ValidLength GrEqZero
	ZOffset     float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectRepeat

type RoadObjectsObjectRepeat struct {
	OpenDriveElement
	DetachFromReferenceLine Bool
	Distance                GrEqZero
	HeightEnd               GrEqZero
	HeightStart             GrEqZero
	Length                  GrEqZero
	LengthEnd               GrEqZero
	LengthStart             GrEqZero
	RadiusEnd               GrEqZero
	RadiusStart             GrEqZero
	S                       GrEqZero
	TEnd                    float64
	TStart                  float64
	WidthEnd                GrEqZero
	WidthStart              GrEqZero
	ZOffsetEnd              float64
	ZOffsetStart            float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSkeleton

type RoadObjectsObjectSkeleton struct {
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSkeletonPolyline

type RoadObjectsObjectSkeletonPolyline struct {
	Id int
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSkeletonPolylineVertexLocal

type RoadObjectsObjectSkeletonPolylineVertexLocal struct {
	Id                int
	IntersectionPoint Bool
	Radius            float64
	U                 float64
	V                 float64
	Z                 float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSkeletonPolylineVertexRoad

type RoadObjectsObjectSkeletonPolylineVertexRoad struct {
	Dz                float64
	Id                int
	IntersectionPoint Bool
	Radius            float64
	S                 GrEqZero
	T                 float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSurface

type RoadObjectsObjectSurface struct {
	OpenDriveElement
	Crg []*RoadObjectsObjectSurfaceCrg
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsObjectSurfaceCrg

type RoadObjectsObjectSurfaceCrg struct {
	OpenDriveElement
	File               string
	HideRoadSurfaceCrg Bool
	ZScale             float64
}

TODO: Doc formatting needs to be implemented!

type RoadObjectsTunnel

type RoadObjectsTunnel struct {
	OpenDriveElement
	Validity []*RoadObjectsObjectLaneValidity
	Daylight ZeroOne
	Id       string
	Length   GrEqZero
	Lighting ZeroOne
	Name     string
	S        GrEqZero
	Type     ETunnelType
}

TODO: Doc formatting needs to be implemented!

type RoadPlanView

type RoadPlanView struct {
	OpenDriveElement
	Geometry []*RoadPlanViewGeometry
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometry

type RoadPlanViewGeometry struct {
	OpenDriveElement
	Hdg    float64
	Length GrZero
	S      GrEqZero
	X      float64
	Y      float64
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometryArc

type RoadPlanViewGeometryArc struct {
	OpenDriveElement
	Curvature float64
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometryLine

type RoadPlanViewGeometryLine struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometryParamPoly3

type RoadPlanViewGeometryParamPoly3 struct {
	OpenDriveElement
	AU     float64
	AV     float64
	BU     float64
	BV     float64
	CU     float64
	CV     float64
	DU     float64
	DV     float64
	PRange EParamPoly3PRange
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometryPoly3

type RoadPlanViewGeometryPoly3 struct {
	OpenDriveElement
	A float64
	B float64
	C float64
	D float64
}

TODO: Doc formatting needs to be implemented!

type RoadPlanViewGeometrySpiral

type RoadPlanViewGeometrySpiral struct {
	OpenDriveElement
	CurvEnd   float64
	CurvStart float64
}

TODO: Doc formatting needs to be implemented!

type RoadRailroad

type RoadRailroad struct {
	OpenDriveElement
	Switch []*RoadRailroadSwitch
}

TODO: Doc formatting needs to be implemented!

type RoadRailroadSwitch

type RoadRailroadSwitch struct {
	OpenDriveElement
	MainTrack []*RoadRailroadSwitchMainTrack
	SideTrack []*RoadRailroadSwitchSideTrack
	Partner   []*RoadRailroadSwitchPartner
	Id        *string
	Name      *string
	Position  *ERoadRailroadSwitchPosition
}

TODO: Doc formatting needs to be implemented!

type RoadRailroadSwitchMainTrack

type RoadRailroadSwitchMainTrack struct {
	OpenDriveElement
	Dir *EElementDir
	Id  *string
	S   *GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadRailroadSwitchPartner

type RoadRailroadSwitchPartner struct {
	OpenDriveElement
	Id   *string
	Name *string
}

TODO: Doc formatting needs to be implemented!

type RoadRailroadSwitchSideTrack

type RoadRailroadSwitchSideTrack struct {
	OpenDriveElement
	Dir *EElementDir
	Id  *string
	S   *GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadSignals

type RoadSignals struct {
	OpenDriveElement
	Signal          []*RoadSignalsSignalRoad
	SignalReference []*RoadSignalsSpatialSignalReference
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsBoard

type RoadSignalsBoard struct {
	OpenDriveElement
	Validity   []*RoadObjectsObjectLaneValidity
	Dependency []*RoadSignalsSignalDependency
	Reference  []*RoadSignalsSignalReference
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsBoardSign

type RoadSignalsBoardSign struct {
	RoadSignalsSignal
	V float64
	Z float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsDisplayArea

type RoadSignalsDisplayArea struct {
	OpenDriveElement
	Height string
	Index  int
	V      float64
	Width  string
	Z      float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignal

type RoadSignalsSignal struct {
	OpenDriveElement
	Validity        []*RoadObjectsObjectLaneValidity
	Dependency      []*RoadSignalsSignalDependency
	Reference       []*RoadSignalsSignalReference
	StaticBoard     []*RoadSignalsStaticBoard
	VmsBoard        []*RoadSignalsVmsBoard
	Semantics       []*SignalsSemantics
	Country         ECountryCode
	CountryRevision string
	Dynamic         YesNo
	Height          GrEqZero
	HOffset         float64
	Id              string
	Length          GrEqZero
	Name            string
	Orientation     EOrientation
	Pitch           float64
	Roll            float64
	Subtype         string
	Text            string
	Type            string
	Unit            EUnit
	Value           float64
	Width           GrEqZero
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignalDependency

type RoadSignalsSignalDependency struct {
	OpenDriveElement
	Id   string
	Type string
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignalPositionInertial

type RoadSignalsSignalPositionInertial struct {
	OpenDriveElement
	Hdg   float64
	Pitch float64
	Roll  float64
	X     float64
	Y     float64
	Z     float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignalPositionRoad

type RoadSignalsSignalPositionRoad struct {
	OpenDriveElement
	HOffset float64
	Pitch   float64
	RoadId  string
	Roll    float64
	S       GrEqZero
	T       float64
	ZOffset float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignalReference

type RoadSignalsSignalReference struct {
	OpenDriveElement
	ElementId   string
	ElementType ERoadSignalsSignalReferenceElementType
	Type        string
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSignalRoad

type RoadSignalsSignalRoad struct {
	RoadSignalsSignal
	S       GrEqZero
	T       float64
	ZOffset float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsSpatialSignalReference

type RoadSignalsSpatialSignalReference struct {
	OpenDriveElement
	Validity    []*RoadObjectsObjectLaneValidity
	Id          string
	Orientation EOrientation
	S           GrEqZero
	T           float64
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsStaticBoard

type RoadSignalsStaticBoard struct {
	RoadSignalsBoard
	Sign []*RoadSignalsBoardSign
}

TODO: Doc formatting needs to be implemented!

type RoadSignalsVmsBoard

type RoadSignalsVmsBoard struct {
	RoadSignalsBoard
	DisplayArea   []*RoadSignalsDisplayArea
	DisplayHeight float64
	DisplayType   ERoadSignalsDisplayType
	DisplayWidth  float64
	V             float64
	Z             float64
}

TODO: Doc formatting needs to be implemented!

type RoadSurface

type RoadSurface struct {
	OpenDriveElement
	Crg []*RoadSurfaceCrg
}

TODO: Doc formatting needs to be implemented!

type RoadSurfaceCrg

type RoadSurfaceCrg struct {
	OpenDriveElement
	File        string
	HOffset     float64
	Mode        ERoadSurfaceCrgMode
	Orientation EDirection
	Purpose     ERoadSurfaceCrgPurpose
	SEnd        GrEqZero
	SOffset     float64
	SStart      GrEqZero
	TOffset     float64
	ZOffset     float64
	ZScale      float64
}

TODO: Doc formatting needs to be implemented!

type RoadType

type RoadType struct {
	OpenDriveElement
	Speed   []*RoadTypeSpeed
	Country ECountryCode
	S       GrEqZero
	Type    ERoadType
}

TODO: Doc formatting needs to be implemented!

type RoadTypeSpeed

type RoadTypeSpeed struct {
	OpenDriveElement
	Max  MaxSpeed
	Unit EUnitSpeed
}

TODO: Doc formatting needs to be implemented!

type SignalGroupVmsBoardReference

type SignalGroupVmsBoardReference struct {
	OpenDriveElement
	GroupIndex int
	SignalId   string
	VmsIndex   int
}

TODO: Doc formatting needs to be implemented!

type SignalGroupVmsGroup

type SignalGroupVmsGroup struct {
	OpenDriveElement
	VmsBoardReference []*SignalGroupVmsBoardReference
	Id                string
}

TODO: Doc formatting needs to be implemented!

type SignalsSemantics

type SignalsSemantics struct {
	OpenDriveElement
	Speed                    []*SignalsSemanticsSpeed
	Lane                     []*SignalsSemanticsLane
	Priority                 []*SignalsSemanticsPriority
	Prohibited               []*SignalsSemanticsProhibited
	Warning                  []*SignalsSemanticsWarning
	Routing                  []*SignalsSemanticsRouting
	Streetname               []*SignalsSemanticsStreetname
	Parking                  []*SignalsSemanticsParking
	Tourist                  []*SignalsSemanticsTourist
	SupplementaryTime        []*SignalsSemanticsSupplementaryTime
	SupplementaryAllows      []*SignalsSemanticsSupplementaryAllows
	SupplementaryProhibits   []*SignalsSemanticsSupplementaryProhibits
	SupplementaryDistance    []*SignalsSemanticsSupplementaryDistance
	SupplementaryEnvironment []*SignalsSemanticsSupplementaryEnvironment
	SupplementaryExplanatory []*SignalsSemanticsSupplementaryExplanatory
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsLane

type SignalsSemanticsLane struct {
	OpenDriveElement
	Type ESignalsSemanticsLane
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsParking

type SignalsSemanticsParking struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsPriority

type SignalsSemanticsPriority struct {
	OpenDriveElement
	Type ESignalsSemanticsPriority
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsProhibited

type SignalsSemanticsProhibited struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsRouting

type SignalsSemanticsRouting struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSpeed

type SignalsSemanticsSpeed struct {
	OpenDriveElement
	Type  []*ESignalsSemanticsSpeed
	Unit  []*EUnitSpeed
	Value []*float64
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsStreetname

type SignalsSemanticsStreetname struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryAllows

type SignalsSemanticsSupplementaryAllows struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryDistance

type SignalsSemanticsSupplementaryDistance struct {
	OpenDriveElement
	Type  ESignalsSemanticsSupplementaryDistance
	Unit  EUnitDistance
	Value float64
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryEnvironment

type SignalsSemanticsSupplementaryEnvironment struct {
	OpenDriveElement
	Type ESignalsSemanticsSupplementaryEnvironment
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryExplanatory

type SignalsSemanticsSupplementaryExplanatory struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryProhibits

type SignalsSemanticsSupplementaryProhibits struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsSupplementaryTime

type SignalsSemanticsSupplementaryTime struct {
	OpenDriveElement
	Type  ESignalsSemanticsSupplementaryTime
	Value float64
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsTourist

type SignalsSemanticsTourist struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type SignalsSemanticsWarning

type SignalsSemanticsWarning struct {
	OpenDriveElement
}

TODO: Doc formatting needs to be implemented!

type Station

type Station struct {
	OpenDriveElement
	Platform []*StationPlatform
	Id       *string
	Name     *string
	Type     *EStationType
}

TODO: Doc formatting needs to be implemented!

type StationPlatform

type StationPlatform struct {
	OpenDriveElement
	Segment []*StationPlatformSegment
	Id      *string
	Name    *string
}

TODO: Doc formatting needs to be implemented!

type StationPlatformSegment

type StationPlatformSegment struct {
	OpenDriveElement
	RoadId *string
	SEnd   *GrEqZero
	Side   *EStationPlatformSegmentSide
	SStart *GrEqZero
}

TODO: Doc formatting needs to be implemented!

type UserData

type UserData struct {
}

TODO: Doc formatting needs to be implemented!

type YesNo added in v0.1.1

type YesNo string

type ZeroOne added in v0.1.1

type ZeroOne float64

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL