]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blobdiff - rrts/src/rrtext15.cc
Change naming and access convention
[hubacji1/iamcar2.git] / rrts / src / rrtext15.cc
index 813483c17c1b8200413d558704b6744a9037efe3..f2c54769b701ef8eaf9d2668bd612991c7fd1500 100644 (file)
@@ -30,10 +30,10 @@ RRTExt15::next()
 {
        bool c = RRTS::next();
        if (this->log_path_cost_.size() == 0) {
-               this->log_path_cost_.push_back(this->goal_.cc());
+               this->log_path_cost_.push_back(this->_goal.cc());
        } else {
                double lc = this->log_path_cost_.back();
-               double gc = this->goal_.cc();
+               double gc = this->_goal.cc();
                if (gc > 0.0 && (lc == 0.0 || gc < lc)) {
                        this->log_path_cost_.push_back(gc);
                } else {