-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Simulation: Configuration & Auto Testing #1111
Open
HunterBarclay
wants to merge
29
commits into
dev
Choose a base branch
from
barclah/sim-visual-2
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently isn't recreating edges correctly
Node placement is off and deconstruction is untested.
HunterBarclay
requested review from
a-crowell,
LucaHaverty,
BrandonPacewic and
Dhruv-0-Arora
and removed request for
a team
December 15, 2024 02:34
Chorus detected one or more security issues with this pull request. See the Checks tab for more details. As a reminder, please follow the secure code review process as part of the Secure Coding Non-Negotiable requirement. |
HunterBarclay
changed the title
[] Code Simulation: Configuration & Auto Testing
Code Simulation: Configuration & Auto Testing
Dec 15, 2024
HunterBarclay
force-pushed
the
barclah/sim-visual-2
branch
from
December 15, 2024 16:43
33415df
to
a901c4f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brain Configuration
Inside the config panel, you can now switch between the Synthesis Brain and the WPILib Brain. This changes the available options in the config panel, depending on the controlling brain. When WPILib Brain is in use, you can access simulation configuration to access the Wiring Panel and the Auto Tester.
Wiring Panel
The wiring panel can be used to make connections between the inputs and outputs of the simulation and the robot. Handles are labeled and colored according to the data type their represent. There is a very barebones language built into the wiring panel, but it needs to be extends to fully be taken advantage of in the future. The wiring panel changes are saved to the mirabuf assembly and the robot io module is auto generated based on the currently connected WPILib program. There are available tooltips and reset buttons to regenerate certain nodes.
Connection Overlay
When using WPILib brain, the connection status to the WPILib program will be show in the top-right corner.
Auto Tester
The auto tester is a panel that can be used to stage the robot, setup initial configuration for the driver station, run an autonomous routine for a set time, stop the simulation, and reset everything to repeat it.
Additional Bits and Bobs
0.5
will activate them.AARD-1864