#################################### ##FILL ME IN #################################### ## for a custom note with links: ## !note = ## for the canned note of "This tutorial assumes that you have completed the ## previous tutorials:" just add the links ## !note.0.link= ## descriptive title for the tutorial ## title = Husky AMCL Demo ## multi-line description to be displayed in search ## description = Running Husky with a [[move_base]] setup, using [[amcl]] for localization. ## the next tutorial description (optional) ## !next = ## links to next tutorial (optional) ## next.0.link=[[husky_navigation/Tutorials/Husky Gmapping Demo|Husky Gmapping Demo]] ## !next.1.link= ## what level user is this tutorial for ## level= BeginnerCategory ## keywords = Clearpath Husky #################################### <> This tutorial shows you how to use [[move_base]] with [[amcl]] to perform autonomous planning and movement with localization on a simulated Husky, or a factory-standard Husky with a laser scanner publishing on the `scan` topic. To adapt this demo to your own Husky, you may need to clone the [[husky_navigation]] repository, and modify the relevant parameters. To learn about [[move_base]], [[amcl]], and the [[navigation]] stack, see the [[navigation/Tutorials|Navigation Tutorials]]. == Instructions == 1. Please make sure that the Husky navigation demo package is installed: {{{ $ sudo apt-get install ros-indigo-husky-navigation }}} 1. In three separate terminal windows: i. Start the Clearpath-configured Husky simulation environment: {{{ $ roslaunch husky_gazebo husky_playpen.launch }}} i. Start the Clearpath-configured [[rviz]] visualizer: {{{ $ roslaunch husky_viz view_robot.launch }}} i. Start the `amcl` demo: {{{ $ roslaunch husky_navigation amcl_demo.launch }}} 1. In the Rviz visualizer, make sure the visualizers in the ''Navigation'' group are enabled. 1. Use the ''2D Pose Estimate'' tool in the top toolbar to give `amcl` an initial pose estimate. Without an initial estimate, the Monte Carlo localization approach is unlikely to converge the correct pose. 1. Use the ''2D Nav Goal'' tool in the top toolbar to select a movement goal in the visualizer. Make sure to select an unoccupied (dark grey) or unexplored (light grey) location. 1. Note that in this example, the robot uses data from the laser scanner to correct the fused odometry estimate, and mitigate drift. The `amcl` node uses a pregenerated map of this environment to compare against incoming scans. See the next tutorial for a demo with localization and mapping.