Changeset 861

Show
Ignore:
Timestamp:
11/22/07 12:05:11 (10 months ago)
Author:
AHaumer
Message:

Bug fix for Rotational.Position/Speed/Accelerate/Move introduced a bug since support.phi was referenced (and support is not defined), instead of bearing.phi.
Furthermore, the documentation is not in accordance to this change (input angle is relative to bearing and not as previously to absolute space).
The complete change was undone, since it is not backward compatible.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/maintenance/2.2.1/Modelica/Mechanics/Rotational.mo

    r849 r861  
     1within Modelica.Mechanics; 
    12package Rotational  
    23  "Library to model 1-dimensional, rotational mechanical systems"  
     
    46314632    end if; 
    46324633     
    4633     phi = flange_b.phi - support.phi; 
     4634    phi = flange_b.phi; 
    46344635    w = der(phi); 
    46354636    a = der(w); 
     
    47724773     
    47734774    der(phi_ref) = w_ref; 
    4774     phi = flange_b.phi - support.phi; 
     4775    phi = flange_b.phi; 
    47754776    w = der(phi); 
    47764777    a = der(w); 
     
    48844885    end if; 
    48854886     
    4886     phi = flange_b.phi - support.phi; 
     4887    phi = flange_b.phi; 
    48874888    w = der(phi); 
    48884889    a = der(w); 
     
    50345035    end if; 
    50355036     
    5036     phi = flange_b.phi - support.phi; 
     5037    phi = flange_b.phi; 
    50375038    phi = position(u,time); 
    50385039    w = der(phi);