webots icon indicating copy to clipboard operation
webots copied to clipboard

Initial location robot changed to 0,0 after reset

Open knmcguire opened this issue 1 year ago • 0 comments

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

knmcguire avatar Jan 03 '24 13:01 knmcguire