30 DTMapEntry(
int xk1,
int xk2,
int xk3,
int xk4,
int xk5,
int xv1,
int xv2,
int xv3,
int xv4,
int xv5,
int xv6);
45 DTMapEntry::DTMapEntry() : k1(0), k2(0), k3(0), k4(0), k5(0), v1(0), v2(0), v3(0), v4(0), v5(0), v6(0) {}
47 DTMapEntry::DTMapEntry(
int xk1,
int xk2,
int xk3,
int xk4,
int xk5,
int xv1,
int xv2,
int xv3,
int xv4,
int xv5,
int xv6)
48 : k1(xk1), k2(xk2), k3(xk3), k4(xk4), k5(xk5), v1(xv1), v2(xv2), v3(xv3), v4(xv4), v5(xv5), v6(xv6) {}
66 std::vector<DTMapEntry> entryList;
67 while (
file >> k1 >> k2 >> k3 >> k4 >> k5 >> v1 >> v2 >> v3 >> v4 >> v5 >> v6) {
74 DTMapEntry currentEntry(k1, k2, k3, k4, k5, v1, v2, v3, v4, v5, v6);
75 entryList.push_back(currentEntry);
97 std::vector<DTMapEntry>::const_iterator iter = entryList.begin();
98 std::vector<DTMapEntry>::const_iterator iend = entryList.end();
99 std::vector<DTMapEntry>::const_iterator iros = entryList.end();
100 std::vector<DTMapEntry>::const_iterator irob = entryList.end();
101 while (iter != iend) {
103 if (rosEntry.
k1 > 0x3fffffff)
113 iros = entryList.begin();
114 while (iros != iend) {
118 if ((rchEntry.
k1 != mt1) || (rchEntry.
k2 != mi1))
121 if (rchEntry.
v1 !=
def)
124 if (rchEntry.
v3 !=
def)
129 irob = entryList.begin();
130 while (irob != iend) {
132 if ((robEntry.
k1 !=
mt2) || (robEntry.
k2 != mi2))
134 if (robEntry.
k3 != rob) {
135 std::cout <<
"ROB mismatch " << rob <<
" " << robEntry.
k3 << std::endl;
142 std::cout << ddu <<
" " << ros <<
" " << rch <<
" " << tdc <<
" " << tch <<
" " << wha <<
" " << sta <<
" " 143 << sea <<
" " << qua <<
" " << lay <<
" " << cel << std::endl;
int def(FILE *, FILE *, int)
static void expandSteering(std::ifstream &file)