Class NullAction

  • All Implemented Interfaces:
    com.acmerobotics.roadrunner.Action

    
    public final class NullAction
     implements Action
                        

    Null action that does nothing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      NullAction()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean run(TelemetryPacket p) Runs a single uninterruptible block.
      • Methods inherited from class com.acmerobotics.roadrunner.Action

        preview
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullAction

        NullAction()
    • Method Detail

      • run

         Boolean run(TelemetryPacket p)

        Runs a single uninterruptible block. Returns true if the action should run again and false if it has completed. A telemetry packet p is provided to record any information on the action's progress.