SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 19:57:55 -05:00
committed by Peter Johnson
parent c48b722dac
commit 1e7604f81c
1218 changed files with 2709 additions and 3267 deletions

View File

@@ -2,11 +2,6 @@
// 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.
#include "cameracalibration.hpp"
#include "fieldcalibration.hpp"
#include "fieldmap.hpp"
#include "fmap.hpp"
#include <fstream>
#include <iostream>
#include <map>
@@ -18,11 +13,15 @@
#include <GLFW/glfw3.h>
#include <fmt/format.h>
#include <imgui.h>
#include "wpi/gui/portable-file-dialogs.h"
#include "wpi/util/json.hpp"
#include "wpi/gui/wpigui.hpp"
#include "cameracalibration.hpp"
#include "fieldcalibration.hpp"
#include "fieldmap.hpp"
#include "fmap.hpp"
#include "tagpose.hpp"
#include "wpi/gui/portable-file-dialogs.h"
#include "wpi/gui/wpigui.hpp"
#include "wpi/util/json.hpp"
namespace gui = wpi::gui;

View File

@@ -9,6 +9,7 @@
#include <vector>
#include <Eigen/Core>
#include "wpi/util/json.hpp"
namespace cameracalibration {

View File

@@ -6,9 +6,8 @@
#include <string>
#include "wpi/util/json.hpp"
#include "cameracalibration.hpp"
#include "wpi/util/json.hpp"
namespace fieldcalibration {
int calibrate(std::string input_dir_path, wpi::json& output_json,

View File

@@ -7,9 +7,8 @@
#include <cmath>
#include <map>
#include "wpi/util/json.hpp"
#include "tagpose.hpp"
#include "wpi/util/json.hpp"
class Fieldmap {
public:

View File

@@ -4,10 +4,9 @@
#pragma once
#include "wpi/util/json.hpp"
#include "fieldmap.hpp"
#include "tagpose.hpp"
#include "wpi/util/json.hpp"
namespace fmap {
wpi::json singleTag(int tag, const tag::Pose& tagpose);

View File

@@ -6,6 +6,7 @@
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "wpi/util/json.hpp"
namespace tag {