readme.md 970 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
## "User file generation" app

This application enables to generate automatically user model files 
and the header containing element id (body id, joint id, ...).  
This application is independent of any project and can be compiled only
once when installing Robotran/MBsysC

### Compiling

* Go to the user\_file\_generation folder, create a build folder and
11
12
go to this folder  

13
14
15
16
```
mkdir build
cd build
```
17
18
* Configure the CMake project  

19
20
21
```
cmake ..
```
22
23
* Compile the project  

24
25
26
```
make
```
27
28
29
30

### Running

* Go to the build folder
31
32
* Run the program giving the path to the *.mbs to be processed:  

33
34
35
36
```
./Gen_mds_user path_to_the_mbs_file
```

37
38
39
40
* The following options can be added after the mbs file path for
specifying which file must be generated:
  * "user_models": user model files
  * "user_all_id": id header file
41
42
  * "user_hardcoded": hardcoded mbs values header file
  * "all": all previous options (this is the default option
43
    if the options is omitted)