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

Initial location robot changed to 0,0 after reset #6467

Closed
knmcguire opened this issue Jan 3, 2024 · 2 comments · Fixed by #6511
Closed

Initial location robot changed to 0,0 after reset #6467

knmcguire opened this issue Jan 3, 2024 · 2 comments · Fixed by #6511
Labels
bug Something isn't working

Comments

@knmcguire
Copy link
Contributor

knmcguire commented Jan 3, 2024

Describe the Bug
I noticed with the crazyflie_apartment example, that if I reset the simulation, the bot goes from it's initial location (-5, -2) in the .wbt, to (0,0). This way the bot is stuck in the wall.

Steps to Reproduce

  1. Start up the example world bitcraze/crazyflie_example
  2. Play the simulator for a few seconds (crazyflie takes off but that is not the problem)
  3. Reset the simulator with image
  4. The crazyflies moves away from view and to (0,0), and now stuck in the wall
  5. Reload the world with image to get it back in position

Expected behavior
I expect the bot to return to its initial location of (-5, -2) after the reset

System

  • Operating System: Ubuntu 22.04
  • Graphics Card: Nvidia Geforce 3060 Mobile
@omichel omichel added the bug Something isn't working label Jan 3, 2024
@ShuffleWire
Copy link
Contributor

In the Crazyfly Robot PROTO, on line 32, there is
translation 0 0 0.015
Which afaik is causing the issue, and should be removed.
I'm correct ?

@knmcguire
Copy link
Contributor Author

Yes absolutely you are correct. I'll remote that immediately from the proto now with an PR. Thanks!

knmcguire added a commit that referenced this issue Feb 23, 2024
@knmcguire knmcguire linked a pull request Feb 23, 2024 that will close this issue
knmcguire added a commit that referenced this issue Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

3 participants