2 * SPDX-FileCopyrightText: 2021 Jiri Vlasak <jiri.vlasak.2@cvut.cz>
4 * SPDX-License-Identifier: GPL-3.0-only
8 #include "reeds_shepp.h"
13 RRTExt6::cost_build(RRTNode const& f, RRTNode const& t) const
15 double q0[] = {f.x(), f.y(), f.h()};
16 double q1[] = {t.x(), t.y(), t.h()};
17 ReedsSheppStateSpace rsss(this->bc_.mtr());
18 return rsss.distance(q0, q1);
22 RRTExt6::cost_search(RRTNode const& f, RRTNode const& t) const
24 return this->cost_build(f, t);