-
Notifications
You must be signed in to change notification settings - Fork 11
Tutorial 4: Keyboard Mapping
samaahitabelavadi edited this page Jul 5, 2017
·
6 revisions
-
Required ROS Packages
- For using Realsense R200 camera in Gazebo
- realsense_gazebo_plugin [2] - [1]
- For registering the depth image to colour image frame
- depth_image_proc - [1]
- image_common - [1]
- For incremental mapping
- rtabmap_ros - sudo apt-get install ros-indigo-rtabmap-ros
- For keyboard control of the ARDrone
- cvg_sim_gazebo - [1]
- For using Realsense R200 camera in Gazebo
-
Required Files
- demo.launch (realsense_gazebo_plugin/launch) - Launch Gazebo7 and load the simulated world
- register.launch (realsense_gazebo_plugin/launch) - Launch a nodelet to register the depth image to the colour image frame
- pub_camera_info.py (realsense_gazebo_plugin/scripts) - Run a script to publish fake depth and color camera info for the simulated cameras
- ardrone_get_odometry.py (cvg_sim_gazebo/scripts) - Run a script to fetch pose of the ardrone in Gazebo and publish the tf
- realsense.launch (realsense_gazebo_plugin/launch) - Launch the RTAB-Map package
- keyboard.py (cvg_sim_gazebo/scripts) - Start the keyboard tele-op to control the drone in Gazebo
-
Procedure
- Launch demo.launch present in realsense_gazebo_plugin package to start the simulated world along which has the ARDrone with a Realsense R200 camera mounted on it
- Launch register.launch present in realsense_gazebo_plugin package to register the depth image stream to the colour image stream
- Run the script pub_camera_info.py to publish fake camera metadata for the simulated Realsense R200 camera
- Run the script ardrone_get_odometry.py present in cvg_sim_gazebo package to fetch pose of the ardrone in Gazebo and to publish the corresponding transform (tf)
- Launch rtabmap.launch present in realsense_gazebo_plugin package to start RTAB-Map package which will start the incremental mapping process
- Start the ARDrone in simulation using the keyboard tele-op script (keyboard.py) present in cvg_sim_gazebo package and move the ARDrone to build a map of the world.
-
Appendix
- Github Link for packages - https://github.com/eYSIP-2017/eYSIP-2017_Indoor-Environments-Mapping-using-UAV
- Link to install Gazebo7 - https://github.com/eYSIP-2017/eYSIP-2017_Indoor-Environments-Mapping-using-3. UAV/blob/master/bash_scripts/install_gazebo7.sh
- Bash Script to launch all nodes and scripts for keyboard mapping - https://github.com/eYSIP-2017/eYSIP-2017_Indoor-Environments-Mapping-using-UAV/blob/master/bash_scripts/keyboard_mapping.sh
- Full video link - https://youtu.be/cg0Gf3kulE8