Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Phylliade committed Dec 18, 2015
1 parent 0bcc9fe commit 164a5ba
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 472 deletions.
10 changes: 0 additions & 10 deletions src/ikpy/URDF_utils.py
Expand Up @@ -4,21 +4,11 @@
"""

from . import link as lib_link
from . import forward_kinematics
import xml.etree.ElementTree as ET
import json
import numpy as np


def robot_from_urdf_parameters(urdf_params):
"""Converts URDF-formated parameters to compatible parameters"""
robot_params = []
for (rot, trans) in urdf_params:
euler_angles = forward_kinematics.euler_from_unit_vector(*rot)
robot_params.append((euler_angles[0], euler_angles[1], trans))
return robot_params


def find_next_joint(root, current_link, next_joints):
"""Find the next joint in the URDF tree"""
# Trouver le joint attaché
Expand Down

0 comments on commit 164a5ba

Please sign in to comment.