add_executable(test53 src/template.cc)
target_compile_definitions(test53 PRIVATE OSP=P38)
+
+add_executable(test54 src/template-with-reset.cc)
+target_compile_definitions(test54 PRIVATE OSP=P39)
std::cout << std::fixed;
std::cerr << std::fixed;
assert(jvi["slot"] != Json::nullValue);
+ rrts::Ter ip_time;
+ ip_time.start();
bcar::ParkingSlot s(
jvi["slot"][0][0].asDouble(), jvi["slot"][0][1].asDouble(),
jvi["slot"][1][0].asDouble(), jvi["slot"][1][1].asDouble(),
s.swap_side();
pr.reflect(s.entry());
}
+ std::cerr << ip_time.scnt() << std::endl;
// The following uses precomputed entries and needs `"fiat_punto.h"` to
// be included.
//auto pr = get_fiat_punto_entry(s.len(), s.w());
jvi["goal"][1] = pr.y();
jvi["goal"][2] = pr.b();
jvi["goal"][3] = pr.e();
+ jvi["goal_inside"][0] = ispath.back().x();
+ jvi["goal_inside"][1] = ispath.back().y();
+ jvi["goal_inside"][2] = ispath.back().h();
p.json(jvi);
unsigned int icnt = 0;
unsigned int rcnt = 0;