-
Notifications
You must be signed in to change notification settings - Fork 1
/
startup_rtsx.sce
60 lines (31 loc) · 1.34 KB
/
startup_rtsx.sce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// =======================================================================================
// startup_rtsx.sce
// www.controlsystemslab.com Feb 2014
// ---------------------------------------------------------------------------------------
// Script that initialize the RTSX toolbox
// =======================================================================================
mprintf("\n");
mprintf("=====================================\n");
mprintf("Robotics Tools for Scilab/Xcos (RTSX)\n");
mprintf(" Control Systems Lab \n");
mprintf(" Version 1.01-b - April 2014 \n");
mprintf("http://www.controlsystemslab.com/rtsx\n");
mprintf("=====================================\n");
// Get root path of the toolbox
RTSX_ROOT = get_absolute_file_path( "startup_rtsx.sce" );
RTSX_DEMOS = RTSX_ROOT + "demos";
RTSX_TESTS = RTSX_ROOT + "tests";
// ============== common constants ================
pi = %pi;
false = 0;
true = 1;
False = %f;
True = %t;
// ============== all functions ===================
// Activate/deactivate external dependencies
load3rdPartyOn = %f;
// Load the functions
prot = funcprot(0);
exec(RTSX_ROOT + "load_functions.sce", -1);
funcprot(prot);
// =======================================================================================