Stage::reset() should reset total_compute_time_ (#310)

This commit is contained in:
Robert Haschke 2021-11-25 17:47:00 +01:00 committed by GitHub
parent ed459702bd
commit b4a9e2033d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,6 +316,7 @@ void Stage::reset() {
impl->next_starts_.reset();
// reset inherited properties
impl->properties_.reset();
impl->total_compute_time_ = std::chrono::duration<double>::zero();
}
void Stage::init(const moveit::core::RobotModelConstPtr& /* robot_model */) {