Add Mechanism2d visualization and telemetry to shooter subsystems#2
Add Mechanism2d visualization and telemetry to shooter subsystems#2Claude wants to merge 15 commits into
Conversation
Co-authored-by: AdaTomruk <51528200+AdaTomruk@users.noreply.github.com>
|
it fails to build: [{ |
Co-authored-by: AdaTomruk <51528200+AdaTomruk@users.noreply.github.com>
Co-authored-by: AdaTomruk <51528200+AdaTomruk@users.noreply.github.com>
Co-authored-by: AdaTomruk <51528200+AdaTomruk@users.noreply.github.com>
Co-authored-by: AdaTomruk <51528200+AdaTomruk@users.noreply.github.com>
- Updated pivot angle setpoints in Constants.java to reflect new hardware configurations. - Removed PivotSubsystem and VariableHoodSubsystem as they are no longer needed. - Integrated IntakeArmSubsystem to manage the intake arm's position with trapezoidal motion profiling. - Adjusted FlywheelSubsystem to use a follower configuration for the right motor. - Simplified the IntakeSubsystem by removing visualization code and updating motor configuration. - Enhanced RobotContainer to remove pivot bindings and streamline shooter controls.
… simulation support - Updated Constants.java to include new HoodConstants and reorganized existing constants for clarity. - Modified RobotContainer.java to integrate new IntakeArmSubsystem and HoodSubsystem, enhancing control over the intake and hood mechanisms. - Added simulation capabilities to IntakeArmSubsystem and HoodSubsystem, allowing for better testing and tuning in a simulated environment. - Cleaned up unused imports and improved code readability across various files. - Adjusted CAN bus configuration in TunerConstants.java for consistency with hardware setup.
…bsystem for better angle management
- Introduced FeederSubsystem to control the funnel motor for game piece handling. - Updated RobotContainer to include FeederSubsystem and configure joystick bindings for feeder control. - Implemented AutoAimAndShootCommand to automate shooting process, integrating feeder operation based on turret, hood, and flywheel readiness. - Enhanced TurretSubsystem to provide robot pose for accurate targeting. - Added ShootingCalculator for dynamic shooting parameters based on robot state and target position. - Created documentation for new subsystems and commands. - Addressed deprecated API usage in existing subsystems and ensured proper configuration for new components.
…nt AutoAimTurretCommand for simplified turret aiming
…s and updating motor configuration methods
Adds comprehensive Mechanism2d visualizations and SmartDashboard telemetry to FlywheelSubsystem and VariableHoodSubsystem, following the pattern established by TurretSubsystem.
FlywheelSubsystem
Mechanism2d (4x3 canvas):
Telemetry:
VariableHoodSubsystem
Mechanism2d (3x3 canvas):
Telemetry:
All telemetry organized under
Flywheel/andHood/namespaces. Visualization and metrics update at 50Hz in periodic().Original prompt