Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
note visulizer stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherexStudios committed Nov 29, 2024
1 parent 7619fc2 commit f6ea018
Show file tree
Hide file tree
Showing 266 changed files with 4,492 additions and 4,165 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified .gradle/8.5/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.5/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.5/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.5/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.5/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.5/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ public class GyroIOInputsAutoLogged extends GyroIO.GyroIOInputs implements Logga
public void toLog(LogTable table) {
table.put("Yaw", yaw);
table.put("IsConnected", isConnected);
table.put("YawRadSec", yawRadSec);
}

@Override
public void fromLog(LogTable table) {
yaw = table.get("Yaw", yaw);
isConnected = table.get("IsConnected", isConnected);
yawRadSec = table.get("YawRadSec", yawRadSec);
}

public GyroIOInputsAutoLogged clone() {
GyroIOInputsAutoLogged copy = new GyroIOInputsAutoLogged();
copy.yaw = this.yaw;
copy.isConnected = this.isConnected;
copy.yawRadSec = this.yawRadSec;
return copy;
}
}
Binary file modified bin/main/frc/robot/Constants$Auton.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$DrivetrainConstants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$FieldConstants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$IntakeConstants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$Mode.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$OperatorConstants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants$VisionConstants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/Constants.class
Binary file not shown.
Binary file modified bin/main/frc/robot/RobotContainer$1.class
Binary file not shown.
Binary file modified bin/main/frc/robot/RobotContainer$2.class
Binary file not shown.
Binary file modified bin/main/frc/robot/RobotContainer$3.class
Binary file not shown.
Binary file modified bin/main/frc/robot/RobotContainer$4.class
Binary file not shown.
Binary file modified bin/main/frc/robot/RobotContainer.class
Binary file not shown.
Binary file removed bin/main/frc/robot/commands/AutoCommand$1.class
Binary file not shown.
Binary file modified bin/main/frc/robot/commands/AutoRunner.class
Binary file not shown.
Binary file modified bin/main/frc/robot/commands/Autos.class
Binary file not shown.
Binary file modified bin/main/frc/robot/commands/autoAligment/DriveToPose.class
Binary file not shown.
Binary file modified bin/main/frc/robot/commands/compositions/ShootNoteTele.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/main/frc/robot/subsystems/Flywheel.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/main/frc/robot/subsystems/drivetrain/swerve/GyroIO.class
Binary file not shown.
Binary file modified bin/main/frc/robot/subsystems/drivetrain/swerve/GyroIONavX.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/main/frc/robot/subsystems/poseLimelight/PoseLimelight.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Constants$Auton.class
Binary file not shown.
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Constants$FieldConstants.class
Binary file not shown.
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Constants$Mode.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Constants.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Robot$1.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/Robot.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer$1.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer$2.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer$3.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer$4.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer$5.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/RobotContainer.class
Binary file not shown.
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/commands/AutoRunner.class
Binary file not shown.
Binary file modified build/classes/java/main/frc/robot/commands/Autos.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package frc.robot.subsystems.climber;

import java.lang.Cloneable;
import java.lang.Override;
import org.littletonrobotics.junction.LogTable;
import org.littletonrobotics.junction.inputs.LoggableInputs;

