AuroAi / carla_apollo_bridge

174 stars 53 forks source link

I've been using carlasim/carla:0.9.9 with a problem:"terminate called after throwing an instance of 'std::bad_weak_ptr'" #14

Open wangruoyi123456 opened 3 years ago

wangruoyi123456 commented 3 years ago

Run command "python examples/ego_with_bridge.py ". I got an error :"terminate called after throwing an instance of 'std::bad_weak_ptr' what(): bad_weak_ptr Aborted (core dumped)" How can i solve the problem.Thank you!

wangzhensuo commented 3 years ago

could you supply full operation step with more detail? I could run well in my pc ,maybe I could help you.

wangruoyi123456 commented 3 years ago

could you supply full operation step with more detail? I could run well in my pc ,maybe I could help you.

Start the carla-server docker container. Modify the ip in the /apollo/cyber/setup.bash source .bashrc then i run "python examples/ego_with_bridge.py" in the carla-apollo docker container. I got the error.

wangzhensuo commented 3 years ago

could you supply full operation step with more detail? I could run well in my pc ,maybe I could help you.

Start the carla-server docker container. Modify the ip in the /apollo/cyber/setup.bash source .bashrc then i run "python examples/ego_with_bridge.py" in the carla-apollo docker container. I got the error.

    # Set up the sensors.
    # disable collision sensor due to a bug: 
    # terminate called after throwing an instance of 'std::bad_weak_ptr'
    # may be related to: https://github.com/carla-simulator/carla/issues/1399
    # self.collision_sensor = CollisionSensor(self.player)

could you supply full operation step with more detail? I could run well in my pc ,maybe I could help you.

Start the carla-server docker container. Modify the ip in the /apollo/cyber/setup.bash source .bashrc then i run "python examples/ego_with_bridge.py" in the carla-apollo docker container. I got the error.

    # Set up the sensors.
    # disable collision sensor due to a bug: 
    # terminate called after throwing an instance of 'std::bad_weak_ptr'
    # may be related to: https://github.com/carla-simulator/carla/issues/1399
    # self.collision_sensor = CollisionSensor(self.player)
AngelJA commented 3 years ago

I also ran into this sometimes and was unable to pinpoint the problem. If you have any luck please report back!