]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/commitdiff
Add RRT iteration counter getter
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Fri, 13 Sep 2019 11:54:14 +0000 (13:54 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Thu, 26 Sep 2019 11:04:19 +0000 (13:04 +0200)
api/rrts.h

index abd43bb5d571eedf2894154b34fa0925c2e5099a..8c344cb6dc9e43f63a85661e07097e4da0052159 100644 (file)
@@ -114,6 +114,7 @@ class RRTS {
                 );
 
                 // getters, setters
+                unsigned int icnt() const { return this->icnt_; }
                 std::vector<RRTNode> &goals() { return this->goals_; }
                 std::vector<RRTNode> &nodes() { return this->nodes_; }
                 std::vector<Obstacle> &obstacles() { return this->obstacles_; }