-
Notifications
You must be signed in to change notification settings - Fork 498
Assert in pull request #310 kills drcsim after 15 seconds #529
Comments
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). Question is: is this really an error catch by assertion? or the assertion should not be in this place at all? Are we proposing a workaround by relaxing the assertion? |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). It seems risky to make it an assertion to me, since it's related to timing of multiple threads. I think it should just be a warning message. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I've done some debugging with printf, and the sensor container that triggers the assert is the one containing the imu_sensor. I've printed out startTime, diffTime, sleepTime, and eventTime:
@nkoenig Does this seem like an atlas/drcsim problem or a gazebo problem? |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). Issue #535 was marked as a duplicate of this issue. |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig). Accidentally pushed a fix into default. Take a look at it here: https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/commits/0ddd1f60a8cd5411ba328f5c6265f4a2f9a3f98e (1f06de6) |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). Looks good. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
fixed in 1f06de6 |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Gazebo pull request #310 introduces some GZ_ASSERT's into the sensor manager. I approved it, but I should have tested it with drcsim, because gazebo is exiting after about 15 seconds of sim time when running
roslaunch atlas_utils atlas_drc_vehicle_firehose.launch
. We should probably change that to a gzerr or gzwarn for the time being.The text was updated successfully, but these errors were encountered: