-
Notifications
You must be signed in to change notification settings - Fork 4
/
HowStage.txt
43 lines (28 loc) · 1.07 KB
/
HowStage.txt
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
For each new terminal you open:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/Documents/robot/bin/lib/
To open a world:
cd ./Documents/robot/Stage/
../bin/bin/stage ../bin/share/stage/worlds/simplemodified.world
To compile:
/Documents/robot/Stage/ do make, make install
or bash my.bash
Modify World:
lsaint/Documents/robot/bin/share/stage/worlds
Modify controller:
lsaint/Documents/robot/Stage/examples/ctrl
when you create a new file.cc file, you need to add the name of the file to lsaint/Documents/robot/Stage/examples/ctrl/CMakeLists.txt
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Step 1 cd /Stage cmake .
Step 2 modify CMakeCache.txt
change
CMAKE_INSTALL_PREFIX:PATH=/usr/local/
to
makeCMAKE_INSTALL_PREFIX:PATH=/home/lsaint/Documents/robot/bin/
Step 3 cd /Stage make
Step 4 make install
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
No!!!!!
error while loading shared libraries: libstage.so.4.0.0: cannot open shared object file: No such file or directory
YES!!!!
Stage 4.0.0
[Stage: done]