-
Notifications
You must be signed in to change notification settings - Fork 497
State log won't play with gazebo 8.3 because of a model plugin #2427
Comments
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). I think all plugins are supposed to work during playback (as of now). I think one trick we did for the SRC was to playback the log while the plugins were not in the path, so they weren't loaded. So I'd expect the plugin to be loaded on 8.2 too. Is the |
Original comment by Deanna Hood (Bitbucket: d_hood). The I am running the gazebo invocations in the same terminal, so the plugin should be on the path either way (since there's not warning). It might be relevant that the model is being inserted in the log file. I just noticed this line in a PR merged in the last release cycle: https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/2608/process-insertions-and-deletions-on-gz-log/diff#Lgazebo/physics/World.ccF549 that makes me think that in the past, plugins were loaded for models (as you mentioned), but not for inserted models? |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). Ohh nice catch! Now inserted models are loaded through So my assumption was wrong, some plugins have not been loaded during playback until now. This was definitely an unintended change in behaviour. I know for a fact that GUI plugins are loaded, and I think @tfoote has been recently using a world/system plugin during log playback. I tried adding a plugin both to a model which starts in the world and one that is inserted, and I only get an error message for
We need a consistent behaviour between preexistent models and inserted ones. Let me try something out. In any case, it would be nice to document somewhere which plugins are loaded during playback. |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). See pull request #2884 for a patch |
Original comment by Tully Foote (Bitbucket: Tully Foote, GitHub: tfoote). I'm attempting to use a system plugin during playback here: ros-simulation/gazebo_ros_pkgs#674 |
Original comment by Deanna Hood (Bitbucket: d_hood). I put some prints in |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
|
Original report (archived issue) by Deanna Hood (Bitbucket: d_hood).
The original report had attachments: insertion_deletion.log, insertion_deletion_plugin.log
After upgrading to gazebo 8.3 I am having issues playing existing log files because of a particular model plugin. I think the plugin never used to load during log playback before, but with 8.3 it does.
This affects ARIAC logging with the ur10, but I've managed to reproduce an ARIAC-agnostic example.
Using the insertion_deletion.log added in https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/2608 (because it's a log file without encoding), if you make the following modification, it will play in gazebo 8.2 but it will not play in gazebo 8.3.
I think that model plugins used to be ignored in log playback, because if you change
libgazebo_ros_control.so
todummy.so
, nothing changes in gazebo 8.2, while gazebo 8.3 will complain that it can't find the plugin:I can appreciate that there are some plugins for which it makes sense for them to be loaded during playback (e.g. visual plugins), but it doesn't make sense for this particular plugin. Was this behaviour change intentional? If so would it be appropriate to add an option to disable plugin loading at playback?
The text was updated successfully, but these errors were encountered: