Skip to content

Commit

Permalink
Fixed description
Browse files Browse the repository at this point in the history
  • Loading branch information
sasjonge committed Dec 15, 2020
1 parent e095090 commit 84d991a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/knowrob/ros/tf/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TFMemory
bool has_transform(const std::string &frame) const;

/**
* True if a transform with given frame was added before.
* Clears cached transforms
*/
bool clear();

Expand Down
1 change: 1 addition & 0 deletions src/ros/tf/tf_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ PREDICATE(tf_logger_enable, 0) {
delete tf_logger;
}

// Clear the tf memory to remove cached transforms
memory.clear();

tf_logger = new TFLogger(node,memory);
Expand Down

0 comments on commit 84d991a

Please sign in to comment.