Skip to content

Releases: softbankrobotics-research/sbre_robot_ros_gentoo_prefix

Release 0.0.1

03 Apr 10:25
Compare
Choose a tag to compare

Set up ros gentoo prefix on your robot

Download the wanted release (kinetic, melodic, kinetic_32 or melodic_32) and gather the compressed files part into one (example with kinetic):

cat sbre_robot_ros_kinetic_gentoo_prefix.tar.gz.part* > sbre_robot_ros_kinetic_gentoo_prefix.tar.gz

Send it on your robot with:

scp sbre_robot_ros_kinetic_gentoo_prefix.tar.gz nao@ROBOT_IP:.

Ssh on your robot to launch the gentoo prefix:

ssh nao@ROBOT_IP

Uncompressed the gentoo prefix on your robot (you can remove the compressed file afterward):

tar xzf sbre_robot_ros_kinetic_gentoo_prefix.tar.gz

Use gentoo prefix and ROS

In order to use the gentoo prefix and ros by default you can
send the .bash_profile (ros_base/config/.bash_profile) on the robot's head or follow the next step.

Use gentoo prefix

Start the gentoo prefix:

./gentoo/startprefix

Now you can use emerge and others tools.

Use ROS

Your are now into the gentoo prefix.
First you need to source ros:

source /tmp/gentoo/opt/ros/melodic/setup.bash

Export the catkin prefix path:

export CATKIN_PREFIX_PATH=/tmp/gentoo/opt/ros/melodic

Fix the ROS_IP variable with your ROBOT_IP:

export ROS_IP=ROBOT_IP

Now you can use catkin_make or roscore