Added Gui (unfinished)
config into dataclass and enums new Gui that includes settings deleted GlobalVariables small fixes (import, names...)
This commit is contained in:
@@ -6,7 +6,7 @@ from typing import TYPE_CHECKING, Optional
|
||||
import math
|
||||
import numpy as np
|
||||
|
||||
import config as cfg
|
||||
from config import cfg
|
||||
import DataTypes as dt
|
||||
from states.State import State
|
||||
|
||||
@@ -24,8 +24,8 @@ class WalkingState(State):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
duration: float = cfg.standard_duration,
|
||||
tickpersec: float = cfg.standard_tickpersec,
|
||||
duration: float = cfg.step_duration,
|
||||
tickpersec: float = cfg.tick_rate_hz,
|
||||
):
|
||||
self.duration = duration
|
||||
self.tickpersec = tickpersec
|
||||
@@ -151,8 +151,8 @@ class WalkingFourState(State):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
duration: float = cfg.standard_duration,
|
||||
tickpersec: float = cfg.standard_tickpersec,
|
||||
duration: float = cfg.step_duration,
|
||||
tickpersec: float = cfg.tick_rate_hz,
|
||||
):
|
||||
self.duration = duration
|
||||
self.tickpersec = tickpersec
|
||||
|
||||
Reference in New Issue
Block a user