Skip to content

Conversation

@minhlpnguyen
Copy link
Contributor

image
not entirely working yet but can shoot algae into the net!

@minhlpnguyen minhlpnguyen linked an issue Feb 27, 2025 that may be closed by this pull request
@minhlpnguyen
Copy link
Contributor Author

can score
image

@minhlpnguyen
Copy link
Contributor Author

@aidnem I need to fix a few more constants but I was wondering if this format looked good to you (having ScoringMapleSim as a new file?)

@minhlpnguyen minhlpnguyen requested a review from aidnem February 27, 2025 00:53
@avidraccoon
Copy link
Contributor

Does it visualize the trajectory?

@minhlpnguyen
Copy link
Contributor Author

minhlpnguyen commented Feb 27, 2025 via email

@avidraccoon
Copy link
Contributor

avidraccoon commented Feb 27, 2025

noteOnFly
        // Configure callbacks to visualize the flight trajectory of the projectile
        .withProjectileTrajectoryDisplayCallBack(
        // Callback for when the note will eventually hit the target (if configured)
        (pose3ds) -> Logger.recordOutput("Flywheel/NoteProjectileSuccessfulShot", pose3ds.toArray(Pose3d[]::new)),
        // Callback for when the note will eventually miss the target, or if no target is configured
        (pose3ds) -> Logger.recordOutput("Flywheel/NoteProjectileUnsuccessfulShot", pose3ds.toArray(Pose3d[]::new))
        );

@avidraccoon
Copy link
Contributor

Will just need to change it from note to coral/algea

@avidraccoon
Copy link
Contributor

Does it wait for the scoring subsystem to be ready?

@minhlpnguyen
Copy link
Contributor Author

minhlpnguyen commented Feb 27, 2025 via email

@avidraccoon
Copy link
Contributor

avidraccoon commented Feb 27, 2025 via email

@minhlpnguyen
Copy link
Contributor Author

minhlpnguyen commented Feb 27, 2025 via email

@jkleiber
Copy link
Contributor

@aidnem @minhnguyenbhs we should put this in the tech binder btw

@minhlpnguyen
Copy link
Contributor Author

putting this on hold for a bit until after portsmith, since it won't be ready in time to help with autos until later + elevator setpoints and state are a little bit funky after merging with main, I'll deal with it later

@minhlpnguyen
Copy link
Contributor Author

@aidnem hi why would it do this
{6CE4762B-097D-4E36-8F42-ABD4859A346C}
{F674CBF5-D9D5-4ECF-903C-B389C0CDC1B6}

@minhlpnguyen
Copy link
Contributor Author

it's been really glitchy lately; keeps making advantage crash

@minhlpnguyen
Copy link
Contributor Author

Untitled
I got this image! I can't really see what the robot is doing since it sort of glitches out, with Glass temporarily disconnecting from AdvantageScope randomly (no matter if AdvantageScope is in cinematic, default, or low power mode), so all I can see is that coral pieces end up on the reef. Can someone run this on a better computer and see what it is actually doing? Thank you!

@minhlpnguyen
Copy link
Contributor Author

hi @linglejack06 !! were you able to run this on your computer, and what did it do?
(if you weren't, no rush, thanks sm for your help!)

@linglejack06
Copy link
Contributor

hi @linglejack06 !! were you able to run this on your computer, and what did it do? (if you weren't, no rush, thanks sm for your help!)

@minhnguyenbhs currently testing, i need to update my advantage scope and then ill provide updates

@linglejack06
Copy link
Contributor

@minhnguyenbhs how do i add the poses for elevator to move and coral to show up?

@minhlpnguyen
Copy link
Contributor Author

@linglejack06 wdym? like the 3d models?
to make the robot show up you drag the fieldsimulation/robot onto the screen and then drop componentpositions on top of it :D and then to make the coral/algae you drop the fieldsimulation/coral or whatever onto the screen as a new category underneath the robot and change the model to gamepiece

@linglejack06
Copy link
Contributor

linglejack06 commented Mar 21, 2025 via email

@linglejack06
Copy link
Contributor

im weirdly getting a lot of errors, im gonna try to reboot java and try again, maplesim isnt wanting to load the scoring subsystem (but ive ran it before and it was fine)

@avidraccoon
Copy link
Contributor

avidraccoon commented Mar 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maplesim intake

8 participants