Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsk_naoqi_robot/README] Update for kinetic user #969

Merged
merged 6 commits into from
Nov 16, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions jsk_naoqi_robot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,27 @@ Then put the file under your ``pynaoqi`` folder.
2. Export environment variables in your ``.bashrc``

```
# Python NAOqi SDK version >= 2.5.5
export PYTHONPATH=$HOME/pynaoqi/pynaoqi-python2.7-2.5.5.5-linux64/lib/python2.7/site-packages:$PYTHONPATH

# Python NAOqi SDK version < 2.5.5
export PYTHONPATH=$HOME/pynaoqi/<your Python SDK package name>:$PYTHONPATH

export NAO_IP="olive.jsk.imi.i.u-tokyo.ac.jp" % OR IP address like "133.11.216.xxx"
export ROS_IP="133.11.216.yyy" % OR run rossetip command to set ROS_IP
```
% `pose_controller.py` in `naoqi_pose` imports `NaoqiNode` from `naoqi_node.py` in `naoqi_driver_py`.

% `naoqi_node.py` imports `ALProxy` from `naoqi.py`.

% `naoqi.py` is under `pynaoqi-python2.7-2.5.5.5-linux64/lib/python2.7/site-packages/`


% NAO_IP is IP address of Pepper. Pepper tells you their address when pushing their belly button.

% Please install ```ros-indigo-jsk-tools``` to use ```rossetip``` command.


3. Install ROS packages for Pepper

```
Expand All @@ -37,12 +51,6 @@ rosdep install -y -r --from-paths src --ignore-src
catkin build
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before executing catkin build, installing ros-$ROS_DISTRO-pepper(nao)-meshes manually is required in order to get pepper(nao).l

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catkin build -c is better? because many packages are abandoned when one package failed to be compiled.
https://gist.github.com/kochigami/c29acd6ca562752d834996c6b51f89ad

source devel/setup.bash
```
% In addition, please install ```ros-indigo-jsk-tools``` to use ```rossetip``` command.
Otherwise, please write the line below in your ```.bashrc```.

```
export ROS_IP="133.11.216.yyy"
```

4. (optional) For Pepper developers

Expand All @@ -51,6 +59,9 @@ Please add following source code for debugging.
```
cd catkin_ws/src
wstool set pepper_robot --git http://github.com/ros-naoqi/pepper_robot
wstool set naoqi_driver --git http://github.com/ros-naoqi/naoqi_driver
wstool set naoqi_bridge --git http://github.com/ros-naoqi/naoqi_bridge
wstool set naoqi_bridge_msgs --git http://github.com/ros-naoqi/naoqi_bridge_msgs
```

NAO
Expand Down