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.
- Install the dependencies of Autoproj:
$ apt-get update
$ apt-get install -y build-essential ruby ruby-dev sudo wget
- 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.
- Download the autoproj bootstrap script
$ wget http://rock-robotics.org/autoproj_bootstrap
- 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 [email protected]: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)
- Source your environment
$ source env.sh
- Check out updates
$ autoproj update
- Build your environment
$ autoproj build
This step will start building everything.
- 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.
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 [email protected]/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
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.
-
Maps - give information in a given reference frame.
-
Frames - provide the spatial context for the maps
-
Operators - carry out operations on maps by considering the maps' frame associations
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:
- Open Scene Graph (OSG) for its visualisation
- Open Dynamics Engine (ODE) for the physical simulation
- Qt for the GUI
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.
This Package Diagram can be edited by using UML designing tool called "Eclipse Papyrus". Source files are inside the EnvireMars_Activity_Diagram folder.