pulley

Define a pulley component to parametrize the definition of a cable system.

Syntax

pulley(c,v,r,p1,p2,Ml)

out = pulley(...)

Inputs

c
Circle center coordinates in a 3-element vector.
Type: double
Dimension: vector
v
Circle orientation coordinates in a 3-element vector.
Type: double
Dimension: vector
r
Circle radius.
Type: double
Dimension: scalar
p1
Input point coordinates in a 3-element vector.
Type: double
Dimension: vector
p2
Output point coordinates in a 3-element vector.
Type: double
Dimension: vector
Ml
Cable mass or unit length.
Type: double
Dimension: scalar

Outputs

out
Output
Type: double
Dimension: vector

Examples

Example with output argument.

c = [0,0,0];
v = [0,0,100];
r = 100;
p1 = [-100,0,0];
p2 = [0,100,0];
Ml = 1;
out = pulley(c, v, r, p1, p2, Ml);
disp(out);
[Matrix] 1 x 2
4.71239  471.23890

Comments

This function is used along with winch and tangent to parametrize the definition of a cable system.