ND2 - Project 2 - localization - files

Worlds Files (define environment)

A world is a collection of models such as your robot, cup, ground and sky.

<?xml version="1.0" ?>

<sdf version="1.4">

  <world name="default">

    <!-- Ground plane -->
    <include>
      <uri>model://ground_plane</uri>
    </include>

    <!-- Light source -->
    <include>
      <uri>model://sun</uri>
    </include>

    <!-- World camera -->
    <gui fullscreen='0'>
      <camera name='world_camera'>
        <pose>4.927360 -4.376610 3.740080 0.000000 0.275643 2.356190</pose>
        <view_controller>orbit</view_controller>
      </camera>
    </gui>

  </world>
</sdf>

Unified Robot Description Format (URDF) (define robot)

URDF can only describe a robot with rigid links connected by joints, not flexible links or parallel linkage.

Divided into 2 files (xacro / gazebo)

udacity_bot.xacro (robot specific information like links, joints, actuators, etc.)

visual + collision + inertial

udacity_bot.gazebo (gazebo specific info like robot material, frictional constants, and plugins to control the robot in gazebo)

A link contains [1]visual [2]inertial [3]collision

https://classroom.udacity.com/nanodegrees/nd209/parts/c199593e-1e9a-4830-8e29-2c86f70f489e/modules/8855de3f-2897-46c3-a805-628b5ecf045b/lessons/91d017b1-4493-4522-ad52-04a74a01094c/concepts/304b7bc0-6fe8-4614-bd09-4a545665adad#

https://bitbucket.org/osrf/gazebo/src/afe08834571835008fa7419f1feba5b7f89b9d62/plugins/DiffDrivePlugin.cc?at=gazebo7&fileviewer=file-view-default

Launch Files

more about gazebo empty_world.launch

https://github.com/ros-simulation/gazebo_ros_pkgs/blob/kinetic-devel/gazebo_ros/launch/empty_world.launch

Adaptive Monte Carlo Localization (AMCL) dynamically adjusts the number of particles over a period of time

Last updated

Was this helpful?