Skip to content

Conversation

@Ruthie-FRC
Copy link
Member

I made FiringSolutionSolver.java.

@mstatistics
Copy link
Member

Are you ready for review?

@Ruthie-FRC
Copy link
Member Author

ok I'm ready I think

@Ruthie-FRC Ruthie-FRC marked this pull request as draft November 5, 2025 01:43
Copy link
Member

@mstatistics mstatistics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left comments for general practice things. However, we talked about using real world data and finding the best fit. We said that it is impossible to characterize the trajectory with high school physics equations. I might be missing something, but I don't see that here. It looks like you are still attempting to do perfect world math. I would be more ok with it if we could verifiably measure every value. How do we find the Drag coefficient for example? how do we know that it is wrong?

// ----------------------
// Tunable physical constants (dashboard-adjustable)
// ----------------------
private static final LoggedTunableNumber kDragCoefficient =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add units to these?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add it to the logging path? FiringSolver/VelocityTolerancemps for example

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you please elaborate on that a bit more?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mstatistics when u have time ofc

@Ruthie-FRC
Copy link
Member Author

uh so your suggested code broke the build....

@mstatistics
Copy link
Member

mstatistics commented Nov 5, 2025

Yah I just saw that. Turns out that is python syntax my apologies. Use what you had before

@Ruthie-FRC
Copy link
Member Author

also as for how it is real life not physics, my python code is almost done...

@Ruthie-FRC
Copy link
Member Author

I left comments for general practice things. However, we talked about using real world data and finding the best fit. We said that it is impossible to characterize the trajectory with high school physics equations. I might be missing something, but I don't see that here. It looks like you are still attempting to do perfect world math. I would be more ok with it if we could verifiably measure every value. How do we find the Drag coefficient for example? how do we know that it is wrong?

Is it ok if i explain tomorrow when my python is finished? also, i mean this nicely, we cant make it data driven until we have data, and specifically, our data. these equations, which are mostly from a classical mechanics course textbook i read, are tuned and made data driven from data collected. we log what they do and if they work then my python tells me how to tweak it based off real data. just like you have to plug in a number to see how off you are, same thing here. the equations can and will be modified, but first they have to exist and be tested to see how to modify them.

@Ruthie-FRC
Copy link
Member Author

finished changes

@Ruthie-FRC
Copy link
Member Author

@mstatistics

@Ruthie-FRC
Copy link
Member Author

just an fyi I rebased my fork to sync to main so that's why all my commits look like I just made them

Copy link
Member

@mstatistics mstatistics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the minor stylistic issues where fixed, nice!

However, this code still has the flaw that it assumes a perfect environment. Can you implement the 'find best solution of known working combinations' that we talked about on slack and that other teams used? This is not the sort of problem where we should try to calculate air resistance ourselves, for example.

@Ruthie-FRC
Copy link
Member Author

Ruthie-FRC commented Nov 9, 2025

However, this code still has the flaw that it assumes a perfect environment. Can you implement the 'find best solution of known working combinations' that we talked about on slack and that other teams used?

@mstatistics can u elaborate a bit more on what you mean by this?

Ruthie-FRC and others added 4 commits November 16, 2025 00:02
…on, remove redundancy

Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
…y, production tested

Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Copilot AI and others added 8 commits November 16, 2025 02:10
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
Co-authored-by: Ruthie-FRC <238046543+Ruthie-FRC@users.noreply.github.com>
…-folder

Consolidate bayesopt tuner files into organized root folder structure
@Ruthie-FRC
Copy link
Member Author

oh yeah uhh @mstatistics heres all the bayesopt stuff! (ignore the copilot i forgot folders existed and then was too lazy to do it myself)

@Ruthie-FRC
Copy link
Member Author

ok maybe i also added the bayesopt

@Ruthie-FRC
Copy link
Member Author

apoloiges for any major issues with this, as i am sure that they exist

Clarify instructions for enabling the tuner.
Removed sleep command before echo message.
fixed formatting and issues with non ascii characters
@Ruthie-FRC
Copy link
Member Author

@mstatistics I'm closing this pull request. later on, I will make a seprate one with just the firingsolutions.java file.

@Ruthie-FRC Ruthie-FRC closed this Dec 5, 2025
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.

2 participants