We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66654b commit 594349dCopy full SHA for 594349d
wpical/src/main/native/cpp/WPIcal.cpp
@@ -395,7 +395,8 @@ void CombineCalibrations() {
395
auto text = fmt::format("Tag ID {}: {}", tagId, filePath);
396
ImGui::TextUnformatted(text.c_str());
397
} else {
398
- ImGui::Text("Tag ID %i: <none (DROP HERE)>", tagId);
+ ImGui::Text("Tag ID %i: <none, using ideal field layout (DROP HERE)>",
399
+ tagId);
400
}
401
if (ImGui::BeginDragDropTarget()) {
402
if (const ImGuiPayload* payload =
@@ -444,6 +445,9 @@ void CombineCalibrations() {
444
445
frc::AprilTag tag{tagId, tagPose.value()};
446
tags.emplace_back(tag);
447
448
+ } else {
449
+ frc::AprilTag tag{tagId, gIdealFieldLayout.GetTagPose(tagId).value()};
450
+ tags.emplace_back(tag);
451
452
453
saveDirSelector =
0 commit comments