1. Some Previous Steps¶
Enable the LCAS package repositories:
Add the LCAS public key to verify packages:
curl -s http://lcas.lincoln.ac.uk/repos/public.key | sudo apt-key add -
Add the LCAS repository:
sudo apt-add-repository http://lcas.lincoln.ac.uk/repos/release
update your index:
sudo apt-get update
Install the package “uol_cmp3641m” which will install all required packages:
sudo apt-get install ros-indigo-turtlebot-gazebo
2. Launch Simulation¶
Define
TURTLEBOT_GAZEBO_WORLD_FILE
:export TURTLEBOT_GAZEBO_WORLD_FILE=/opt/ros/indigo/share/turtlebot_gazebo/empty.world
Launch Simulation:
roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=$(rospack find turtlebot_gazebo)/worlds/empty.world
Launch RVIZ:
rosrun rviz rviz
Keyboard teleop:
roslaunch kobuki_keyop keyop.launch
2. Create 2D Map¶
run gmapping after all steps in 2:
rosrun gmapping slam_gmapping
2. Create Topological Map¶
TOM check this also needs to be running https://github.com/LCAS/Rusty/blob/indigo-devel/rusty_simulation/scripts/robot_pose_publisher.py
Launch MongoDB:
roslaunch mongodb_store mongodb_store.launch db_path:=/path/to/mongodb
Launch Topological Navigation:
roslaunch topological_navigation topological_navigation_empty_map.launch map:=Name_of_your_map
Launch RVIz:
Add Interactive markers to edit your map
Original page: https://github.com/strands-project/lamor15/wiki/ICRAI-workshop