Overview
Comment:Minor formatting.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: fc177d09e60895ad7a80f09a0ac69fa18d57090638c55eee7178979bba403add
User & Date: geraint@users.sourceforge.net on 2004-09-13 10:50:36
Other Links: branch diff | manifest | tags
Context
2004-09-13
11:12:28
Named position states. check-in: ce513cd753 user: geraint@users.sourceforge.net tags: origin/master, trunk
10:50:36
Minor formatting. check-in: fc177d09e6 user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-09-12
23:16:24
A passive multiple trailer system dor indoor service robots. check-in: 09dab38f4a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/examples/Dia/robotrain/robotrain_input.txt from [f3726c6409] to [cac5b175aa].

1
2
3
4
5
6
7
8
9
10
11
12
13

1
2
3
4
5
6
7


8
9
10

11







-
-



-
+
## -*-octave-*- Put Emacs into octave-mode ##
 
## 
## System robotrain, representation input, language txt; 
## File robotrain_input.txt; 
## Generated by MTT on Fri Sep 10 00:39:34 BST 2004; 



robotrain__Fx			= 0.0;
robotrain__Fy			= 0.0;
robotrain__tractor__omega__u	= 1.0;
robotrain__tractor__v__u		= 1.0;
robotrain__tractor__v__u	= 1.0;

Modified mttroot/mtt/lib/examples/Dia/robotrain/rotate_z.pm from [1022fea680] to [3d31fd12d1].

66
67
68
69
70
71
72
73

74
75
76

77
78
79

80
81
82

83
84
85

86
87
88
89

90
91
92
93
94
95
96
66
67
68
69
70
71
72

73



74



75



76



77




78
79
80
81
82
83
84
85







-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
-
+








    my @args = @_;
    my $retval = '';

    if ($#args == 18-1)
    {
	my ($component,
	    $out_causality,
	    $out_causality, $out_port,
	    $out_port,
	    $x1,
	    $causality1,
	    $x1, $causality1, $port1,
	    $port1,
	    $y1,
	    $causality2,
	    $y1, $causality2, $port2,
	    $port2,
	    $x2,
	    $causality3,
	    $x2, $causality3, $port3,
	    $port3,
	    $y2,
	    $causality4,
	    $y2, $causality4, $port4,
	    $port4,
	    $psi,
	    $causality5,
	    $port5) = @args;
	    $psi, $causality5, $port5) = @args;

	# [ x2 ]   [ +cos(psi) +sin(psi) 0 ] [ x1 ]
	# [ y2 ] = [ -sin(psi) +cos(psi) 0 ] [ y1 ]
	# [ z2 ]   [    0          0     1 ] [ z1 ]

	# for reverse transformation (x2->x1) use psi=-psi
	# note that cos(-psi)=cos(psi) and sin(-psi)=-sin(psi)


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]