Skip to content

Commit

Permalink
fix format details
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Aug 26, 2024
1 parent c61a4c6 commit 1983594
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/python/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_Formulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1983594

Please sign in to comment.