-
Notifications
You must be signed in to change notification settings - Fork 0
Limelight2.0 #4
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
base: main
Are you sure you want to change the base?
Limelight2.0 #4
Conversation
|
|
||
| // Called when the command is initially scheduled. | ||
| @Override | ||
| public void initialize() {} |
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.
//add actions here that should be run once at the start of the Limelight follow sequence
//eg LEDs, pipelines, drivetrain...
|
|
||
| // Called every time the scheduler runs while the command is scheduled. | ||
| @Override | ||
| public void execute() {} |
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.
//run an action you want to run periodically here for as long as the command is active.
//make calls to the limelight subsystem to get info, do whatever math you want, and then send info to the drivetrain
|
|
||
| // Called once the command ends or is interrupted. | ||
| @Override | ||
| public void end(boolean interrupted) {} |
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.
//run any cleanup here. LEDs, pipelines, drivetrain?
new new new new new
new x 10 to the 2
new limelight area targeting
| public double getTV(){ | ||
| return table.getEntry("tv").getDouble(0.0); | ||
| } | ||
|
|
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.
Should we make tA publically accessible via a method?
| } | ||
|
|
||
|
|
||
| public void limelightCenter() { |
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.
remove method
suppossedly the robot tank should move closer to a target
TA TA TA TA TA
we do not need to use this. just to test a neo motor. commented out tank drive.
new new no need to use this edit. do not use w limelight
in theory should work
adds different ciode limelight targeting
- new number -center distance left negative
Big update in is finished - checks ta, tv, tx makes sure they are what they want tells end command
gotta go byeeeeeee
Still lots to do tho/
ONLY IN LIMELIGTHT>JAVE NOT FINISHED AT ALL
lol ur mom - targetpose - finite - boolean check thing
and yet it still doesnt work
No description provided.