mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-08 16:28:07 -06:00
erry exec
This commit is contained in:
@@ -74,6 +74,9 @@ public class TrackTarget extends CommandBase {
|
||||
// Called when the command is initially scheduled.
|
||||
@Override
|
||||
public void initialize() {
|
||||
m_visionOdometry.setDriverMode(false);
|
||||
m_visionOdometry.setLEDs(true);
|
||||
|
||||
timerStarted = false;
|
||||
startTime = 0;
|
||||
|
||||
@@ -85,9 +88,6 @@ public class TrackTarget extends CommandBase {
|
||||
@Override
|
||||
public void execute() {
|
||||
try {
|
||||
m_visionOdometry.setDriverMode(false);
|
||||
m_visionOdometry.setLEDs(true);
|
||||
|
||||
points = m_visionOdometry.getTargetPoints();
|
||||
// points = getFakePoints();
|
||||
//// points = filterPoints(points);
|
||||
|
||||
Reference in New Issue
Block a user