Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing lane properties in the Python object xodr() #8

Open
everal33 opened this issue Feb 17, 2022 · 1 comment
Open

Missing lane properties in the Python object xodr() #8

everal33 opened this issue Feb 17, 2022 · 1 comment

Comments

@everal33
Copy link

When parsing some of the xodr-examples in the samples folder using pyxodr, I found that that the lane object does only contain "id" as member.
I could imagine that, when creating the python bindings, the "relationship" between the lane object and its inherited class, that carries the missing objects, gets broken.

@javedulu
Copy link
Owner

javedulu commented Feb 17, 2022

The link between , parent & child class is not maintained in python, will look into it..

t_road_lanes_laneSection_left_lane : public t_road_lanes_laneSection_lr_lane

confirming the issue - same as #9

py::class_<t_road_lanes_laneSection_left_lane, std::shared_ptr<t_road_lanes_laneSection_left_lane, t_road_lanes_laneSection_lr_lane >>(m,"t_road_lanes_laneSection_left_lane","")
.def_readwrite("id", &t_road_lanes_laneSection_left_lane::id, "ID of the lane" ) //required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants