-
Notifications
You must be signed in to change notification settings - Fork 1
User's Guide
ROS kinetic can be installed as described here.
A VM with an ubuntu with pre-installed ROS can be found here: PC-Setup ROS-Kinetic
WilsonROS requires some packages which can be installed e.g. on ubuntu using this command:
sudo apt-get -y install ros-kinetic-openslam-gmapping ros-kinetic-smach-viewerCreate a directory and initialize a workspace for WilsonROS
mkdir -p wilsonros/src
cd wilsonros/src
catkin_init_workspaceClone the repository into the src folder
git clone https://github.com/WilsonROS/wilson_rosGo to the wilsonros folder and compile the project.
cd ..
catkin_makeIt may appear that catkin_make fails at first, repeating this command can solve the issue.
The environment variables for WilsonROS can be set persistently using this commands, assuming that the workspace folder was created in the home directory:
cat - >> ~/.bashrc <<EOF
export ROS_MASTER_URI=http://10.42.0.1:11311/
cd ~/wilsonros/
source ./devel/setup.bash
EOF
source ~/.bashrcTODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO



TODO
TODO
The initial position is used and published by AMCL. It can be configured by editing the launch/amcl.launch file.
But first one needs to know the new position. This can be achieved as follows
- Booting up the robot (as explained above) 
- Starting RViz from the command line with
rviz(with a configured command line, as explained above)
- Adding relevant topics to the visualization: /map, /amcl_pose
- Selecting "2D pose estimate" ant place it at the new position approximately. The AMCL position should move to the point previously selected
- The command line shows the newly selected pose
- The launch file needs to be edited to match the position from the command line