{"id":19963385,"url":"https://github.com/advrhumanoids/pbdlib-lig","last_synced_at":"2025-07-20T07:33:48.174Z","repository":{"id":73441337,"uuid":"141143802","full_name":"ADVRHumanoids/PbDlib-LIG","owner":"ADVRHumanoids","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-23T15:50:43.000Z","size":1800,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T16:48:24.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ADVRHumanoids.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-16T13:39:38.000Z","updated_at":"2022-05-22T07:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3d29d3d-f3f4-46b4-aebf-82efede65d47","html_url":"https://github.com/ADVRHumanoids/PbDlib-LIG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ADVRHumanoids/PbDlib-LIG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2FPbDlib-LIG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2FPbDlib-LIG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2FPbDlib-LIG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2FPbDlib-LIG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ADVRHumanoids","download_url":"https://codeload.github.com/ADVRHumanoids/PbDlib-LIG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2FPbDlib-LIG/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266085747,"owners_count":23874478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T02:15:56.982Z","updated_at":"2025-07-20T07:33:48.160Z","avatar_url":"https://github.com/ADVRHumanoids.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PbDLib C++ Library\n\nCopyright (C) 2015, Davide De Tommaso, Leonel Rozo, Tohid Alizadeh, Milad Malekzadeh, João Silvério, Sylvain Calinon, Danilo Bruno, Martijn Zeestraten, Ioannis Havoutis and Daniel Berio. Pbdlib has been jointly developed at the Italian Institute of Technology, Genoa, Italy and at the Idiap Research Institute, Martigny, Switzerland, under a GPL Version 3 license.\n\nSee also https://gitlab.idiap.ch/rli/pbdlib-matlab for a Matlab/GNU-Octave version of the library containing additional experimental functionalities.\n\n### Dependencies\n\nPbDLib requires Armadillo 5.4 for linear algebra operations, which runs faster if Lapack and OpenBLAS are also installed. PbDLib can be compiled with CMake.\n\nArmadillo 5.4 can be downloaded from [here](http://sourceforge.net/projects/arma/files/armadillo-5.400.2.tar.gz/download).\n\nTo install the dependencies run:\n```\nsudo apt-get install cmake liblapack3 liblapack-dev libopenblas-dev\n```\n \n### Installation instructions\n\n```\ncd pbdlib-sandbox\nmkdir build\ncd build\ncmake ..\nmake\nsudo make install\n```\n\nA GUI can be used after installation of the library: \nhttps://gitlab.idiap.ch/rli/pbdlib_gui\n\n### Test (assuming a build folder was created for cmake install)\n\n```\ncd examples\n./test_gmm\n```\n\n### Using PbDLib in your program\n\nIn order to use PbDLib in your program, its CMakeLists.txt must be edited to add the include directories of PbDLib and Armadillo, as well as to link it with both libraries.\n\n#### 1) Add PbDLib and Armadillo include directories\n\nThe following commands add the include directories:\n```\nfind_package(Armadillo 5.4 REQUIRED)\n\ninclude_directories(include \n                    ${ARMADILLO_INCLUDE_DIRS}\n                    )\n```\n\nThe installation of PbDLib copies its header files to /usr/local/include, so the command include_directories(include) adds this directory to the search path.\n\nHeader files can then be included in source code using:\n\n```\n#include \"pbdlib/gmm.h\"     // includes header file of the GMM class\n```\n\n#### 2) Linking your program with PbD and Armadillo\n\nIn order to link your program with PbDLib and Armadillo, add the following commands to CMakeLists.txt:\n```\nfind_library(ARMADILLO_LIBRARIES armadillo)\n\ntarget_link_libraries(yourProgram pbd\n                                  ${ARMADILLO_LIBRARIES}\n                                )\n```\n# PbDlib-LIG\n# PbDlib-LIG\n# PbDlib-LIG\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvrhumanoids%2Fpbdlib-lig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadvrhumanoids%2Fpbdlib-lig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvrhumanoids%2Fpbdlib-lig/lists"}