v1.0.0-rc.79
This commit is contained in:
@@ -447,9 +447,9 @@ namespace {
|
||||
r.k = GetCBORInt(map_value);
|
||||
else if (key == "l")
|
||||
r.l = GetCBORInt(map_value);
|
||||
else if (key == "center_x_pxl")
|
||||
else if (key == "x")
|
||||
r.predicted_x = GetCBORFloat(map_value);
|
||||
else if (key == "center_y_pxl")
|
||||
else if (key == "y")
|
||||
r.predicted_y = GetCBORFloat(map_value);
|
||||
else if (key == "d")
|
||||
r.d = GetCBORFloat(map_value);
|
||||
@@ -934,6 +934,8 @@ namespace {
|
||||
message.poni_rot2 = j["poni_rot2"];
|
||||
if (j.contains("poni_rot3"))
|
||||
message.poni_rot3 = j["poni_rot3"];
|
||||
if (j.contains("images_per_trigger"))
|
||||
message.images_per_trigger = j["images_per_trigger"];
|
||||
if (j.contains("indexing_algorithm")) {
|
||||
if (j["indexing_algorithm"] == "fft")
|
||||
message.indexing_algorithm = IndexingAlgorithmEnum::FFT;
|
||||
|
||||
Reference in New Issue
Block a user