-
Notifications
You must be signed in to change notification settings - Fork 187
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
[examples] Re-organize simaimandrange #937
Conversation
photonlib-java-examples/simaimandrange/src/main/java/frc/robot/Constants.java
Outdated
Show resolved
Hide resolved
photonlib-java-examples/simaimandrange/src/main/java/frc/robot/Robot.java
Show resolved
Hide resolved
photonlib-java-examples/simaimandrange/src/main/java/frc/robot/Constants.java
Outdated
Show resolved
Hide resolved
photonlib-java-examples/simaimandrange/src/main/java/frc/robot/Constants.java
Outdated
Show resolved
Hide resolved
new Translation3d(0, Units.inchesToMeters(19.625), Units.inchesToMeters(8.5)), | ||
new Translation3d(0, Units.inchesToMeters(-19.625), Units.inchesToMeters(8.5)))); | ||
|
||
// Simulated camera properties. These can be set to mimic your actual camera. |
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.
do all of these need to be set or can the user only set some of them? what are some good defaults for these values / how can the user find them
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.
These are set to a "perfect" 960x720 90 deg FOV camera without lag or noise by default. There are also static example fields for reference. It will be explained in the docs simulation page/example walkthrough.
Re-organizes simaimandrange example to make it cleaner to walkthrough.