Skip to content

envire4mars/simulation-buildconf

 
 

Repository files navigation

Contents

  1. Quick Instructions
  2. TroubleShooting
  3. Introduction to Envire and EnvireMars

Quick Instructions

First of all, we need to Install MARS Environment.

We need to perform the following steps without usings sudo (to avoid generating files and folders owned by root). Now, open the Terminal or Command Prompt and follow the following steps step-by-step.

  1. Install the dependencies of Autoproj:
   $ apt-get update
   $ apt-get install -y build-essential ruby ruby-dev sudo wget
  1. Create a folder where your environment will be checked out and installed.
   $ mkdir mars_dev
   $ cd mars_dev

From here on, perform the steps from the newly created directory.

  1. Download the autoproj bootstrap script
   $ wget http://rock-robotics.org/autoproj_bootstrap
  1. Run the boostrap script and provide the repository address

If your user has set up his/her keys in the github and gitlab account, then use this command

   $ ruby autoproj_bootstrap git git@github.com:envire4mars/simulation-buildconf.git branch=envireMars

If the user has not generated the SSH key and set it up in his/her github and gitlab account then use this command

    $ ruby autoproj_bootstrap git https://github.com/envire4mars/simulation-buildconf.git branch=envireMars

Answer "whether C++11 should be enabled for Rock packages [false]" with "true" and the other with default (just hit enter)

  1. Source your environment
    $ source env.sh
  1. Check out updates
    $ autoproj update
  1. Build your environment
    $ autoproj build        

This step will start building everything.

  1. Check for instance that mars_app is installed. To launch the mars application:
    $ mars_app          

In mars_app you can load different environments and robots of your choice.

TroubleShooting

1- No Access Right:

Sometimes you may face the problems like "No Access Rights to your repository": Make sure you have corrected generated the SSH Key for both GitLab and GitHub

Similarly, sometimes you don't have access to the specific Repository forexample: "No Access Rights to git@git.hb.dfki.de/models-environments" In this case, you have to make an access request to the maintainer/owner of that Repository.

2- AFTER ENTERING autoproj build.

Maybe you get an error "CMake fails to compile the simple test". There are two possibilites to overcome this problem:

First of all install build essential using the correspondent command:

    $ sudo apt install build-essential

If you are still having the same error, then you can try by removing ccache. The default configuration does not use ccache but sometimes errors are triggered if it was installed but not selected for use. You can remove ccache with

     $ apt-get remove ccache

Introduction to Envire and EnvireMars

Envire

The envire graph is the backbone of the whole library. It stores arbitrary data and time & space transformations between the data.

Envire is mainly used in navigation as a package for expressing arbitrary information about a robot's environment, but it could be extended to also include robot environment interaction for manipulation.

The reason for having a common datastructure for representing the environment is, among others, to simplify the interchange of environment representation information between applications/algorithms. Envire package is mainly made up of three types of objects.

  1. Maps - give information in a given reference frame.

  2. Frames - provide the spatial context for the maps

  3. Operators - carry out operations on maps by considering the maps' frame associations

More details

  1. Official introduction to Envire

  2. Hidalgo Carrió, et al, EnviRe - Environment Representation for Long-term Autonomy, AI for Long-term Autonomy Workshop on the International Conference on Robotics and Automation (ICRA). IEEE International Conference on Robotics and Automation (ICRA-16), May 16-20, Stockholm, Sweden, 2016.

  3. Official introduction to Envire_Core

MARS

MARS (Machina Arte Robotum Simulans) is a cross-platform simulation and visualisation tool created for robotics research developed at the DFKI-RIC and the University of Bremen. It runs on (Ubuntu) Linux, Mac and Windows and consists of a core framework containing all main simulation components.

Those components are:

  1. Open Scene Graph (OSG) for its visualisation
  2. Open Dynamics Engine (ODE) for the physical simulation
  3. Qt for the GUI

More details

  1. Official introduction to Mars

UML Diagrams of EnvireMars

1) Package Diagram of EnvireMars

Package Diagram of EnvireMars

This Package Diagram was edited with "Umbrello" but we encountered problems with the tool and we are not using it anymore, for new diagrams we use papyrus. The source files are inside the Envire_MARS_Package_Diagrams folder.

2) Activity Diagram of EnvireMars

Activity Diagram of EnvireMars

This Package Diagram can be edited by using UML designing tool called "Eclipse Papyrus". Source files are inside the EnvireMars_Activity_Diagram folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 43.6%
  • Ruby 42.8%
  • Roff 8.2%
  • D 5.4%