{"id":31021425,"url":"https://github.com/sisl/opendrivemanagerlite.jl","last_synced_at":"2025-09-13T11:21:33.279Z","repository":{"id":35637992,"uuid":"39912285","full_name":"sisl/OpenDriveManagerLite.jl","owner":"sisl","description":"A Julie package interface to OdrManagerLite, by Vires, for coordinate conversions and utilities in OpenDRIVE maps","archived":false,"fork":false,"pushed_at":"2015-08-12T20:40:18.000Z","size":768,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":74,"default_branch":"master","last_synced_at":"2024-10-31T07:42:56.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sisl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-29T19:30:59.000Z","updated_at":"2022-01-17T06:09:02.000Z","dependencies_parsed_at":"2022-09-18T06:44:48.747Z","dependency_job_id":null,"html_url":"https://github.com/sisl/OpenDriveManagerLite.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sisl/OpenDriveManagerLite.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FOpenDriveManagerLite.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FOpenDriveManagerLite.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FOpenDriveManagerLite.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FOpenDriveManagerLite.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sisl","download_url":"https://codeload.github.com/sisl/OpenDriveManagerLite.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FOpenDriveManagerLite.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274955835,"owners_count":25380669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-13T11:21:28.263Z","updated_at":"2025-09-13T11:21:33.272Z","avatar_url":"https://github.com/sisl.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenDriveManagerLite\n\nA Julie package interface to OdrManagerLite, by Vires, for coordinate conversions in OpenDRIVE maps.\n\n[![Build Status](https://travis-ci.org/sisl/OpenDriveManagerLite.jl.svg?branch=master)](https://travis-ci.org/sisl/OpenDriveManagerLite.jl)\n[![Coverage Status](https://coveralls.io/repos/sisl/OpenDriveManagerLite.jl/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/sisl/OpenDriveManagerLite.jl?branch=master)\n\n## Installation\n```julia\nPkg.clone(\"https://github.com/sisl/OpenDriveManagerLite.jl.git\")\nPkg.build(\"OpenDriveManagerLite\")\n```\n\n## Coordinate Frames\nThe components of each coordinate frame and how to create new instances of each frame. \n\nInertial (AbstractCoord)\n```Julia\ntype CoordIm \u003c: AbstractCoord\n    x::Cdouble\n    y::Cdouble\n    z::Cdouble\n    h::Cdouble\n    p::Cdouble\n    r::Cdouble\n\n    Coord()=new()\n    Coord(x::Real, y::Real, z::Real, h::Real=0.0, p::Real=0.0, r::Real=0.0) =\n        new(x, y, z, h, p, r)\nend\n```\nTrack (AbstractTrackCoord)\n```Julia\ntype TrackCoordIm \u003c: AbstractTrackCoord\n\n    trackid::Cint # id of the corresponding track\n    s::Cdouble    # distance along the track\n    t::Cdouble    # distance perpendicular to the track\n    z::Cdouble    # height\n    h::Cdouble    # heading [rad]\n    p::Cdouble    # pitch [rad]\n    r::Cdouble    # roll [rad]\n\n    TrackCoord() = new() # create one without setting any values\n    TrackCoord(trackid::Integer, s::Real, t::Real, z::Real=0.0, h::Real=0.0, p::Real=0.0, r::Real=0.0) =\n        new(trackid, s, t, z, h, p, r)\nend\n```\nLane (AbstractLaneCoord)\n```Julia\ntype LaneCoordIm \u003c: AbstractLaneCoord\n    trackid::Cint # id of the corresponding track\n    s::Cdouble    # distance along the track\n    t::Cdouble    # distance perpendicular to the track\n    z::Cdouble    # height\n    h::Cdouble    # heading [rad]\n    p::Cdouble    # pitch [rad]\n    r::Cdouble \n    laneid::Cint\n    offset::Cdouble\n\n    LaneCoord() = new() # create one without setting any values\n    LaneCoord(trackid::Integer, s::Real, t::Real, z::Real = 0.0, h::Real=0.0, p::Real=0.0, r::Real=0.0, laneid::Real=1,       \n    offset::Real=0.0 ) =\n        new(trackid, s, t, z, h, p, r, laneid, offset)\nend\n```\nFoot (AbstractCoord). `footpoint` coordinates are inertial coordinates of the lane closest to the vehicle. \n```Julia\ntype CoordIm \u003c: AbstractCoord\n    x::Cdouble\n    y::Cdouble\n    z::Cdouble\n    h::Cdouble\n    p::Cdouble\n    r::Cdouble\n\n    Coord()=new()\n    Coord(x::Real, y::Real, z::Real, h::Real=0.0, p::Real=0.0, r::Real=0.0) =\n        new(x, y, z, h, p, r)\nend\n```\n\n## Transformations \n\nCreate an instance of `OdrManagerLite`, load an XML file, and then initialize a position:\n\n```julia\nmgr = OdrManagerLite()\n@assert(loadfile(mgr, \"myfile.xml\"))\n\npos = create_position(mgr)\nactivate_position(mgr, pos)\n```\n\nGiven any coordinate, one can set the inertal `OdrManagerLite` position and then transform it to the other three forms.\n\nConvert a track coordinate to an inertial coordinate:\n```julia\nset_trackpos(mgr, 0, 1.0, 2.0)\nset_trackpos(mgr::OdrManagerLite, value::AbstractTrackCoord)\ntrack2inertial(mgr)\npos = get_inertialpos(mgr)\n```\n\nConvert an inertial coordinate to a track coordinate:\n```julia\nset_inertialpos(mgr::OdrManagerLite, x::Real, y::Real, z::Real)\ninertial2track(mgr)\npos = get_trackpos(mgr)\n```\n\nConvert a lane coordinate to an inertial coordinate:\n```julia\nset_lanepos(mgr::OdrManagerLite, value::AbstractLaneCoord)\nlane2inertial(mgr)\npos = get_inertialpos(mgr)\n```\n\nConvert an inertial coordinate to a lane coordinate:\n```julia\nset_inertialpos(mgr::OdrManagerLite, x::Real, y::Real, z::Real)\ninertial2lane(mgr)\npos = get_lanepos(mgr)\n```\n\nCopy a foot point into the inertial position. `get_footpoint` returns foot point inertial (real-world) co-ordinate. A position must be activate to using `footpoint`.\n```julia\nfootpoint2inertial(mgr)\nget_footpoint(mgr)\n```\n\nFor further documentation, see OpenDRIVE Manager Manual\n[OpenDRIVE Manager](http://www.vires.com/docs/OdrMgrUserManualRevI.pdf)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsisl%2Fopendrivemanagerlite.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsisl%2Fopendrivemanagerlite.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsisl%2Fopendrivemanagerlite.jl/lists"}