File tree Expand file tree Collapse file tree 6 files changed +5
-16
lines changed
main/native/include/choreo Expand file tree Collapse file tree 6 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 11import json
22
3- from choreo .spec_version import SPEC_VERSION
43from choreo .trajectory import (
54 DifferentialSample ,
65 DifferentialTrajectory ,
109 load_event_marker ,
1110)
1211
12+ SPEC_VERSION = "v2025.0.0"
13+
1314
1415def load_differential_trajectory_string (
1516 trajectory_json_string : str ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44import math
55import os
66
7- from choreo .spec_version import SPEC_VERSION
87from choreo .util import DEFAULT_YEAR , get_flipper_for_year
98from wpimath .geometry import Pose2d , Rotation2d
109from wpimath .kinematics import ChassisSpeeds
@@ -131,6 +130,7 @@ def get_chassis_speeds(self) -> ChassisSpeeds:
131130 """
132131 Returns the field-relative chassis speeds of this state.
133132 """
133+ from choreo import SPEC_VERSION
134134 from wpilib import getDeployDirectory
135135
136136 # Get only .chor file in deploy directory
Original file line number Diff line number Diff line change 1717#include < wpi/MemoryBuffer.h>
1818#include < wpi/json.h>
1919
20- #include " choreo/SpecVersion.h"
2120#include " choreo/trajectory/ProjectFile.h"
2221#include " choreo/trajectory/Trajectory.h"
2322#include " choreo/trajectory/TrajectorySample.h"
2423#include " choreo/util/AllianceFlipperUtil.h"
2524
2625namespace choreo {
2726
27+ inline constexpr std::string_view kSpecVersion = " v2025.0.0" ;
28+
2829template <TrajectorySample SampleType, int Year>
2930class AutoFactory ;
3031
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33#include < gtest/gtest.h>
44
55#include " choreo/Choreo.h"
6- #include " choreo/SpecVersion.h"
76
87int main (int argc, char ** argv) {
98 ::testing::InitGoogleTest (&argc, argv);
You can’t perform that action at this time.
0 commit comments