Changeset 860

Show
Ignore:
Timestamp:
11/22/07 10:38:05 (13 months ago)
Author:
otter
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
  • Modelica/branches/maintenance/2.2.2/Modelica/Mechanics/Rotational.mo

    r850 r860  
    46874687    end if; 
    46884688     
    4689     phi = flange_b.phi - support.phi; 
     4689    phi = flange_b.phi; 
    46904690    w = der(phi); 
    46914691    a = der(w); 
     
    48284828     
    48294829    der(phi_ref) = w_ref; 
    4830     phi = flange_b.phi - support.phi; 
     4830    phi = flange_b.phi; 
    48314831    w = der(phi); 
    48324832    a = der(w); 
     
    49404940    end if; 
    49414941     
    4942     phi = flange_b.phi - support.phi; 
     4942    phi = flange_b.phi; 
    49434943    w = der(phi); 
    49444944    a = der(w); 
     
    50905090    end if; 
    50915091     
    5092     phi = flange_b.phi - support.phi; 
     5092    phi = flange_b.phi; 
    50935093    phi = position(u,time); 
    50945094    w = der(phi);