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

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 this issue Nov 5, 2020 · 4 comments

Comments

@wangruoyi123456
Copy link

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
Copy link

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

@wangruoyi123456
Copy link
Author

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
Copy link

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
Copy link
Collaborator

AngelJA commented Nov 5, 2020

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

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