public class ClimberIOInputsAutoLogged extends ClimberIO.ClimberIOInputs implements LoggableInputs, Cloneable {
@Override
public void toLog(LogTable table) {
table.put("ClimberHeightMeters", climberHeightMeters);
table.put("VoltageOut", voltageOut);
table.put("ReachedSetpoint", reachedSetpoint);
table.put("GoalPositionMeters", goalPositionMeters);
}

@Override
public void fromLog(LogTable table) {
climberHeightMeters = table.get("ClimberHeightMeters", climberHeightMeters);
voltageOut = table.get("VoltageOut", voltageOut);
reachedSetpoint = table.get("ReachedSetpoint", reachedSetpoint);
goalPositionMeters = table.get("GoalPositionMeters", goalPositionMeters);
}

public ClimberIOInputsAutoLogged clone() {
ClimberIOInputsAutoLogged copy = new ClimberIOInputsAutoLogged();
copy.climberHeightMeters = this.climberHeightMeters;
copy.voltageOut = this.voltageOut;
copy.reachedSetpoint = this.reachedSetpoint;
copy.goalPositionMeters = this.goalPositionMeters;
return copy;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ public class GyroIOInputsAutoLogged extends GyroIO.GyroIOInputs implements Logga
public void toLog(LogTable table) {
table.put("Yaw", yaw);
table.put("IsConnected", isConnected);
table.put("YawRadSec", yawRadSec);
}

@Override
public void fromLog(LogTable table) {
yaw = table.get("Yaw", yaw);
isConnected = table.get("IsConnected", isConnected);
yawRadSec = table.get("YawRadSec", yawRadSec);
}

public GyroIOInputsAutoLogged clone() {
GyroIOInputsAutoLogged copy = new GyroIOInputsAutoLogged();
copy.yaw = this.yaw;
copy.isConnected = this.isConnected;
copy.yawRadSec = this.yawRadSec;
return copy;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package frc.robot.subsystems.poseLimelight;

import java.lang.Cloneable;
import java.lang.Override;
import org.littletonrobotics.junction.LogTable;
import org.littletonrobotics.junction.inputs.LoggableInputs;

public class PoseLimelightIOInputsAutoLogged extends PoseLimelightIO.PoseLimelightIOInputs implements LoggableInputs, Cloneable {
@Override
public void toLog(LogTable table) {
table.put("EstimatedPose", estimatedPose);
table.put("TimestampSeconds", timestampSeconds);
table.put("HasValidTargets", hasValidTargets);
table.put("PrimaryTagId", primaryTagId);
table.put("Tx", tx);
table.put("Ty", ty);
}

@Override
public void fromLog(LogTable table) {
estimatedPose = table.get("EstimatedPose", estimatedPose);
timestampSeconds = table.get("TimestampSeconds", timestampSeconds);
hasValidTargets = table.get("HasValidTargets", hasValidTargets);
primaryTagId = table.get("PrimaryTagId", primaryTagId);
tx = table.get("Tx", tx);
ty = table.get("Ty", ty);
}

public PoseLimelightIOInputsAutoLogged clone() {
PoseLimelightIOInputsAutoLogged copy = new PoseLimelightIOInputsAutoLogged();
copy.estimatedPose = this.estimatedPose;
copy.timestampSeconds = this.timestampSeconds;
copy.hasValidTargets = this.hasValidTargets;
copy.primaryTagId = this.primaryTagId;
copy.tx = this.tx;
copy.ty = this.ty;
return copy;
}
}
Binary file modified build/libs/2024-Crescendo-Offseason.jar
Binary file not shown.
Binary file modified build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
Binary file modified ctre_sim/CANCoder vers. H - 010 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/CANCoder vers. H - 011 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/CANCoder vers. H - 08 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/CANCoder vers. H - 09 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 00 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 01 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 017 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 018 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 02 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 03 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 04 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 05 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 06 - 0 - ext.dat
Binary file not shown.
Binary file modified ctre_sim/Talon FX vers. C - 07 - 0 - ext.dat
Binary file not shown.
42 changes: 42 additions & 0 deletions hs_err_pid23413.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000012b4ddb70, pid=23413, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.8.1+1 (17.0.8.1+1) (build 17.0.8.1+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (17.0.8.1+1, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libhalsim_gui.dylib+0x1db70] std::__1::__function::__func<halsimgui::NetworkTablesSimGui::Initialize()::$_0, std::__1::allocator<halsimgui::NetworkTablesSimGui::Initialize()::$_0>, void ()>::operator()()+0x8
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- S U M M A R Y ------------

Command Line: -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:60125 -Djava.library.path=/Users/edan/FRC Repos/2024-Crescendo-Offseason/build/jni/release -XX:+ShowCodeDetailsInExceptionMessages frc.robot.Main

Host: "Mac14,2" arm64, 8 cores, 8G, Darwin 23.2.0, macOS 14.2.1 (23C71)
Time: Tue Nov 26 16:42:36 2024 EST elapsed time: 261.772333 seconds (0d 0h 4m 21s)

--------------- T H R E A D ---------------

Current thread (0x000000013d008c00): JavaThread "main" [_thread_in_native, id=259, stack(0x000000016c930000,0x000000016d12c000)]

Stack: [0x000000016c930000,0x000000016d12c000], sp=0x000000016d128890, free space=8162k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libhalsim_gui.dylib+0x1db70] std::__1::__function::__func<halsimgui::NetworkTablesSimGui::Initialize()::$_0, std::__1::allocator<halsimgui::NetworkTablesSimGui::Initialize()::$_0>, void ()>::operator()()+0x8
C [libhalsim_gui.dylib+0xa5edc] wpi::gui::PlatformRenderFrame()+0x254
C [libhalsim_gui.dylib+0x94f48] wpi::gui::Main()+0x170
C [libhalsim_gui.dylib+0x1d24c] HALSIM_InitExtension::$_3::__invoke(void*)+0xc
j edu.wpi.first.hal.HAL.runMain()V+0
j edu.wpi.first.wpilibj.RobotBase.startRobot(Ljava/util/function/Supplier;)V+82
j frc.robot.Main.main([Ljava/lang/String;)V+5
v ~StubRoutines::call_stub
V [libjvm.dylib+0x470fb0] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x38c
V [libjvm.dylib+0x4d62bc] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*)+0x12c
V [libjvm.dylib+0x4d98e8]
Binary file added logs/Log_1c3f4d566b203f37.wpilog
Binary file not shown.
Binary file added logs/Log_8cb42584101374e1.wpilog
Binary file not shown.
Binary file added logs/Log_ad3e6e2519f04243.wpilog
Binary file not shown.
Binary file added logs/Log_b0bb52cf7b085238.wpilog
Binary file not shown.
Binary file added logs/Log_ce45587ab116c155.wpilog
Binary file not shown.
7 changes: 6 additions & 1 deletion simgui-ds.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"Keyboard 3 Settings": {
"window": {
"visible": true
}
},
"keyboardJoysticks": [
{
"axisConfig": [
Expand Down Expand Up @@ -84,7 +89,7 @@
"povCount": 0
},
{
"axisCount": 0,
"axisCount": 1,
"buttonCount": 0,
"povCount": 0
}
Expand Down
9 changes: 7 additions & 2 deletions simgui-window.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"style": "0",
"userScale": "2",
"width": "1280",
"xpos": "110",
"ypos": "685"
"xpos": "103",
"ypos": "393"
}
},
"Window": {
Expand All @@ -25,6 +25,11 @@
"Pos": "250,465",
"Size": "796,73"
},
"###Keyboard 3 Settings": {
"Collapsed": "0",
"Pos": "940,50",
"Size": "300,560"
},
"###NetworkTables": {
"Collapsed": "0",
"Pos": "418,169",
Expand Down
78 changes: 36 additions & 42 deletions src/main/deploy/pathplanner/autos/1PAmp.auto
Original file line number Diff line number Diff line change
@@ -1,43 +1,37 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7050561319382253,
"y": 6.72
},
"rotation": -120.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "ShooterWindUp"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.7
}
},
{
"type": "named",
"data": {
"name": "ShootNoteAuto"
}
}
]
}
},
"folder": null,
"choreoAuto": false
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "ShooterWindUp"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.7
}
},
{
"type": "named",
"data": {
"name": "ShootNoteAuto"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
66 changes: 30 additions & 36 deletions src/main/deploy/pathplanner/autos/1PMid.auto
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.37,
"y": 5.52
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShooterWindUp"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "named",
"data": {
"name": "ShootNoteAuto"
}
}
]
}
},
"folder": null,
"choreoAuto": false
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShooterWindUp"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "named",
"data": {
"name": "ShootNoteAuto"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
Loading

0 comments on commit f6ea018

Please sign in to comment.