Several options are possible to install ROS:ġ. In case you want to checkout the source code and start developing applications with your robot, please refer to one of the following tutorials. If you executed that, you can directly continue with the getting-started tutorial. This will install all necessary components to quickly get you started with NAO. sudo apt-get install ros-indigo-nao-robot If you want to use simply use RViz or other supported ROS tools, simply install the official release packages for NAO. Please note to change those packages to meet your local installation of ROS (e.g. So for ROS indigo please execute the following command to install those packages: sudo apt-get install ros-indigo-driver-base ros-indigo-move-base-msgs ros-indigo-octomap ros-indigo-octomap-msgs ros-indigo-humanoid-msgs ros-indigo-humanoid-nav-msgs ros-indigo-camera-info-manager ros-indigo-camera-info-manager-py Regardless whether you want to run ROS on your local remote computer or directly on the robot, some extra ROS packages are required in order to display all components of the ROS bridge. If these commands fails, please double check that your extracted python SDK folder is correctly in your PYTHONPATH To verify your correct installation of the Python bindings, open a python shell and try to include the ALProxy from naoqi. $ echo 'export PYTHONPATH=~/naoqi/pynaoqi-python2.7-2.1.4.13-linu圆4/lib/python2.7/site-packages:$PYTHONPATH' > ~/.bashrc To make this permanently available for every future terminal, edit your PYTHONPATH in your bashrc file too. $ export PYTHONPATH=~/naoqi/pynaoqi-python2.7-2.1.4.13-linu圆4/lib/python2.7/site-packages:$PYTHONPATH Add the NAOqi library path to PYTHONPATH. Next, we verify the installation of the Python bindings. You should see an output similar to: Starting NAOqi version 2.1.4.13 Tar xzf pynaoqi-python2.7-2.1.4.13-linu圆4.tar.gz # if you are using 64-bitĬheck the installation by executing NAOqi: $ ~/naoqi/naoqi-sdk-2.1.4.13-linu圆4/naoqi Tar xzf pynaoqi-python2.7-2.1.4. # if you are using 32-bit $ mkdir ~/naoqiĮxecute the following commands to extract your SDK. Please change the coming lines to your downloaded version. In the following, we install SDK version 2.7.2.17-linu圆4. Please change the files and download destination according to where you placed your files. Create a new directory and copy the downloaded tars inside. In the following, we will setup the support for the NAOqi SDK and Python bindings. This section covers installing NAOqi on your local PC, to remotely control the Nao, however if you want to install NAOqi on the robot itself then you need to investigate cross-compiling ROS for the Nao. However, a precompiled NAOqi binary is now included with the Webots 6.4.4 simulation software, so this will be covered in a different tutorial. In this tutorial we will start from version 2.1.4 and the Nao. If you are using both Pepper and the NAO, you should note that the SDKs for Pepper and NAO share a common set of features. For Pepper, there are SDKs in the version 2.5.10 and 2.5.5. The next step is to check which version of Pepper or Nao you are using.įor the Nao, there are SDKs in the version 2.8.6, 2.8.5, and 2.1.4. If you use a Pepper, you can download the SDK here. Are you using a Pepper or a Nao? If you are using the Nao, you can download the SDK here. To install the Aldebaran NAOqi SDK, you must first distinguish which robot you are using. For a basic installation of ROS components please refer to the ROS Installation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |