fixed walk startup toppling by removing startup animation
This commit is contained in:
+2
-8
@@ -521,19 +521,13 @@ class NaoTeleop:
|
||||
self.last_batt_check = now
|
||||
|
||||
def run(self):
|
||||
print("🤖 Waking up...")
|
||||
self.motion.wakeUp()
|
||||
|
||||
print("🚶 Going to StandInit...")
|
||||
self.posture.goToPosture("StandInit", 0.5)
|
||||
print("🤖 Enabling stiffness (no wakeUp stand-up)...")
|
||||
self.motion.setStiffnesses("Body", 1.0)
|
||||
|
||||
# Enable walk arms BEFORE forcing stiffness
|
||||
print("💪 Enabling walk arms...")
|
||||
self.motion.setMoveArmsEnabled(True, True)
|
||||
|
||||
# Give robot time to initialize motors
|
||||
time.sleep(1.0)
|
||||
|
||||
# Force relaxed stiffness AFTER engine is active
|
||||
self.motion.setStiffnesses(["RArm", "LArm"], 0.3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user