]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Reformat
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Tue, 11 Jun 2019 13:46:21 +0000 (15:46 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Tue, 11 Jun 2019 13:49:34 +0000 (15:49 +0200)
base/rrtbase.cc
decision_control/rrtplanner.cc

index 5768286c8f3c28c665980fdea2c623aed1727da2..d8299d2aaaef9e7d3e4fb83cec3e0674ff376fa0 100644 (file)
@@ -91,10 +91,10 @@ RRTBase::~RRTBase()
         delete this->goal_;
 }
 
-RRTBase::RRTBase():
-        root_(new RRTNode()),
-        goal_(new RRTNode()),
-        gen_(std::random_device{}())
+RRTBase::RRTBase()
+        : root_(new RRTNode())
+        , goal_(new RRTNode())
+        gen_(std::random_device{}())
 {
         this->nodes_.reserve(NOFNODES);
         this->nodes_.push_back(this->root_);
@@ -102,10 +102,10 @@ RRTBase::RRTBase():
         this->add_ixy(this->root_);
 }
 
-RRTBase::RRTBase(RRTNode *init, RRTNode *goal):
-        root_(init),
-        goal_(goal),
-        gen_(std::random_device{}())
+RRTBase::RRTBase(RRTNode *init, RRTNode *goal)
+        : root_(init)
+        , goal_(goal)
+        gen_(std::random_device{}())
 {
         this->nodes_.reserve(NOFNODES);
         this->nodes_.push_back(init);
index 49080d18a2dbe2ddbc5731814de2bb14a640f19a..a3c5f60461768e20b4db4cb00b7345cca1038566 100644 (file)
@@ -168,8 +168,8 @@ Karaman2011::Karaman2011()
         srand(static_cast<unsigned>(time(0)));
 }
 
-Karaman2011::Karaman2011(RRTNode *init, RRTNode *goal):
-        RRTBase(init, goal)
+Karaman2011::Karaman2011(RRTNode *init, RRTNode *goal)
+        RRTBase(init, goal)
 {
         srand(static_cast<unsigned>(time(0)));
 }