This repository provides mobile navigation system with i-Cart mini for Tsukuba Challenge under Project ORNE.
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
$ 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
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
$ roslaunch orne_navigation 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
- Using the PublishPoint message on the RViz
$ roslaunch orne_navigation record_waypoints_viz.launch map_file:=filename.yaml
- Using a joystick
$ roslaunch orne_navigation record_waypoints_joy.launch map_file:=filename.yaml
Note that filename must be specified in the full path.
- Waypoint Navigation
$ roslaunch orne_navigation play_waypoints_nav.launch
- Waypoint Navigation with an optional map file
$ roslaunch orne_navigation play_waypoints_nav.launch map_file:=filename.yaml
A map name must be specified in the full path.
- Run the navigation system with a static map
$ roslaunch orne_navigation nav_static_map.launch
- Enable the starting flag
$ rostopic pub -1 /syscommand std_msgs/String "start"
Don't forget to turn off the teleoperation, it might interfere with the robot's commands.
https://github.com/open-rdc/orne_navigation/issues
Copyright (c) 2014 - 2015, Daiki Maekawa and Chiba Institute of Technology.
License-check is open source software under the BSD license.