From 998d108424ef0a59dd88d822efda1cbb90b12c01 Mon Sep 17 00:00:00 2001 From: Martino Russi Date: Thu, 27 Nov 2025 13:15:31 +0100 Subject: [PATCH] fix linter 5 --- examples/unitree_g1/gr00t_locomotion.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/unitree_g1/gr00t_locomotion.py b/examples/unitree_g1/gr00t_locomotion.py index 48889e4e9..833e12c82 100644 --- a/examples/unitree_g1/gr00t_locomotion.py +++ b/examples/unitree_g1/gr00t_locomotion.py @@ -218,7 +218,9 @@ class GrootLocomotionController: cmd_magnitude = np.linalg.norm(self.locomotion_cmd) - selected_policy = self.policy_balance if cmd_magnitude < 0.05 else self.policy_walk #balance/standing policy for small commands, walking policy for movement commands + selected_policy = ( + self.policy_balance if cmd_magnitude < 0.05 else self.policy_walk + ) # balance/standing policy for small commands, walking policy for movement commands # run policy inference ort_inputs = {selected_policy.get_inputs()[0].name: obs_tensor.cpu().numpy()}