Skip to content

3d driving#382

Open
ethan10mak wants to merge 123 commits intomainfrom
3d-driving
Open

3d driving#382
ethan10mak wants to merge 123 commits intomainfrom
3d-driving

Conversation

@ethan10mak
Copy link
Collaborator

@ethan10mak ethan10mak commented Sep 5, 2025

Description

This PR adds support for 3D mode.

  • Elevation parsed from Open Drive files
  • Added mesh generation through the Trimesh library
  • Tested driving simulations through CARLA
  • Updated older test cases to generate in 2D mode

Issue Link

N/A

Checklist

  • I have tested the changes locally via pytest and/or other means
  • I have added or updated relevant documentation
  • I have autoformatted the code with black and isort
  • I have added test cases (if applicable)

Additional Notes

N/A

Made comments to file
Started writing code to parse elevationProfile and lateralProfile elements.
Trying to take 3 dimensional vectors and display them, currently displays visual window, but doesn't show anything
Doesn't quite work yet, but I have differentiated functions such as calc_geometry_for_type() to calculate different things for 2D and 3D
Doesn't work yet, currently facing an error where PolylineRegion and PathRegion are not compatible.
Made sure that all PathRegions created are created through points
Updated the FollowLaneBehavior function to deal with 2d and 3d points
ethan10mak and others added 26 commits October 23, 2025 11:09
Made mode2D=False by default
(WARNING): The CARLA simulator isn't working at the time, so I have not been able to verify this code runs properly.
…(CarlaActor.setPosition and SetTransformAction)
…ving model centerOnSurface to derive surface orientation from element at contact point
@lola831 lola831 requested a review from Eric-Vin February 25, 2026 17:47
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

Successfully merging this pull request may close these issues.

3 participants