{"id":25871870,"url":"https://github.com/lagadic/pepper_control","last_synced_at":"2025-07-26T12:10:45.902Z","repository":{"id":143053048,"uuid":"66277662","full_name":"lagadic/pepper_control","owner":"lagadic","description":"Velocity controller for Pepper ","archived":false,"fork":false,"pushed_at":"2017-07-18T17:09:13.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T22:41:47.151Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lagadic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-08-22T14:02:21.000Z","updated_at":"2019-03-26T22:53:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5992e5b-b582-4aa0-b526-92b05cfa100b","html_url":"https://github.com/lagadic/pepper_control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lagadic/pepper_control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagadic%2Fpepper_control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagadic%2Fpepper_control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagadic%2Fpepper_control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagadic%2Fpepper_control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lagadic","download_url":"https://codeload.github.com/lagadic/pepper_control/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagadic%2Fpepper_control/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267163783,"owners_count":24045713,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-03-02T07:34:38.527Z","updated_at":"2025-07-26T12:10:45.891Z","avatar_url":"https://github.com/lagadic.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pepper_control\n\nThis module allows controlling the joints of Pepper in velocity.\n\n## Installation\n\n* Go via terminal to your qibuild workspace\n* Clone the repository in your workspace:\n\n        $ git clone https://github.com/lagadic/pepper_control.git\n        $ cd pepper_control\n\n### Run the module in remote (just for testing)\n\nFollowing instructions are valid with Ubuntu 14.04. If you are using Ubuntu 16.04 you should use 2.5 toolchain. But in that case Pepper should also use naoqi 2.5.\n\n* Configure remote module:\n\n        $ qibuild configure -c toolchain_2_4 --release\n\n* Build:\n\n        $ qibuild make -c toolchain_2_4\n\n* Run the module in remote (change the argument `--qi-url`  with your robot ip and port):\n\n        $  ./build-toolchain_2_4/sdk/bin/pepper_control --qi-url=tcp://127.0.0.1:9559 \n\n    Arguments reference: [link](http://doc.aldebaran.com/2-4/dev/libqi/guide/qi-app-arguments.html)\n\n### Run the module locally \n\n* Download the Cross Toolchain 2.4.3 Linux 64\n* Create a toolchain for the cross compilation (I have called it `atom_2_4`) ([Instructions](http://doc.aldebaran.com/2-4/dev/cpp/install_guide.html#e-compile-and-run-an-example))\n\n* Configure local module:\n\n        $ qibuild configure -c atom_2_4 --release\n\n* Build:\n\n        $ qibuild build -c atom_2_4 --release\n\n* Create pkg:\n\n        $ qipkg make-package pepper_control.pml -c atom_2_4\n\n* Deploy in Pepper:\n\n        $ qipkg deploy-package pepper_control-0.1.0.pkg --url nao@127.0.0.1\n\n### Launch module\n \n* Open Choregraphe\n* Connect to Pepper\n* Click on Robot Applications (right corner)\n* Find pepper_control and click on the green start buttons\n\n### Call function with qicli\n\n* Connect via terminal to Pepper\n\n        $ ssh nao@127.0.0.1  # change 127.0.0.1 with the right IP\n        \n* Check if `pepper_control is running` with \n\n        $ qicli info\n\n### Example:\n\nYou can use visp_naoqi to control the joints of Pepper in velocity, otherwise you can directly create a proxy to the module pepper_control running in the robot:\n\n```\n// Connect to module\nqi::SessionPtr session = qi::makeSession();\nsession-\u003econnect(\"tcp://131.254.10.126:9559\");\nqi::AnyObject proxy = session-\u003eservice(\"pepper_control\");\n  \n// Start the controller\nproxy.call\u003cvoid \u003e(\"start\");\n  \nstd::vector\u003cstd::string\u003e jointNames_head; // Fill with names of the joints to control\nstd::vector\u003cfloat\u003e vel; // Fill with the joint velocities (rad/s)\n\nwhile (1)\n{\n  // Update velocities\n \n  proxy.async\u003cvoid \u003e(\"setDesJointVelocity\", jointNames_head, vel );\n}\n\n// Stop the joint motion\nproxy.call\u003cvoid \u003e(\"stopJoint\");\n//Stop the controller\nproxy.call\u003cvoid \u003e(\"stop\");\n\n``` \n\n\n\n### Possible problems\n\n```\n[ERROR]: Unable to install package on target\n[ERROR]: Error was:  No module named qi\n```\nRemember to add the python sdk to the path:\n```\n$ export PYTHONPATH=/home/common/naoqi-sdk/pynaoqi-python2.7-2.4.3.28-linux64:$PYTHONPATH \n```\n\n\n## TODO:\n* Launch automatic the module at startup of the robot\n* Use DCM to set joint positions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagadic%2Fpepper_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flagadic%2Fpepper_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagadic%2Fpepper_control/lists"}