GithubHelp home page GithubHelp logo

urdf_sim_tutorial's Introduction

urdf_sim_tutorial

Nonfunctional gazebo interface

roslaunch urdf_sim_tutorial gazebo.launch

Gazebo plugin

  1. Link Gazebo and ROS
  <gazebo>
    <plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
      <robotNamespace>/</robotNamespace>
    </plugin>
  </gazebo>
  1. Test the model that links ROS and Gazebo
    • Does not do anything. It is required more information!
roslaunch urdf_sim_tutorial gazebo.launch model:=`rospack find urdf_sim_tutorial`/urdf/09-publishjoints.urdf.xacro
  1. Spawning controllers
    • Kind off bits of ROS code to run within Gazebo
    • Specified in the file joints.yaml
  2. Test the spawner script that loads the controller and publishes the state of the robot's joints into ROS directly from Gazebo
    • If you execute rostopic list, you can see that /joint_states topic is publishing but with nothing in it
roslaunch urdf_sim_tutorial 09-joints.launch
  1. Transmissions
    • For every non-fixedd joint, it is necessary to specify a transmission to tell Gazebo that to do with the joint!
    • See tags <transmission> in the urdf file (including for the wheels)
  2. Joint control
    • Specify a joint controller for each joint
    • See the yaml files in config

Drive the Droid

roslaunch urdf_sim_tutorial 13-diffdrive.launch

Useful links to learn more about Gazebo and URDF/Xacro

urdf_sim_tutorial's People

Contributors

dlu avatar sousarbarb avatar clalancette avatar sloretz avatar ahcorde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.