element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Robotics
  • Technologies
  • More
Robotics
Blog Building a Robot! (Simulated)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 12 Nov 2015 6:33 PM Date Created
  • Views 2719 views
  • Likes 9 likes
  • Comments 24 comments
  • simulation
  • robotics
  • gazebo
Related
Recommended

Building a Robot! (Simulated)

shabaz
shabaz
12 Nov 2015

After having built a couple of small wheeled platforms (a crude attempt called XMP-1 and a slightly better one called XMP-2) I was curious what simulation tools were out there specifically geared toward robotics design.

This is just a quick summary of one of the simulation tools that are available, called Gazebo.

 

Gazebo was incredibly easy to get going – a single command line will install it onto Linux, and when run it is easy to add bits and pieces from the toolbar and get going.

I’ve yet to work through the tutorials but I’m hoping to eventually simulate XMP-2 so I can write better code easily.

 

Here is a screenshot of Gazebo, and a quick video showing some basic physics, pushing the robot into coke cans.

image

 

Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

More complex movements are possible too. Here is a robot gripper with torque being applied to part of it:

image

Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The simulation includes gravity and friction and many attributes are configurable.

The models can be created in XML files, and the tutorials look comprehensive.

The example below from a tutorial shows a snippet of a robot, where a box-shaped chassis is needed. The <pose> element contains the position (xyz, and orientation in three dimensions). The <collision> and <geometry> elements contain a <box> element which defines a box of size 0.4x0.2x0.1m in this example.

Usually they are the same; one element is used for the graphics, and the other is for the collision-detection algorithm to use.

image

 

The simulation can be connected up to real hardware or software through the use of an application programming interface (API), so it is possible to test robotics software before you've built the hardware, or you can interface your sensors and start programming movements.

It all looks extremely interesting!

Check out the second part by clicking here, which goes into detail about how to construct a model (based on a real hardware robot called XMP-2) and how to control it using external stimulus.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 10 years ago +1
    I agree. I was not aware that Gazebo existed, but it definitely looks interesting to look at mechanical designs. I will add it to my list of tools to check out. Thanks, DAB
  • shabaz
    shabaz over 10 years ago +1
    Hi Shabaz! Really, thank you to point on this. It seems very good. At the moment I am working on the following "robotizations" Camera slider with controller and horizontal programmable movement; camera…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to shabaz +1
    Hello Shabaz! Many thanks for the update. In the meantime I am installing the software that is really intriguing. I'm going to try and understand how to produce a simple single mechanical movement or linkage…
  • shabaz
    shabaz over 10 years ago in reply to balearicdynamics

    Hey Enrico,

     

    That's awesome!

    Yeah it was just chance that I'd picked 64-bit. If I'd picked 32-bit I would have been totally stuck.

    Glad it is functioning. Have fun!! Will be interesting to see what uses we can put such an application.

    I've yet to use the API, but might take me a week to get round to that : (

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to shabaz

    Hi Shabaz,

     

    we can definitely consider the issue specific of the Ubuntu 32 bit. Unfortunately this is not mentioned at all (by contrary the declare the support for both 32 and 64 bit versions). I have recreated a VM with Ununtu 14.04.3 LT 64 bit just now, following - as you have done - a normal installation. Then launched the script (using wget instead downloading the script but I think it is the same). Gazebo started the installation, downloaded all the packages and all completed without any warning nor errors. Launched gazebo... Et voilá image

     

    Thank you for your support and feedback. Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to shabaz

    Hello Shabaz,

     

    thank you for the link. Good to know, so (just a minute) I will remove the vm, download the 64 bit version then install it etc ...  image I'll notice you if it works of if it is a problem of the island.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to balearicdynamics

    Hi Enrico,

     

    Ah, that's it. Just found this which appears the same sympton:

    https://bitbucket.org/osrf/gazebo_tutorials/issues/42/gazebo6-installation-failing-on-ubuntu

    That user's solution was to install 64-bit.

    That URL appears to have set the issue to 'resolved' but I don't see why. Surely users on 32-bit would still experience the issue : (

    Anyway, not sure where the root cause is, but 64-bit will work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to shabaz

    Hi Shabaz ... ;(

     

    There is a possibility, that we never can discover. And I will try next days (now it is reasonably late I an start working on just only one computer instead the usual 2-3 image) you are working with the 64 bit version and I am on the 32 bit version. The reason is that a VM 32 bit works faster in a Mac 64 bit. But I have a lot of ram here (32 Gb hacked) and I can create a 64 bit version to test it.

     

    This is the only real difference I an see.

    Some other ideas ?

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube