{"id":413,"date":"2017-05-01T17:34:58","date_gmt":"2017-05-01T17:34:58","guid":{"rendered":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/?page_id=413"},"modified":"2017-07-18T17:07:16","modified_gmt":"2017-07-18T17:07:16","slug":"pepper-lab-book","status":"publish","type":"page","link":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/pepper-lab-book\/","title":{"rendered":"Pepper lab book"},"content":{"rendered":"<p>Lab book for work on the Robocup@Home Standard Platform League competition which uses the Pepper robot.<\/p>\n<p>I&#8217;m asked to look into:<br \/>\n&#8211; localisation<br \/>\n&#8211; navigation<\/p>\n<p>Earlier experiences with robots tell me that we need a simulator that allows us to easily run tests. And as we don&#8217;t yet have a pepper robot a simulator is a good start anyway. Gazebo is a ROS compatible simulator that seems suitable.<\/p>\n<p>Setting up a computer with Ubuntu 16.04.2 LTS and a GPU that can run Gazebo without crashing (a recurring problem with Linux GPU drivers in combination with Gazebo).<\/p>\n<p>Installing &#8220;ros kinetic&#8221; and reading tutorials:<\/p>\n<p><code> http:\/\/wiki.ros.org\/ROS\/Tutorials<\/code><\/p>\n<p>Searching pepper specific packages:<\/p>\n<p><code> http:\/\/wiki.ros.org\/pepper<\/code><\/p>\n<p>After installing all pepper packages using:<\/p>\n<p><code> sudo apt-get install ros-kinetic-naoqi-bridge-msgs ros-kinetic-naoqi-dcm-driver ros-kinetic-pepper-bringup ros-kinetic-pepper-control ros-kinetic-pepper-dcm-bringup ros-kinetic-pepper-description ros-kinetic-pepper-gazebo-plugin ros-kinetic-pepper-meshes ros-kinetic-pepper-moveit-config ros-kinetic-pepper-robot ros-kinetic-pepper-sensors-py ros-kinetic-pepperl-fuchs-r2000<br \/>\n<\/code><\/p>\n<p>and starting Gazebo:<\/p>\n<p><code>  roslaunch pepper_gazebo_plugin pepper_gazebo_plugin_Y20.launch<\/code><\/p>\n<p>and pressing &#8216;play&#8217; the robot falls on its side and its joints all stay fixed.<\/p>\n<p>Reading the Gazebo ROS tutorials on how to define a robot (the RRBot example):<\/p>\n<p><code>  http:\/\/gazebosim.org\/tutorials?cat=connect_ros<\/code><\/p>\n<p>Removing all &#8216;apt-get&#8217; installed packages to see if the github repositories have better descriptions (additions that are not yet included in the &#8216;apt-get&#8217; packages).<\/p>\n<p><code> cd ~\/catkin_ws\/src<br \/>\ngit clone https:\/\/github.com\/ros-naoqi\/pepper_virtual<br \/>\ngit clone https:\/\/github.com\/ros-naoqi\/pepper_robot<br \/>\ngit clone https:\/\/github.com\/ros-naoqi\/pepper_dcm_robot<br \/>\ncd ..<br \/>\ncatkin_make<br \/>\n<\/code><\/p>\n<p>it turns out the meshes need to be installed using &#8216;apt-get&#8217; because of copyright issues:<\/p>\n<p><code>  sudo apt-get install ros-kinetic-pepper-meshes<\/code><\/p>\n<p>Now at least the joints move freely but pepper still falls when pressing &#8216;play&#8217;:<\/p>\n<p><code>  roslaunch pepper_gazebo_plugin pepper_gazebo_plugin_Y20.launch<\/code><\/p>\n<p>The controller should be able to fix that:<\/p>\n<p><code> apt-get install ros-kinetic-controller-manager<br \/>\nroslaunch pepper_control pepper_control_position.launch<br \/>\n<\/code><\/p>\n<p>but for some reason I get these warnings:<\/p>\n<p><code> [INFO] [1493659972.516635, 0.000000]: Controller Spawner: Waiting for service controller_manager\/load_controller<br \/>\n[WARN] [1493660002.655930, 89.766000]: Controller Spawner couldn't find the expected controller_manager ROS interface.<br \/>\n<\/code><\/p>\n<p>The virtual sensors do work, images produced by the cameras:<\/p>\n<p><code> rosrun image_view image_view image:=\/pepper_robot\/camera\/front\/image_raw<br \/>\nrosrun image_view image_view image:=\/pepper_robot\/camera\/bottom\/image_raw<br \/>\n<\/code><\/p>\n<p>depth information is given:<\/p>\n<p><code> rostopic hz \/pepper_robot\/camera\/depth\/points <\/code><\/p>\n<p>sonar information is given:<\/p>\n<p><code> rostopic echo \/pepper_robot\/sonar_back<br \/>\nrostopic echo \/pepper_robot\/sonar_front<br \/>\n<\/code><\/p>\n<p>no laser scanners are found on the virtual robot.<\/p>\n<p><strong>2017-05-03<\/strong><\/p>\n<p>Don&#8217;t forget to install the control dependencies:<\/p>\n<p><code>sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control<\/code><\/p>\n<p>And we also seem to need:<\/p>\n<p><code>sudo apt-get install ros-kinetic-gazebo-ros-control ros-kinetic-ros-controllers<\/code><\/p>\n<p>When running this and pressing &#8220;play&#8221; the robot keeps its joints fixed and again falls to the ground.<\/p>\n<p><code>  roslaunch pepper_gazebo_plugin pepper_gazebo_plugin_Y20.launch<br \/>\nroslaunch pepper_control pepper_control_position.launch<br \/>\n<\/code><\/p>\n<p>In addition we get some errors:<\/p>\n<p><code><br \/>\n[ERROR] [1493839940.039714623, 89.547000000]: A controller named '\/pepper_dcm\/WheelB_controller' was already loaded inside the controller manager<br \/>\n[ERROR] [1493839941.043294848, 90.387000000]: A controller named '\/pepper_dcm\/WheelFL_controller' was already loaded inside the controller manager<br \/>\n[ERROR] [1493839942.046338063, 91.256000000]: A controller named '\/pepper_dcm\/WheelFR_controller' was already loaded inside the controller manager<br \/>\n[ERROR] [1493839943.049357655, 92.135000000]: A controller named '\/pepper_dcm\/joint_state_controller' was already loaded inside the controller manager<br \/>\n<\/code><\/p>\n<p><strong>2017-05-04<\/strong><\/p>\n<p>Installing ros-indigo-desktop-full and all pepper packages on Ubuntu 14.04 LTS. Had to add this to ~\/.bashrc:<\/p>\n<p><code> export LC_NUMERIC=C<\/code><\/p>\n<p>and this<\/p>\n<p><code><br \/>\ncd ~\/catkin_ws\/src\/<br \/>\ngit clone https:\/\/github.com\/roboticsgroup\/roboticsgroup_gazebo_plugins<br \/>\ncd ..<br \/>\ncatkin_make<\/code><\/p>\n<p>to get rid of errors. The Pepper robot doesn&#8217;t fall on it side anymore but this still gives errors:<\/p>\n<p><code>https:\/\/github.com\/ros-naoqi\/pepper_moveit_config<\/code><\/p>\n<p><code>[ERROR] [1493935711.503737635, 104.749000000]: PluginlibFactory: The plugin for class 'moveit_rviz_plugin\/MotionPlanning' failed to load.  Error: According to the loaded plugin descriptions the class moveit_rviz_plugin\/MotionPlanning with base class type rviz::Display does not exist. Declared types are  rviz\/Axes rviz\/Camera rviz\/DepthCloud rviz\/Effort rviz\/FluidPressure rviz\/Grid rviz\/GridCells rviz\/Illuminance rviz\/Image rviz\/InteractiveMarkers rviz\/LaserScan rviz\/Map rviz\/Marker rviz\/MarkerArray rviz\/Odometry rviz\/Path rviz\/PointCloud rviz\/PointCloud2 rviz\/PointStamped rviz\/Polygon rviz\/Pose rviz\/PoseArray rviz\/Range rviz\/RelativeHumidity rviz\/RobotModel rviz\/TF rviz\/Temperature rviz\/WrenchStamped rviz_plugin_tutorials\/Imu<\/code><\/p>\n<p>[ERROR] [1493935732.766818945, 120.971000000]: MoveItSimpleControllerManager: Action client not connected: pepper_dcm\/Head_controller\/follow_joint_trajectory<\/p>\n<p>[ERROR] [1493935752.895225026, 136.031000000]: MoveItSimpleControllerManager: Action client not connected: pepper_dcm\/Pelvis_controller\/follow_joint_trajectory<\/p>\n<p>[ERROR] [1493935753.594489576, 136.554000000]: Exception while loading move_group capability &#8216;move_group\/MoveGroupPickPlaceAction&#8217;: According to the loaded plugin descriptions the class move_group\/MoveGroupPickPlaceAction with base class type move_group::MoveGroupCapability does not exist. Declared types are move_group\/ApplyPlanningSceneService move_group\/ClearOctomapService move_group\/MoveGroupCartesianPathService move_group\/MoveGroupExecuteService move_group\/MoveGroupExecuteTrajectoryAction move_group\/MoveGroupGetPlanningSceneService move_group\/MoveGroupKinematicsService move_group\/MoveGroupMoveAction move_group\/MoveGroupPlanService move_group\/MoveGroupQueryPlannersService move_group\/MoveGroupStateValidationService<br \/>\nAvailable capabilities: move_group\/ApplyPlanningSceneService, move_group\/ClearOctomapService, move_group\/MoveGroupCartesianPathService, move_group\/MoveGroupExecuteService, move_group\/MoveGroupExecuteTrajectoryAction, move_group\/MoveGroupGetPlanningSceneService, move_group\/MoveGroupKinematicsService, move_group\/MoveGroupMoveAction, move_group\/MoveGroupPlanService, move_group\/MoveGroupQueryPlannersService, move_group\/MoveGroupStateValidationService<\/p>\n<p><strong>2017-05-18<\/strong><\/p>\n<p>Installing Ubuntu 14.04 on Dell XPS 15 laptop. Wireless drivers for BroadCom BCM43602 don&#8217;t work. With<\/p>\n<p><code>modprobe brcmfmac<\/code><\/p>\n<p>only &#8220;Amsterdam Science Park&#8221; works, not eduroam\/uva. Using the steps Jonathan suggested:<\/p>\n<p><code>https:\/\/github.com\/ros-naoqi\/pepper_virtual\/tree\/master\/pepper_gazebo_plugin<\/code><\/p>\n<p>but still no movement. Manual installing these:<\/p>\n<p><code>sudo aptitude install ros-indigo-moveit-ros-move-group<br \/>\nsudo aptitude install ros-indigo-moveit-controller-manager<br \/>\nros-indigo-moveit-simple-controller-manager<br \/>\nros-indigo-pepper-moveit-config<br \/>\nros-indigo-moveit-ros-visualization<\/code><\/p>\n<p>helps.<\/p>\n<p><strong>2017-05-22<\/strong><br \/>\nFor some reason now it does work (installed new GPU drivers but that should not have helped), I&#8217;m moving the left arm but there is no GUI options to select other groups as the moveit manual explains. Make sure to click the &#8220;PLAY&#8221; button in gazebo otherwise MoveIt doesn&#8217;t start.<\/p>\n<p>Found the other groups, &#8220;Planning Request&#8221; is a sub-menu of &#8220;MotionPlanning&#8221;. Now I can move:<br \/>\n<code>left-arm<br \/>\nright-arm<br \/>\nleft-hand<br \/>\nright-hand<\/code><\/p>\n<p>But these give errors:<br \/>\n<code>base<br \/>\nhead<\/code><\/p>\n<p><strong>2017-05-23<\/strong><br \/>\nPepper moves with:<\/p>\n<p><code>rostopic pub -1 \/cmd_vel geometry_msgs\/Twist -- '[0.1, 0.0, 0.0]' '[0.0, 0.0, 0.0]'<\/code><\/p>\n<p>but it is not the movement that is expected, its moving sideways in a weird way, adding &#8220;&lt;legacyMode&gt;false&lt;\/legacyMode&gt;<code><\/code>&#8221; doesn&#8217;t help. Seems I&#8217;m not the only one:<\/p>\n<p><a href=\"https:\/\/groups.google.com\/forum\/#!topic\/ros-sig-aldebaran\/GN85jo_2Ano\">https:\/\/groups.google.com\/forum\/#!topic\/ros-sig-aldebaran\/GN85jo_2Ano<\/a><\/p>\n<p><strong>2017-06-7<\/strong><br \/>\nSeems like the pepper-gazebo model is not in any state that we could easily use it. Laser scanners are also missing. Now either we spend a lot of time making the simulator work, or we instead use prerecorded data (rosbag) to test things.<\/p>\n<p><strong>2017-06-21<\/strong><br \/>\nThe plan now is to make a dataset with the real robot of all ros topics. This dataset can then be used to test ros gmapping slam package. Looking into working with the real robot:<\/p>\n<p>http:\/\/wiki.ros.org\/pepper<br \/>\nhttps:\/\/groups.google.com\/forum\/#!topic\/ros-sig-aldebaran\/FEtO4Gf9erc<\/p>\n<p><strong>2017-06-28<\/strong><br \/>\nrecord: http:\/\/wiki.ros.org\/rosbag<br \/>\nmove: https:\/\/github.com\/ros-naoqi\/pepper_moveit_config<br \/>\ngmapping: http:\/\/wiki.ros.org\/slam_gmapping\/Tutorials\/MappingFromLoggedData<\/p>\n<p><strong>2017-07-06<\/strong><br \/>\nConnecting over a wireed connecton (eth0) and following the tutorial:<\/p>\n<p><a href=\"http:\/\/wiki.ros.org\/pepper\/Tutorials\">http:\/\/wiki.ros.org\/pepper\/Tutorials<\/a><\/p>\n<p>after installing the 2.1.4 C++ and 2.1.4 Python NAOqi SDK from:<\/p>\n<p><a href=\"http:\/\/wiki.ros.org\/nao\/Tutorials\/Installation#NAOqi\">http:\/\/wiki.ros.org\/nao\/Tutorials\/Installation#NAOqi<\/a><\/p>\n<p>I could start the pepper_bringup script:<\/p>\n<p><code><br \/>\nroslaunch pepper_bringup pepper_full.launch nao_ip:=pepper.local roscore_ip:=localhost<\/code><\/p>\n<p>and read and visualize images, depth, laser, sonar data from the real robot:<br \/>\n<code><br \/>\nrosrun rviz rviz -d \/opt\/ros\/indigo\/share\/pepper_bringup\/config\/pepper.rviz<\/code><\/p>\n<p>Moving the robot using moveit proved more difficult,<\/p>\n<p><a href=\"https:\/\/github.com\/ros-naoqi\/pepper_moveit_config\">https:\/\/github.com\/ros-naoqi\/pepper_moveit_config<\/a><\/p>\n<p><code>roslaunch pepper_dcm_bringup pepper_bringup.launch<br \/>\n(hit chest button twice to wake the robot to set stiffness???)<br \/>\nroslaunch pepper_moveit_config moveit_planner.launch<\/code><\/p>\n<p>I get these errors and can not move the robot:<br \/>\n<code><br \/>\n[ERROR] [1499367758.659473678]: Please, wakeUp the robot to be able to set stiffness<br \/>\n[WARN] [WallTime: 1499367782.563326] Controller Spawner couldn't find the expected controller_manager ROS interface.<\/code><\/p>\n<p>Even though the simulator can move the arms:<\/p>\n<p><code>roslaunch pepper_moveit_config demo.launch<\/code><\/p>\n<p><strong>2017-07-11<\/strong><br \/>\nTrying to reproduce:<\/p>\n<p>https:\/\/arxiv.org\/abs\/1704.04797<\/p>\n<p>getting vm for VirtualBox:<\/p>\n<p>http:\/\/doc.aldebaran.com\/2-1\/dev\/tools\/vm-setup.html<\/p>\n<p>install ROS Indigo (Generic, Bare Bones) from source, use pip option:<\/p>\n<p>http:\/\/wiki.ros.org\/indigo\/Installation\/Source<\/p>\n<p>I needed to fix pip with:<\/p>\n<p>https:\/\/stackoverflow.com\/questions\/7446187\/no-module-named-pkg-resources<\/p>\n<p>I got errors, packages could not be found. This is a workaround, fingers crossed:<\/p>\n<p>sudo emerge &#8211;autounmask-write dev-libs\/log4cxx<br \/>\netc-update<br \/>\n# save configuration changes<\/p>\n<p>Had to manually download &#8220;gtest-1.5.0.tar.bz2&#8221; to \/usr\/portage\/distfiles\/:<\/p>\n<p>cd \/usr\/portage\/distfiles<br \/>\nsudo wget http:\/\/wallaby.freshx.de\/repo\/netifaces-0.6.tar.gz<br \/>\nsudo wget ftp:\/\/ftp.gnome.org\/mirror\/archive\/ftp.sunet.se\/pub\/mac\/fink\/md5\/8b2c3c3f26cb53e64a3109d03a97200a\/gtest-1.5.0.tar.bz2<\/p>\n<p>sudo -H emerge  dev-python\/nose  dev-python\/netifaces  dev-python\/pyyaml dev-libs\/tinyxml dev-libs\/log4cxx dev-python\/empy dev-python\/mock dev-python\/coverage dev-cpp\/gtest dev-lisp\/sbcl<br \/>\nsudo dispatch-conf # now press &#8216;u&#8217;, and run command above again<\/p>\n<p>build console_bridge manually:<\/p>\n<p>cd ~\/ros_catkin_ws\/src<br \/>\ngit clone https:\/\/github.com\/ros\/console_bridge<br \/>\ncd ~\/ros_catkin_ws\/src\/console_bridge<br \/>\nmkdir build<br \/>\ncd build<br \/>\n# change &#8220;-std=c++11&#8221; to &#8220;-std=c++0x&#8221; in ..\/CMakeLists.txt<br \/>\ncmake ..<br \/>\nmake<br \/>\nsudo make install<\/p>\n<p>Installing emacs: <\/p>\n<p>cd \/usr\/portage\/distfiles # manual download<br \/>\nsudo wget http:\/\/math.sgu.ru\/soft\/Linux\/distributions\/gentoo\/distfiles\/eselect-emacs-1.13.tar.bz2<br \/>\nsudo wget https:\/\/src.fedoraproject.org\/repo\/pkgs\/emacs\/emacs-23.3a.tar.bz2\/f2cf8dc6f28f8ae59bc695b4ddda339c\/emacs-23.3a.tar.bz2<br \/>\nsudo wget https:\/\/dev.gentoo.org\/~ulm\/emacs\/emacs-23.3-patches-2.tar.bz2<br \/>\nsudo wget https:\/\/dev.gentoo.org\/~ulm\/emacs\/emacs-common-gentoo-1.2.tar.gz<br \/>\nsudo wget ftp:\/\/ftp.gnome.org\/mirror\/trisquel\/packages\/pool\/main\/libl\/liblockfile\/liblockfile_1.08.orig.tar.gz<br \/>\nsudo chown portage.portage .\/*<br \/>\nsudo emerge app-editors\/emacs<\/p>\n<p><strong>2017-07-13<\/strong><br \/>\nErrors with:<\/p>\n<p>  cd ~\/ros_catkin_ws\/<br \/>\n  .\/src\/catkin\/bin\/catkin_make_isolated &#8211;install -DCMAKE_BUILD_TYPE=Release<\/p>\n<p>Had to add line &#8220;#define TIXML_USE_STL 1&#8221; to \/usr\/include\/tinyxml.h to fix compile error there and program lz4 is required:<\/p>\n<p>cd ~\/<br \/>\nmkdir programs<br \/>\ncd programs\/<br \/>\ngit clone https:\/\/github.com\/lz4\/lz4<br \/>\ncd lz4\/<br \/>\nmake<br \/>\nsudo make install<\/p>\n<p>  cd ~\/ros_catkin_ws\/<br \/>\n  .\/src\/catkin\/bin\/catkin_make_isolated &#8211;install -DCMAKE_BUILD_TYPE=Release<\/p>\n<p>All programs now compile!<\/p>\n<p>Trying to update:<\/p>\n<p>  mv indigo-robot-wet.rosinstall indigo-robot-wet.rosinstall.old<br \/>\n  rosinstall_generator robot &#8211;rosdistro indigo &#8211;deps &#8211;wet-only &#8211;tar > indigo-robot-wet.rosinstall<br \/>\n  diff indigo-robot-wet.rosinstall indigo-robot-wet.rosinstall.old<br \/>\n  # no updates found, done<\/p>\n<p>Copying things to pepper:<br \/>\n<code><br \/>\n~\/opennao-distro     =>  ~\/opennao-distro<br \/>\n~\/ros_catkin_ws      =>  ~\/ros_catkin_ws<br \/>\n\/usr\/bin\/*           =>  ~\/local\/bin<br \/>\n\/usr\/lib\/*           =>  ~\/local\/lib<br \/>\n\/usr\/include\/*       =>  ~\/local\/include<br \/>\n\/usr\/local\/bin\/*     =>  ~\/local\/bin<br \/>\n\/usr\/local\/lib\/*     =>  ~\/local\/lib<br \/>\n\/usr\/local\/include\/* =>  ~\/local\/include<\/code><\/p>\n<p>adding a ~\/.bash_profile file with:<br \/>\n<code><br \/>\n# general setting<br \/>\nexport PATH=${PATH}:~\/local\/bin<br \/>\nexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~\/local\/lib<\/p>\n<p># ROS setting<br \/>\nexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~\/ros_catkin_ws\/install_isolated\/lib<br \/>\nsource ~\/ros_catkin_ws\/install_isolated\/setup.bash<\/code><\/p>\n<p>some things work:<\/p>\n<p>  rospack list<\/p>\n<p>some things don&#8217;t:<\/p>\n<p>  roscore<\/p>\n<p><strong>2017-07-17<\/strong><br \/>\nDoing the VM installation again with python virtual environment to try to avoid the python errors.<\/p>\n<p>virtualenv pythonvirt<br \/>\nsource pythonvirt\/bin\/activate<br \/>\npip install &#8211;upgrade virtualenv pip<br \/>\npip install &#8211;upgrade pyconfig<br \/>\npip install &#8211;upgrade netifaces<\/p>\n<p>and now we want to pip without sudo!! to install python packages locally in the virtual environment.<\/p>\n<p>Run &#8220;sudo rosdep init&#8221; as:<\/p>\n<p>cd ~\/pythonvirt\/bin<br \/>\nsudo .\/rosdep init<\/p>\n<p>and do the whole installation process again.<\/p>\n<p><strong>2017-07-18<\/strong><br \/>\nWhen installed we copy to the pepper robot:<\/p>\n<p>tar -czf opennao-distro.tar.gz opennao-distro<br \/>\ntar -chzf pythonvirt.tar.gz pythonvirt    # -h dereferences symbolic links<br \/>\ntar -czf ros_catkin_ws.tar.gz ros_catkin_ws<br \/>\nsudo tar -czf usr_bin.tar.gz \/usr\/bin\/<br \/>\nsudo tar -czf usr_include.tar.gz \/usr\/include\/<br \/>\nsudo tar -czf usr_lib.tar.gz \/usr\/lib\/<br \/>\nsudo tar -czf usr_local_bin.tar.gz \/usr\/local\/bin\/<br \/>\nsudo tar -czf usr_local_include.tar.gz \/usr\/local\/include\/<br \/>\nsudo tar -czf usr_local_lib.tar.gz \/usr\/local\/lib\/<\/p>\n<p>then copy to pepper<\/p>\n<p>scp *.tar.gz nao@10.42.0.19:~\/         # the ip of pepper, it changes<\/p>\n<p>on pepper unpack:<\/p>\n<p>rm -rf opennao-distro pythonvirt ros_catkin_ws<br \/>\ntar -xf opennao-distro.tar.gz<br \/>\ntar -xf pythonvirt.tar.gz<br \/>\ntar -xf ros_catkin_ws.tar.gz<\/p>\n<p>mkdir -p ~\/local\/bin<br \/>\ntar -xf ..\/usr_bin.tar.gz<br \/>\nmv .\/usr\/bin\/* ~\/local\/bin<br \/>\ntar -xf ..\/usr_local_bin.tar.gz<br \/>\nmv .\/usr\/local\/bin\/* ~\/local\/bin<\/p>\n<p>mkdir -p ~\/local\/include<br \/>\ntar -xf ..\/usr_include.tar.gz<br \/>\nmv .\/usr\/include\/* ~\/local\/include<br \/>\ntar -xf ..\/usr_local_include.tar.gz<br \/>\nmv .\/usr\/local\/include\/* ~\/local\/include<\/p>\n<p>mkdir -p ~\/local\/lib<br \/>\ntar -xf ..\/usr_lib.tar.gz<br \/>\nmv .\/usr\/lib\/* ~\/local\/lib<br \/>\ntar -xf ..\/usr_local_lib.tar.gz<br \/>\nmv .\/usr\/local\/lib\/* ~\/local\/lib<br \/>\nmv .\/usr\/local\/lib\/pkgconfig\/* \/home\/nao\/local\/lib\/pkgconfig\/<\/p>\n<p>add file ~\/.bash_profile with content below so required environment variables are set:<\/p>\n<p><code># python virtual environment<br \/>\nsource pythonvirt\/bin\/activate<br \/>\nexport PYTHONPATH=~\/local\/lib\/python2.7:${PYTHONPATH}<\/p>\n<p># general setting<br \/>\nexport PATH=${PATH}:~\/local\/bin<br \/>\nexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~\/local\/lib<\/p>\n<p># ROS setting<br \/>\nexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~\/ros_catkin_ws\/install_isolated\/lib<br \/>\nsource ~\/ros_catkin_ws\/install_isolated\/setup.bash<\/code><\/p>\n<p>set the ROS_IP:<\/p>\n<p><code>export ROS_IP=10.42.0.19<\/code><\/p>\n<p>now &#8220;roscore&#8221; works<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lab book for work on the Robocup@Home Standard Platform League competition which uses the Pepper robot. I&#8217;m asked to look into: &#8211; localisation &#8211; navigation Earlier experiences with robots tell me that we need a simulator that allows us to easily run tests. And as we don&#8217;t yet have a pepper robot a simulator is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/pages\/413"}],"collection":[{"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/comments?post=413"}],"version-history":[{"count":79,"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/pages\/413\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/pages\/413\/revisions\/516"}],"wp:attachment":[{"href":"https:\/\/staff.fnwi.uva.nl\/b.terwijn\/wp-json\/wp\/v2\/media?parent=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}