Open shonigmann opened 2 years ago
Hi,
I use gazebo9, but I'm also faced this trouble. Did you solve this, or get any information?
for my purposes, I ended up writing a plugin that wrote data to a .csv file using the Gazebo Physics Link API
You can find it here, if it's helpful: https://github.com/shonigmann/gazebo_plugins/blob/main/src/gazebo_log_state.cpp
Thank you for replying. It seems helpful, I'll check it.
I'm trying to record logs of simulations to be able to automatically extract model dynamics for monte-carlo type simulations. The log utility seems perfect for this case, as it can be started with gzserver and run for a given number of iterations... however, I cannot for the life of me replicate the results demonstrated in the Gazebo Log Filtering and Logging Playback tutorials, which state and show that you can record pose, velocity, acceleration, and wrench data for links in the simulation. Inspecting the generated log files, I notice that only pose data is captured. Filtering explicitly for the other terms shows that they are 0 for each log update.
OS: Ubuntu 20.04 Gazebo version: 11.9.0
Steps to reproduce:
Expected output: non-zero velocity logged for each link
Actual output: