mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
c48b722dac
commit
1e7604f81c
@@ -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;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
namespace cameracalibration {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
#include "tagpose.hpp"
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
class Fieldmap {
|
||||
public:
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/Geometry>
|
||||
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
namespace tag {
|
||||
|
||||
Reference in New Issue
Block a user