Skip to content

Commit

Permalink
Merge pull request #25 from CrossTheRoadElec/beta-5
Browse files Browse the repository at this point in the history
Updates for Phoenix6 beta-5
  • Loading branch information
CoryNessCTR authored Dec 16, 2023
2 parents 5942179 + 8c617ec commit c4247bd
Show file tree
Hide file tree
Showing 59 changed files with 670 additions and 669 deletions.
2 changes: 1 addition & 1 deletion cpp/BasicLatencyCompensation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-3"
id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-4"
}

// Define my targets (RoboRIO) and artifacts (deployable files)
Expand Down
4 changes: 2 additions & 2 deletions cpp/BasicLatencyCompensation/src/main/cpp/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ void Robot::RobotPeriodic() {
* angular velocity Z value comes from the pre-mount orientation gyroscope.
* For more information on what signals have what algorithms applied to them,
* see section 1.6 of the Pigeon 2's User's Guide
* https://store.ctr-electronics.com/content/user-manual/Pigeon2%20User's%20Guide.pdf
* https://store.ctr-electronics.com/content/user-manual/Pigeon2%20User's%20Guide.pdf
*/
auto p2Rate = m_p2.GetAngularVelocityZ().GetValue();
auto p2Rate = m_p2.GetAngularVelocityZWorld().GetValue();

/* Multiply the latency (in seconds) by the rates (in seconds) to get the amount to offset by */
/* This automatically uses the best timestamp, CANivore will perform better than RIO since its timestamp */
Expand Down
48 changes: 24 additions & 24 deletions cpp/BasicLatencyCompensation/vendordeps/Phoenix6.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"fileName": "Phoenix6.json",
"name": "CTRE-Phoenix (v6)",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"frcYear": 2024,
"uuid": "e995de00-2c64-4df5-8831-c1441420ff19",
"mavenUrls": [
Expand All @@ -19,14 +19,14 @@
{
"groupId": "com.ctre.phoenix6",
"artifactId": "wpiapi-java",
"version": "24.0.0-beta-4"
"version": "24.0.0-beta-5"
}
],
"jniDependencies": [
{
"groupId": "com.ctre.phoenix6",
"artifactId": "tools",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -39,7 +39,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "tools-sim",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -52,7 +52,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simTalonSRX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -65,7 +65,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simTalonFX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -78,7 +78,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simVictorSPX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -91,7 +91,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simPigeonIMU",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -104,7 +104,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simCANCoder",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -117,7 +117,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProTalonFX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -130,7 +130,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProCANcoder",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -143,7 +143,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProPigeon2",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
Expand All @@ -158,7 +158,7 @@
{
"groupId": "com.ctre.phoenix6",
"artifactId": "wpiapi-cpp",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_Phoenix6_WPI",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -173,7 +173,7 @@
{
"groupId": "com.ctre.phoenix6",
"artifactId": "tools",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_PhoenixTools",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -188,7 +188,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "wpiapi-cpp-sim",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_Phoenix6_WPISim",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -203,7 +203,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "tools-sim",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_PhoenixTools_Sim",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -218,7 +218,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simTalonSRX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimTalonSRX",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -233,7 +233,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simTalonFX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimTalonFX",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -248,7 +248,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simVictorSPX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimVictorSPX",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -263,7 +263,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simPigeonIMU",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimPigeonIMU",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -278,7 +278,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simCANCoder",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimCANCoder",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -293,7 +293,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProTalonFX",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimProTalonFX",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -308,7 +308,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProCANcoder",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimProCANcoder",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand All @@ -323,7 +323,7 @@
{
"groupId": "com.ctre.phoenix6.sim",
"artifactId": "simProPigeon2",
"version": "24.0.0-beta-4",
"version": "24.0.0-beta-5",
"libName": "CTRE_SimProPigeon2",
"headerClassifier": "headers",
"sharedLibrary": true,
Expand Down
2 changes: 1 addition & 1 deletion cpp/CANcoder/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-3"
id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-4"
}

// Define my targets (RoboRIO) and artifacts (deployable files)
Expand Down
Loading

0 comments on commit c4247bd

Please sign in to comment.