orne_navigation
This repository provides mobile navigation system with i-Cart mini for Tsukuba Challenge under Project ORNE.
Dependency Repositories
Install
Install ROS software (recommended ROS indigo version with Ubuntu 14.04LTS) at http://www.ros.org/wiki/ROS/Installation, please select Ubuntu platform.
$ cd CATKIN_WORKSPACE/src
$ git clone https://github.com/DaikiMaekawa/ypspur.git
$ catkin build ypspur
$ wstool init
$ wstool merge https://raw.githubusercontent.com/open-rdc/orne_navigation/indigo-devel/orne_pkgs.install
$ wstool up
$ rosdep install --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
$ catkin build
Usage
Bring up the real/simulated robot
The following will show the commands needed to bring up either real or simulated robots.
- Bring up the simulated robot
$ roslaunch orne_bringup orne_alpha_sim.launch // or orne_beta_sim.launch
- Bring up the real robot
$ roslaunch orne_bringup orne_alpha.launch // or orne_beta.launch
Build map
$ roslaunch orne_navigation_executor build_map_teleop.launch
During building a map, waypoints are recorded by pressing the No.1 button of the joystick.
When you set 2DNavGoal at the goal point on the RViz, waypoints will be saved and then waypoints file stored in orne_navigation/waypoints_cfg/waypoints.yaml is overwritten. So that, the navigation system can be automatically load waypoints configuration.
If you want to save a map, run a map_saver node like the following command.
$ rosrun map_server map_saver -f filename
Record the waypoints
- Using the PublishPoint message on the RViz
$ roslaunch orne_navigation_executor record_waypoints_viz.launch map_file:=filename.yaml
- Using a joystick
$ roslaunch orne_navigation_executor record_waypoints_joy.launch map_file:=filename.yaml
Note that filename must be specified in the full path.
Navigation
- Waypoint Navigation
$ roslaunch orne_navigation_executor play_waypoints_nav.launch
- Waypoint Navigation with an optional map file
$ roslaunch orne_navigation_executor play_waypoints_nav.launch map_file:=filename.yaml
A map name must be specified in the full path.
- Enable the starting flag
Click "StartWaypointsNavigation" button on Rviz
- Run the navigation system with a static map
$ roslaunch orne_navigation_executor nav_static_map.launch
Don't forget to turn off the teleoperation, it might interfere with the robot's commands.
Bugs & Tasks
https://github.com/open-rdc/orne_navigation/issues
License
Copyright (c) 2014 - 2015, Daiki Maekawa and Chiba Institute of Technology.
License-check is open source software under the BSD license.