-
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
WPILibBrain Mapping #1043
WPILibBrain Mapping #1043
Conversation
TODO: figure out how to integrate with external config like exporter and brain configs
- also default to PWM in RCCreateDeviceModal without needing to reselect for PWM
…wpilibbrain-mapping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It worked perfectly
fission/src/ui/modals/configuring/rio-config/RCConfigPWMGroupModal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Azalea Colburn <[email protected]>
…odal.tsx Co-authored-by: Azalea Colburn <[email protected]>
…wpilibbrain-mapping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It indeed works, looking forward to what the final product of this is going to look like.
Changes:
Testing:
0 0
, meaning port0
and speed0
0 0.5
0 0.25
Note
There is commented out PWM driving code in
WPILibBrain.ts
in thePWMGroup
classUpdate
method. You can uncomment it to make the robot actually move instead of just printing the speed to the console.Running the simulator
simulation
directory in the root of the synthesis project./gradlew build && ./gradlew publishToMavenLocal
simulation/samples/JavaSample
JavaSample
project in WPILib VSCodehttps://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2024-latest.json
https://software-metadata.revrobotics.com/REVLib-2024.json
./gradlew build && ./gradlew simulateJava
Note
See the SyntheSimJava README for documentation on the library.
JIRA Issue