{"id":22197105,"url":"https://github.com/hesic73/allegro_pybind","last_synced_at":"2025-03-24T22:43:45.667Z","repository":{"id":262596015,"uuid":"882897994","full_name":"hesic73/allegro_pybind","owner":"hesic73","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-15T02:54:29.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T20:44:43.108Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hesic73.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-04T02:14:47.000Z","updated_at":"2024-12-15T02:54:33.000Z","dependencies_parsed_at":"2024-11-13T09:39:17.347Z","dependency_job_id":null,"html_url":"https://github.com/hesic73/allegro_pybind","commit_stats":null,"previous_names":["hesic73/allegro_pybind"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Fallegro_pybind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Fallegro_pybind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Fallegro_pybind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Fallegro_pybind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hesic73","download_url":"https://codeload.github.com/hesic73/allegro_pybind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245366195,"owners_count":20603438,"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-12-02T14:18:27.982Z","updated_at":"2025-03-24T22:43:45.639Z","avatar_url":"https://github.com/hesic73.png","language":"C++","readme":"# allegro_pybind\n\nA Python binding for controlling the Allegro Hand, heavily based on https://github.com/simlabrobotics/allegro_hand_linux_v4. The setup instructions are also borrowed from the original project.\n\n\n\n**Tested on**:\n\n- Ubuntu 20.04\n- g++ 9.4.0\n- cmake 3.16.3\n- python 3.8.20\n\n\n\n## Required hardware\n1. [Allegro hand v4](http://wiki.wonikrobotics.com/AllegroHandWiki/index.php/Allegro_Hand_v4.0)\n2. [PCAN-USB interface](https://www.peak-system.com/PCAN-USB.199.0.html?\u0026L=1)\n\n## Setup instructions\n### Prerequisites\n#### 1. PCAN-USB driver\nDownload, build, and install PCAN-USB driver for Linux \"libpcan\"\n```bash\ntar -xzvf peak-linux-driver-x.x.tar.gz\ncd peak-linux-driver-x.x\nmake NET=NO\nsudo make install\n```\n##### Troubleshooting\n* If encounter \n  ```bash\n  src/pcan-settings.c:47:10: fatal error: popt.h: No such file or directory\n     47 | #include \u003cpopt.h\u003e\n      |      \t^~~~~~~~\n  compilation terminated.\n  ```\n  Run\n  ```bash\n  sudo apt install libpopt-dev\n  ```\n\n#### 2. `libpcanbasic`\nDownload, build, and install PCAN-Basic API for Linux: libpcanbasic\n```bash\ntar -xzvf PCAN_Basic_Linux-x.x.x.tar.gz\ncd PCAN_Basic_Linux-x.x.x/pcanbasic\nmake\nsudo make install\n```\n\n#### 3. `libBHand` grasping library\nDownload, build, and install Grasping Library for Linux, \"libBHand\": Grasping_Library_for_Linux\n```bash\nunzip LibBHand_{32|64}.zip\ncd libBHand_{32|64}\nsudo make install\nsudo ldconfig\n```\n\n\n### Installation\n\nBesides the dependencies mentioned above, ensure the following dependencies are installed before building the package:\n\n- pybind11\n- Eigen3\n\n\nAfter installing the dependencies, you can build and install the package with:\n\n```\npip install .\n```\n\n## Usage\n\nSee `example.py`\n\n## TODO\n\n- thread-safety","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesic73%2Fallegro_pybind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhesic73%2Fallegro_pybind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesic73%2Fallegro_pybind/lists"}