Skip to content

kdaic/ModelLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModelLoader library

Just Model Loader library in the hrplib of OpenHRP3.1 -- Not depended on CORBA, omniORB library.

Original source is openHRP3.

 

1. Requirements

1.1. OS

Linux (kernel version >= 4.18.0-24-generic)

1.2. Compiler

g++ version >= 7.4.0

1.3. Language

c++ version >= c++11

 

2. Dependency

2.1. LAPACK & BLAS

needless?
On QNX, altas & cblas is prbably also needed.

$ sudo apt-get install liblapack-dev libblas-dev

2.2. Eigen3

$ sudo apt-get install libeigen3-dev

2.3. Boost

$ sudo apt-get install libboost-all-dev

check apt-get pakcage libboost-dev version.
version >= 1.65 is OK as far as I can see.

dpkg -s libboost-dev

2.4. Google test

clone from https://github.com/google/googletest.git
and compile & install.

( Add the Path of libgtest_main.{a/so} & libgtest.{a/so} into LD_LIBRARY_PATH.
Or fix linker option -L* of Makefile to link them )

 

3. Make Compile

Make at the top of directory.

$ make

 

4. Destination

4.1. Static library of ModelLoader

generated in the lib/ for using HRP library

  • libModelLoader.a

4.2. App binary

generated in the bin/

  • ModelLoader : from src/main.cpp
  • unit_test : from the sources test/*.cpp with google test.

 

5. Make Clean

"clean" option is removing object files(*.o) and emacs backup(*~).

$ make clean

"cleanall" option is removing not only *.o but also lib/libmodel_loader.a and binaries(bin/*).

$ make cleanall

6. Directory Map

Include files are separated from the source (the original's are in one-package),
Because it is useful & portable when libraries are used for another place (project),
source files are not necessary, just only include files are needed.

.
├── bin
├── lib
├── include
│   ├── hrpCollision : all the same as original oprnhrp3/hrplib/hrpCollision
│   │   └── Opcode
│   │       └── Ice
│   ├── hrpModel     : all the same as original oprnhrp3/hrplib/hrpModel
│   ├── hrpUtil      : all the same as original oprnhrp3/hrplib/hrpUtil
│   │   ├── Jpeg-6b
│   │   ├── lpng1232
│   │   └── zlib123
│   └── ModelLoader : derive from original oprnhrp3/server/ModelLoader
├── src
│   ├── hrpCollision
│   │   └── Opcode
│   │       └── Ice
│   ├── hrpModel
│   ├── hrpUtil
│   │   ├── Jpeg-6b
│   │   ├── lpng1232
│   │   └── zlib123
│   └── ModelLoader
└── test
    └── model

 

7. License

Copyright (c) 2019, kdaic.

Software and license text is available at the top of each file.

 

regards,
kdaic

About

Just Model Loader library -- Not depended on CORBA, omniORB library.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages