webots icon indicating copy to clipboard operation
webots copied to clipboard

Accelerometer not reproducible

Open ShuffleWire opened this issue 1 year ago • 0 comments

Describe the Bug After a reset accelerometer value could significantly diverge.

Steps to Reproduce

  1. Open sample "accelerometer"
  2. Add a print an the accelerometer value
  3. Run a few step, reset, run again
  4. See that values different from one run to another However, resetting after a fixed number of step (says 3) give the same values after each reset.

It lead me to think that the reset function somewhat don't reset the previous value of the speed used to estimate the acceleration

Expected behavior Resetting should give same result.

System

  • Operating System: Debian 12
  • Webots 2023b

ShuffleWire avatar Mar 06 '24 16:03 ShuffleWire