srobo / competition-simulator

A simulator for Student Robotics Virtual Competitions
https://studentrobotics.org/docs/simulator/
MIT License
8 stars 2 forks source link

Webots animations are broken (on Windows) #378

Open WillB97 opened 1 year ago

WillB97 commented 1 year ago

Webots animation files (such as captured from run-comp-match) now record the absolute path to their associated files so copying them from a temp directory causes them to not load correctly.

PeterJCLaw commented 1 year ago

Hrm, this seems non-ideal. A simple fix might be to find/replace the directory in the generated files. We should also report upstream that using the absolute path makes them non-portable.

WillB97 commented 1 year ago

This looks to not effect the MacOS version so may be a windows specific issue.

PeterJCLaw commented 1 year ago

Looking at a recent animation I've got on Ubuntu the issue doesn't seem present here either (the paths are all relative).

PeterJCLaw commented 10 months ago

Reported upstream as https://github.com/cyberbotics/webots/issues/6426.