Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.29 KB

README.md

File metadata and controls

54 lines (40 loc) · 2.29 KB

Robot Simulation Example

A barebones robot simulation example that utilizes:

  • CTRE swerve & simuation
  • WPILib arm and flywheel physics simulation
  • PhotonVision simulation
  • AdvantageScope

Note that this is meant to be used as reference, not as a base template for your robot.

simviz.mov

Key Elements

Additional Resources

Controls

  • Left stick X/Y: Swerve translate
  • Right stick X: Swerve rotate
  • Right bumper: Deploy intake when held

Setup

With just WPILib simulation GUI

  • Ensure the Arm Viz and Sim Field are displayed

WPILib simgui

With AdvantageScope

  • In AdvantageScope, click File > Import Layout and select advantagescope_layout.json.
  • Connect to the local simulator File > Connect to Simulator

AdvantageScope viz

PhotonVision

PhotonVision viz