Git Product home page Git Product logo

Comments (5)

PeterChang1 avatar PeterChang1 commented on July 21, 2024

Hi!

I followed this doc to build the ue5-dev branch on Ubuntu 22.04. Building and packaging works fine. I am also able to spawn a camera actor and read images in python. However, whenever I try to spawn a vehicle actor, the server terminates with a segmenation fault:

bpl = world.get_blueprint_library()
bps = [bp for bp in bpl.filter("vehicle.*") if int(bp.get_attribute("number_of_wheels")) == 4]
spawn_points = world.get_map().get_spawn_points()
actor = world.spawn_actor(bps[0], spawn_points[0]) # server terminates HERE

->

5.3.2-0+UE5 1009 0
Disabling core dumps.
Signal 11 caught.
Malloc Size=262146 LargeMemoryPoolOffset=262162
CommonUnixCrashHandler: Signal=11
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

With lldb:

* thread #1, name = 'CarlaUnreal-Lin', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0)
    frame #0: 0x0000000008e416d7 CarlaUnreal-Linux-Shipping`ACarlaWheeledVehicle::GetMaximumSteerAngle() const [inlined] FObjectPtr::operator!(this=0x0000000000000000) const at ObjectPtr.h:142:65

Is this supposed to be working right now?

Thanks!

I found that only vehicle.lincoln.mkz_2020 could be spawn successfully. Because other vehicles haven't add the wheel Setup. Spawn your vehicle filter by "vehicle.lincoln.mkz_2020".

from carla.

Blyron avatar Blyron commented on July 21, 2024

Hey if you get latest content by updating content repo, and you update code repo, you will be able to have 6 cars up and running

from carla.

dvdhfnr avatar dvdhfnr commented on July 21, 2024

Thanks. This works now.

from carla.

PeterChang1 avatar PeterChang1 commented on July 21, 2024

Hey if you get latest content by updating content repo, and you update code repo, you will be able to have 6 cars up and running

May I know which 6 cars can work? There are 41 Cars in Vehicle.*

from carla.

Blyron avatar Blyron commented on July 21, 2024

Look at vehicles factory blueprint
Or do a Python blueprint_list = get_actor_blueprints(self.world, vehicle.* , self._actor_generation) in latest changes or ue5-dev

from carla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.