mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
This new feature allows users to combine multiple Apriltag layouts. This can be useful for fields where the apriltags are split into two or more sections: (red/blue side, grouped together by task, etc.)
18 lines
547 B
C++
18 lines
547 B
C++
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <wpi/json.h>
|
|
|
|
#include "cameracalibration.h"
|
|
|
|
namespace fieldcalibration {
|
|
int calibrate(std::string input_dir_path, wpi::json& output_json,
|
|
std::string camera_model_path, std::string ideal_map_path,
|
|
int pinned_tag_id, bool show_debug_window);
|
|
} // namespace fieldcalibration
|