Skip to content

About getting trajectory data #8

Description

@aiguiya

Hi, I'm trying to use "convert_raw_ngsim_to_trajdatas()"
and having trouble with it.

The error message is as following:

MethodError: no method matching isless(::Vec.VecSE2{Float64}, ::Vec.VecSE2{Float64})
Closest candidates are:
isless(::Missings.Missing, ::Any) at C:\Users\Eunhye.julia\v0.6\Missings\src\Missings.jl:74
isless(::Any, ::Missings.Missing) at C:\Users\Eunhye.julia\v0.6\Missings\src\Missings.jl:75

Stacktrace:
[1] <(::Vec.VecSE2{Float64}, ::Vec.VecSE2{Float64}) at .\operators.jl:194
[2] index_closest_to_point(::Array{AutomotiveDrivingModels.CurvePt,1}, ::Vec.VecSE2{Float64}) at C:\Users\Eunhye.julia\v0.6\AutomotiveDrivingModels\src\2d\roadway\curves.jl:98
[3] proj(::Vec.VecSE2{Float64}, ::Array{AutomotiveDrivingModels.CurvePt,1}) at C:\Users\Eunhye.julia\v0.6\AutomotiveDrivingModels\src\2d\roadway\curves.jl:222
[4] #proj#32(::Bool, ::Function, ::Vec.VecSE2{Float64}, ::AutomotiveDrivingModels.Lane, ::AutomotiveDrivingModels.Roadway) at C:\Users\Eunhye.julia\v0.6\AutomotiveDrivingModels\src\2d\roadway\roadways.jl:367
[5] (::Vec.#kw##proj)(::Array{Any,1}, ::Vec.#proj, ::Vec.VecSE2{Float64}, ::AutomotiveDrivingModels.Lane, ::AutomotiveDrivingModels.Roadway) at .<missing>:0
[6] proj(::Vec.VecSE2{Float64}, ::AutomotiveDrivingModels.Roadway) at C:\Users\Eunhye.julia\v0.6\AutomotiveDrivingModels\src\2d\roadway\roadways.jl:449
[7] AutomotiveDrivingModels.VehicleState(::Vec.VecSE2{Float64}, ::AutomotiveDrivingModels.Roadway, ::Float64) at C:\Users\Eunhye.julia\v0.6\AutomotiveDrivingModels\src\2d\vehicles\vehicles.jl:9
[8] convert(::Type{Records.ListRecord{AutomotiveDrivingModels.VehicleState,AutomotiveDrivingModels.VehicleDef,Int64}}, ::NGSIM.NGSIMTrajdata, ::AutomotiveDrivingModels.Roadway) at C:\Users\Eunhye.julia\v0.6\NGSIM\src\trajdata.jl:183
[9] convert_raw_ngsim_to_trajdatas() at C:\Users\Eunhye.julia\v0.6\NGSIM\src\trajdata.jl:203
[10] include_string(::String, ::String) at .\loading.jl:522

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions