Giter Site home page Giter Site logo

mbot_simulation_environments's Introduction

ISR testbed simulated environment

Gazebo 7 based simulated apartment used during European Robotics League (ERL).

Brought to you by:

To see a video of how the models were textured, you can see this youtube tutorial video part1 part2

This code was tested on Ubuntu 16.04 and ROS kinetic with Gazebo 7

This is how the simulation looks like:

alt ERL_gazebo_testbed

Installations instructions

Clone and compile the code into your catkin workspace:

    git clone https://github.com/socrob/mbot_simulation_environments.git
    catkin build
    source ~/.bashrc

Launch only the environment:

    roslaunch mbot_simulation_environments load_environment_example.launch

We provide with the following sample Launch file to spawn your own robot inside our ISR tesbed - apartment:

<?xml version="1.0"?>
<launch>

    <!-- whether you want gazebo gui or not (saves resources if you set this to false) -->
    <arg name="gazebo_gui" default="false" />

    <!-- select your world -->
    <arg name="world_name" default="isr-testbed.world" /> <!-- set to "empty.world" for empty world -->
    <arg name="world_path" default="$(find mbot_simulation_environments)/worlds" /> <!-- set to "worlds" empty world -->

    <!-- launch robot environment -->
    <include file="$(find mbot_simulation_environments)/launch/load_environment_example.launch" >
        <arg name="world_name" value="$(arg world_name)" />
        <arg name="world_path" value="$(arg world_path)" />
        <arg name="gazebo_gui" value="$(arg gazebo_gui)" />
    </include>
    
    <!-- upload URDF model of the robot to parameter server -->
    <param name="robot_description"
           command="$(find xacro)/xacro --inorder $(find your_robot_description)/xacro/my_robot_urdf.urdf.xacro" />
    
    <!-- spawn robot (in a certain position and with a default arm configuration) -->
    <node pkg="gazebo_ros" type="spawn_model" name="mbot_spawner"
          args="-package_to_model -urdf -model my_robot_name -param robot_description -x 0.5 -y 0.5 -z 0.01
          -J left_arm_joint0 0.0
          -J left_arm_joint1 1.18
          -J left_arm_joint2 0.12
          -J left_arm_joint3 0.92
          -J left_arm_joint4 0.24
          -J left_arm_joint5 0.63
          -J left_arm_joint6 0.44" />
          
</launch>

Enjoy!

If errors, please report bugs by using the issues in this repository

mbot_simulation_environments's People

Contributors

oscar-lima avatar jhielson avatar miguelvidex avatar emiliabrzozowska avatar

Watchers

James Cloos 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.