Class PathfinderThread

java.lang.Object
me.wobblyyyy.pathfinder.thread.PathfinderThread
All Implemented Interfaces:
java.lang.Runnable

public class PathfinderThread
extends java.lang.Object
implements java.lang.Runnable
Thread used in updating pathfinder values and controlling motors.
Since:
0.1.0
Author:
Colin Robertson
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.util.ArrayList<Odometry> odometryArrayList  
    private boolean shouldExecute  
  • Constructor Summary

    Constructors
    Constructor Description
    PathfinderThread​(java.util.ArrayList<Odometry> odometryArrayList)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    void run()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • shouldExecute

      private boolean shouldExecute
    • odometryArrayList

      private final java.util.ArrayList<Odometry> odometryArrayList
  • Constructor Details

    • PathfinderThread

      public PathfinderThread​(java.util.ArrayList<Odometry> odometryArrayList)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
    • close

      public void close()