fctom1215
2020-03-08 25bdbfbf6f4c9f1530be74fc194ad1dd0a13e8c9
lib/src/main/cpp/master/comm_if.cpp
@@ -564,6 +564,8 @@
                int bodyNum = 0;
                int *body = NULL;
                int pointNum = 0;
                double antPitch = 0;
                double (*point)[2] = NULL;
                if (doc.HasMember("main_ant")) {
@@ -656,8 +658,13 @@
                    }
                }
                if (doc.HasMember("ant_pitch")) {
                    const Value& s = doc["ant_pitch"];
                    antPitch = s.GetDouble();
                }
                SetCarMeasurePoint(basePoint, axial, left_front_tire, right_front_tire,
                        left_rear_tire, right_rear_tire, body, bodyNum, point, pointNum);
                        left_rear_tire, right_rear_tire, body, bodyNum, point, pointNum, antPitch);
                if (body != NULL) delete []body;
                if (point != NULL) delete []point;