Difference between revisions of "HamsterServer"

From cogniteam
Jump to: navigation, search
(Bashrc configuration)
Line 12: Line 12:
 
===Bashrc configuration===
 
===Bashrc configuration===
  
Before all action you need to pre-configure you local machine for project:
+
Before all action you need to pre-configure you local machine for project copy to your <strong>.bashrc</strong> file:
+
 
 +
<code>export ROS_MASTER_URI=http://localhos:11311
 +
 
 +
export ROS_IP=localhost</code>
 +
 
 +
===Hamster workspace and launch configuration==
  
 
1. On your laptop create hamster workspace:
 
1. On your laptop create hamster workspace:

Revision as of 15:12, 25 March 2018


Few steps for hamster server install:

Single-master configuration:

Multi-master configuration

Bashrc configuration

Before all action you need to pre-configure you local machine for project copy to your .bashrc file:

export ROS_MASTER_URI=http://localhos:11311

export ROS_IP=localhost

=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

Attention!

Rqt UI requires Linux Ubuntu 14.04 (Trusty)

Server launch reqiures 2 ros nodes install:

sudo apt-get install ros-<distro>-master-discovery-fkie ros-<distro>-master-sync-fkie

distro - your ROS version (kinetic, indigo etc..)