Skip to main content
. Author manuscript; available in PMC: 2014 Aug 1.
Published in final edited form as: IEEE ASME Trans Mechatron. 2013 Jun 19;19(3):996–1006. doi: 10.1109/TMECH.2013.2265804
Algorithm 1 Objective Function f(d) for optimal component tube design
Input:
d: component tube design
a, b, c: radii of ellipsoid E
 [x0, y0, z0]T: position of E
VE = (4/3)πabc: Volume of E
Output:
c: uncovered percentage of E for d
  1. list = {}

  2. for all discrete actuator positions q do

  3. pForwardKinematics(q,d)

  4. if
    ((p(x)x0a)2+(p(y)y0b)2+(p(z)z0c)2)1
    then
  5. list.append(p)

  6. end if

  7. end for

  8. VCV( ConvexHull (list))

  9. return
    1VCVE