webots
webots copied to clipboard
Allow creating an animation without controllers in the scene
Describe the Bug
If the world has no controllers and a user records an animation, although the process itself is allowed, nothing gets generated in the end since no robot steps are performed (although the simulation is run). Adding a robot with just a generic controller doesn't appear to do the trick either.
To an extent it kinda makes sense, since if there are no robot steps, making a scene might make more sense than an animation. However it still feels kinda odd that it's allowed and that nothing is generated at the end of the process. Moreover, although a scene might be more appropriate, I can still see the interest of creating an animation (to have a pre-recording of a environment for example), so perhaps a solution to allow it anyway could be found.
It seems that the criterion for an animation to be created is not related to the robot steps, but rather that something in the simulation changes. For instance, by adding physics to any of the objects results in the animation being created. In which case, just ameliorating the error message might be sufficient, right now it says:
Error: No animation content is available because the simulation did not start
Even though the simulation did start