summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a623db0)
Let find entry poisitions to right parallel parking slot. Then, show
arcs that represent the path of frame's (i) right front point, (ii)
right front mirror point, (iii) right rear axle point, and (iv) right
rear point.
#include "pslot.hh"
#define SP 0.5
#include "pslot.hh"
#define SP 0.5
#define V v
#define INIT_V vector<M> V;
#define V v
#define INIT_V vector<M> V;
M(std::string fn) : fn(fn)
{
this->f.open(this->fn);
M(std::string fn) : fn(fn)
{
this->f.open(this->fn);
- this->c.sp(SP);
- this->c.set_max_steer();
this->o.ALL = false;
}
M(M const& m) : fn(m.fn), c(m.c), o(m.o)
this->o.ALL = false;
}
M(M const& m) : fn(m.fn), c(m.c), o(m.o)
string sn("slot");
gpl_slot(s, sn);
string sn("slot");
gpl_slot(s, sn);
+ s.fe(bcar::BicycleCar());
+
- P(LF_POINT)
- P(LFM_POINT)
+ P(RRA_POINT)
+ P(RR_POINT)
+ for (auto& m: V) {
+ m.c = s._entries.front().front();
+ m.c.sp(m.c.sp() * -1.0);
+ m.c.st(m.c.st() * -1.0);
+ }
for (unsigned int i = 0; i < STEPS; i++) {
for (auto& m: V) {
m.gpl();
for (unsigned int i = 0; i < STEPS; i++) {
for (auto& m: V) {
m.gpl();