-
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
To get this visualization in rviz during the mapping-part run the following command locally inside the workspace:
roslaunch wilson_ros visualization_mapping.launch
To get this visualization in rviz during the coverage&navigation-part run the following command locally inside the workspace:
roslaunch wilson_ros visualization_coverage.launch
To get this visualization in rviz during the coverage&navigation-part run the following command locally inside the workspace:
roslaunch wilson_ros visualization_navigation.launchTo create a map run the following command via ssh on the robot:
roslaunch wilson_ros mapping.launchTODO
To start the coverage&navigation process you need 3 ssh connections to the robot. In the first connection run the following command:
roslaunch wilson_ros coverage.launchIn the second connection run the following command:
roslaunch wilson_ros boot_minimal.launchIn the third connection run the following command:
roslaunch wilson_ros navigation_minimal.launchIf you want to visualize the coverage / navigation data you may use rviz as described above.
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