Difference between revisions of "HamsterServer"
Line 13: | Line 13: | ||
===Bashrc configuration=== | ===Bashrc configuration=== | ||
− | Before all actions | + | Before all actions need to pre-configure local machine.Copy to <strong>.bashrc</strong> file: |
<code>export ROS_MASTER_URI=http://localhost:11311 | <code>export ROS_MASTER_URI=http://localhost:11311 |
Revision as of 16:00, 25 March 2018
Few steps for hamster server install:
Contents
Single-master configuration:
Editing
Multi-master configuration
Bashrc configuration
Before all actions need to pre-configure local machine.Copy to .bashrc file:
export ROS_MASTER_URI=http://localhost:11311
export ROS_IP=localhost
and make source .bashrc
from terminal
Hamster workspace and launch configuration
1. On your laptop create hamster workspace:
daria@daria:~$ mkdir -p hamster_ws/src
2. Inside scr folder download hamster_server:
daria@daria:~$ cd hamster_ws/src
daria@daria:~/hamster_ws$ git clone -b multimaster https://git.cogni.io/hamster/hamster_server_launch.git
3. Source for you workspace:
inside hamser_ws folder:
daria@daria:~/hamster_ws$ source /opt/ros/kinetic/setup.bash
daria@daria:~/hamster_ws$ catkin_make
daria@daria:~/hamster_ws$ source devel/setup.bash
4. Launch server:
daria@daria:~/hamster_ws$ roslaunch hamster_server_launch server.launch
Note
Rqt UI requires Linux Ubuntu 14.04 (Trusty)
Server launch reqiures 2 ros nodes install:
daria@daria:~$ sudo apt-get install ros-<distro>-master-discovery-fkie ros-<distro>-master-sync-fkie
<distro> - your ROS version (kinetic, indigo etc..)