From 19835947024600659de81c26ec04134312f59d29 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 3 Dec 2023 15:20:15 +0100 Subject: [PATCH] fix format details --- tests/python/generator.py | 6 ++++-- tests/python/test_Formulation.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/python/generator.py b/tests/python/generator.py index 78b19335..5aea6b5c 100644 --- a/tests/python/generator.py +++ b/tests/python/generator.py @@ -7,10 +7,12 @@ def create_7dof_arm(revoluteOnly=False): """ - Create a 7 DoF robot arm (with spherical joint for shoulder and wrist and revolute joint for elbow) + Create a 7 DoF robot arm (with spherical joint for shoulder and wrist and revolute + joint for elbow) Optionnal parameters: - revoluteOnly (default=False): if True, the arm is created with only revolute joints. (Spherical joints are replaced by 3 revolute joints) + revoluteOnly (default=False): if True, the arm is created with only revolute + joints. (Spherical joints are replaced by 3 revolute joints) Return: model: pinocchio model of the robot diff --git a/tests/python/test_Formulation.py b/tests/python/test_Formulation.py index 6d993306..652901fd 100644 --- a/tests/python/test_Formulation.py +++ b/tests/python/test_Formulation.py @@ -99,7 +99,7 @@ postureTask.setKd(2.0 * np.sqrt(kp_posture) * np.ones(robot.nv - 6)) invdyn.addMotionTask(postureTask, w_posture, 1, 0.0) -########### Test 1 ##################3 +# ########## Test 1 ##################3 dt = 0.01 PRINT_N = 100 REMOVE_CONTACT_N = 100