mirror of
https://github.com/PotentiaRobotics/engine-software.git
synced 2025-04-16 02:00:16 -04:00
Minor tweaks to standingBalance.py
This commit is contained in:
parent
856b18c6f0
commit
43b4d9dddc
|
@ -14,7 +14,7 @@ def derivative(error, priorError):
|
||||||
|
|
||||||
def actuatorMovement(robot, pidOutput):
|
def actuatorMovement(robot, pidOutput):
|
||||||
#Inverse Kinematic Equation
|
#Inverse Kinematic Equation
|
||||||
continue
|
return
|
||||||
|
|
||||||
def controllerPID(robot, error, priorError, priorIntegral):
|
def controllerPID(robot, error, priorError, priorIntegral):
|
||||||
# Constant values we change to try to optimize
|
# Constant values we change to try to optimize
|
||||||
|
@ -56,8 +56,9 @@ def calculateZMP(gyro, accel):
|
||||||
|
|
||||||
return xObs, yObs
|
return xObs, yObs
|
||||||
|
|
||||||
|
# Might have to actually code this later
|
||||||
def calculateCOM(robot):
|
def calculateCOM(robot):
|
||||||
continue
|
return
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print("Initializing Olympiad...")
|
print("Initializing Olympiad...")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user