# File lib/commands/rotation_sensor.rb, line 35
  def logic
    @trigger_direction == :forward ? trigger = @trigger_point : trigger = -@trigger_point
    case @comparison
      when ">"
        degrees >= trigger ? true : false
      when "<"
        degrees <= trigger ? true : false
    end
  end