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

Segfault with Waypoint.previous_until_lane_start method #8512

Open
353xiong opened this issue Dec 27, 2024 · 2 comments
Open

Segfault with Waypoint.previous_until_lane_start method #8512

353xiong opened this issue Dec 27, 2024 · 2 comments

Comments

@353xiong
Copy link

Can someone please fix this bug?
carla version: 0.9.15
townname: Town12

wp = carla.Location(3174.790283203125, 5010.1533203125, 367.61834716796875)
wp_info = world_map.get_waypoint(wp, project_to_road=True, lane_type=carla.libcarla.LaneType.Any)
bef_wps = wp_info.previous_until_lane_start(1)
Segmentation fault (core dumped)

@MarcelPiNacy-CVC
Copy link
Contributor

Hi,

this does not provide much information, could you also attach the full log from the server?

@PatrickPromitzer
Copy link

Hi
Town12 openDRIVE:
min_x = ~ -5228.0
max_x = ~ 4172.0

min_y = ~ -6533.0
max_y = ~ 1736.0

Your wp should be
Road: 1057
s: ~ 1.06
t: ~ 4.25

With the size of Town12, check how much RAM and GPU RAM is used.
If the RAM still has free space at the time of the "Segmentation fault", we need more information to look into it.

  • The whole code you are using
  • Windows/Ubuntu ?
  • Does the "Segmentation fault" happen if you use a Location on a road with s > 2.0
    Example: x=3167.0, y=5037.0, z=367.66

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

3 participants