Search results

  1. fukurou

    [MEDIA]

  2. fukurou

    ⚡ arduino PID formula

    PID = P + I + D err = setpoint-processValue P = K(err) reset = reset + k/tau_i*err I = reset //once err changes direction or zero reset =0 D = K/tau_i*(error-lastError); lastErr = err; K : gain : this is twicked K/tau_i : can also be twicled for optimal performance tau_i : second per repeat...
  3. fukurou

    👨‍💻 dev active task

    translate to python : Cerabellum : public class Cerabellum { // runs an algorithm private int fin; private int at; private enumFail failType; private Boolean incrementAt = false; public void advanceInAlg() { if (incrementAt) { incrementAt = false...
  4. fukurou

    🐍 python Chii's python suit

    RegexUtil and ZeroTimeGate ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def...
  5. fukurou

    [MEDIA]

  6. fukurou

    zerotimegate add explicit vars

    :skn::skn::skn::skn::skn::skn:
  7. fukurou

    zerotimegate add explicit vars

    ''' --------------- ZEROTIMEGATE --------------- ''' import time import datetime from datetime import timedelta ''' ZEROTIMEGATE CLASS ''' class ZeroTimeGate: # a gate that only opens x minutes after it has been set def __init__(self, minutes) -> None: self.pause = 1...
  8. fukurou

    oh this ?

    public void open(int minutes) { Date now = new Date(); openedGate = addMinutesToJavaUtilDate(now, minutes); } in java it is an inferred this actually so the program reads it as public void open(int minutes) { Date now = new Date(); this.openedGate =...
  9. fukurou

    current state regexutil

    ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x...
  10. fukurou

    numberRegex fixed

    def numberRegex(self, str2Check: str) -> str: theRegex = r"[-+]?[0-9]*[.,][0-9]*" list1: list[str] = [] regexMatcher = re.search(theRegex, str2Check) if (regexMatcher != None): return regexMatcher.group(0).strip() return ""
  11. fukurou

    addressing issues

    ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x...
  12. fukurou

    addressing issues

    continue work from this code as many errors were modified : use explicit variables see line 226 numberRegex("hello-789.998world")) # err : doesn't return decimal value (should be -789.998) print("The regexChecker2 method should return ?: ", regex.regexChecker2(r"[-+]?[0-9]{1,13}"...
  13. fukurou

    [MEDIA]

  14. fukurou

    test

  15. fukurou

    RegexUtil pointRegex example

    import re from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x += x self.y += y def __repr__(self): return "".join(["Point(", str(self.x), ",", str(self.y)...
  16. fukurou

    nintendo switch games

  17. fukurou

    nintendo switch games

  18. fukurou

    uma musume app

    :shrug:
  19. fukurou

    hmm

Top