#################################### ##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 = Simulating Husky ## multi-line description to be displayed in search ## description = How to bring up a simulated Husky robot using the Gazebo simulator. ## the next tutorial description (optional) ## !next = ## links to next tutorial (optional) ## next.0.link= [[husky_control/Tutorials/Interfacing with Husky|Interfacing with Husky]] ## !next.1.link= ## what level user is this tutorial for ## level= BeginnerCategory ## keywords = Clearpath Husky #################################### <> Husky can be simulated in several environments using the [[husky_gazebo]] packages. To start a simulation: 1. Make sure the simulation package is installed: {{{ $ sudo apt-get install ros--husky-simulator }}} Using the short name of your ROS distribution instead of . 2. Set an environmental variable HUSKY_GAZEBO_DESCRIPTION: {{{ $ export HUSKY_GAZEBO_DESCRIPTION=$(rospack find husky_gazebo)/urdf/description.gazebo.xacro }}} 3. Run one of the two provided simulation environments: i. Simulate Husky in an empty world. You can add new objects to this world using the Gazebo controls ([[http://gazebosim.org/tutorials?tut=build_world|Gazebo Tutorial - Building a World]]. {{{ $ roslaunch husky_gazebo husky_empty_world.launch }}} i. Simulate Husky in a Clearpath designed world. This is the base environment for the [[husky_navigation/Tutorials|navigation tutorials]]. It will take some time to start, as the simulator will need to download resources from the Gazebo servers. {{{ $ roslaunch husky_gazebo husky_playpen.launch }}} 4. Pick your own world in which to simulate Husky ([[http://gazebosim.org/tutorials/?tut=ros_roslaunch#UsingroslaunchtoOpenWorldModels|Using roslaunch with Gazebo]]). {{{ $ roslaunch husky_gazebo husky_empty_world.launch world_name:=worlds/willowgarage.world }}}