-
Notifications
You must be signed in to change notification settings - Fork 17
ICRAI workshop
Jaime Pulido Fentanes edited this page Oct 22, 2016
·
3 revisions
-
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
- 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 ```
- run gmapping after all steps in 2:
``` rosrun gmapping slam_gmapping ```
- simple version:
``` roslaunch turtlebot_navigation amcl_demo.launch map_file:=/my_2dmap.yaml ```
- check link:
http://wiki.ros.org/turtlebot_navigation/Tutorials/Autonomously%20navigate%20in%20a%20known%20map
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