Skip to content

Commit e507da0

Browse files
committed
Update README, AUTHORS, INSTALL and LICENSE (closes #14 #18)
+ Add a screenshot to the README
1 parent b073d51 commit e507da0

File tree

5 files changed

+103
-101
lines changed

5 files changed

+103
-101
lines changed

Diff for: AUTHORS.md

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
# Head Developer
2-
- Ali Koochakzadeh - Amirkabir University of Technology ([email protected])
1+
## Authors
32

3+
grSim was originally developed by [Ali Koochakzadeh](https://github.com/ali-k) and [Mani Monajjemu](https://mani.im) from [Parsian](http://wiki.robocup.org/Small_Size_League/Teams#Parsian), the RoboCup Small Size Team of [Amirkabir University of Technology](http://www.aut.ac.ir/aut/). Since 2011, it has received numerous contributions from the RoboCup SSL community as well as Parsian team members (listed below). grSim is Currently maintained by [Mohammad Mahdi Rahimi](https://github.com/Mahi97).
44

5-
# Project Manager
6-
- Mani Monajjemi - Simon Fraser University (https://github.com/mani-monaj)
5+
### Contributers
76

7+
- [Christopher Head](https://github.com/Hawk777) - Thunderbots (University of British Coloumbia)
8+
- [Jonathan Fraser](https://github.com/Binaryblade) - Thunderbots (University of British Coloumbia)
9+
- [Verónica Raspeño]([email protected]) - University Carlos III of Madrid
10+
- [Alejandro Caparrós]([email protected]) - University Carlos III of Madrid
11+
- [Jan Segre]([email protected]) - RoboIME
12+
- [Henrique Bonini de Britto Menezes]([email protected]) - Universidade de São Paulo
813

9-
# Other Contributers
10-
- Christopher Head - University of British Coloumbia (https://github.com/Hawk777)
11-
- Jonathan Fraser - University of British Coloumbia (https://github.com/Binaryblade)
12-
- Verónica Raspeño - University Carlos III of Madrid- ([email protected])
13-
- Alejandro Caparrós - University Carlos III of Madrid - ([email protected])
14-
- Jan Segre - RoboIME Team ([email protected])
15-
- Henrique Bonini de Britto Menezes - Universidade de São Paulo - ([email protected])
14+
### Contributers from Parsian SSL
1615

17-
# Contributers from Parsian Small Size Team from Amirkabir University of Technology
18-
- Sepehr Mohaimanianpour ([email protected])
19-
- Arash Behmand ([email protected])
20-
- Mohammad Mahdi Rahimi (https://github.com/Mahi97)
21-
- Ehsan Omidi ([email protected])
16+
- [Sepehr Mohaimanianpour](http://sepehr.im)
17+
- [Arash Behmand](https://github.com/arashbehmand)
18+
- [Mohammad Mahdi Rahimi](https://github.com/Mahi97)
19+
- [Ehsan Omidi](#)

Diff for: INSTALL.md

+68-67
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,114 @@
11
# GrSim - INSTALL
2+
23
## Overview
34

4-
We developed grSim on Ubuntu 9.10+ OS. (Ubuntu 14.04+ tested and is recommended). It is very important that the Graphics Card Driver is installed. (Ubuntu packages of nVidia and AMD(ATI) graphics cards are available). grSim will compile and run in both 32 and 64 bits Linux and Mac-osx.
5+
We developed grSim on Ubuntu OS. (Ubuntu 14.04+ tested and is recommended). It is important that the graphics card driver is installed properly (the official Ubuntu packages for nVidia and AMD(ATI) graphics cards are available). grSim will compile and run in both 32 and 64 bits Linux and Mac OS.
56

67
GrSim is written in C++, in order to compile it, you will need a working toolchain and a c++ compiler.
78

89
## Dependencies
910

1011
GrSim depends on:
1112

12-
- OpenGL <https://www.opengl.org>
13-
- Qt4 Development Libraries <https://www.qt.io>
14-
- Open Dynamics Engine (ODE) <http://www.ode.org>
15-
- VarTypes Library <https://github.com/szi/vartypes>
16-
- Google Protobuf <https://github.com/google/protobuf>
17-
18-
We use CMake <http://www.cmake.org/> to build and install GrSim.
13+
- [CMake](https://cmake.org/) version 2.8+
14+
- [OpenGL](https://www.opengl.org)
15+
- [Qt4 Development Libraries](https://www.qt.io) version 4.8+
16+
- [Open Dynamics Engine (ODE)](http://www.ode.org)
17+
- [VarTypes Library](https://github.com/szi/vartypes)
18+
- [Google Protobuf](https://github.com/google/protobuf)
19+
- [Boost development libraries](http://www.boost.org/) (needed by VarTypes)
1920

21+
**Note:** It's necessary to compile ODE in double precision. This is default when installing the ODE binaries in Ubuntu. However, if you are compiling ODE from source (e.g on Mac OS), please make sure to enable the double precision during the configuration step: `./configure --enable-double-precision`.
2022

21-
> It's neccessery to use ode double percision so if you'r using source code, please attention to use `./configure --enable-double-precision` for configuration.
22-
23-
## Linux/Unix Installation
23+
### Linux/Unix Installation
2424

2525
If you run a Debian system, or derivative, first ensure that these dependencies are there:
2626

2727
```bash
28-
sudo apt-get install build-essential cmake libqt4-dev libgl1-mesa-dev libglu1-mesa-dev libprotobuf-dev protobuf-compiler libode-dev
28+
$ sudo apt-get install git build-essential cmake libqt4-dev libgl1-mesa-dev libglu1-mesa-dev libprotobuf-dev protobuf-compiler libode-dev libboost-dev
2929
```
3030

31-
Next we need to install VarTypes manually, which itself depends on Qt4 so please make sure that you installed Qt4 first :
31+
Next compile and install VarTypes from source. In the following we install VarTypes from source using `git`.
3232

33-
$ (Get VarTypes)
34-
$ cd ./vartypes
35-
$ mkdir build
36-
$ cd build
37-
$ cmake ..
38-
$ make
39-
$ sudo make install
33+
```bash
34+
$ cd /tmp
35+
$ git clone https://github.com/szi/vartypes.git
36+
$ cd vartypes
37+
$ mkdir build
38+
$ cd build
39+
$ cmake ..
40+
$ make
41+
$ sudo make install
42+
```
4043

41-
Next, pull down the project:
44+
Next, clone grSim into your preferred location.
4245

43-
$ git clone https://github.com/mani-monaj/grSim.git
44-
$ cd ./grSim
46+
```bash
47+
$ cd /path/to/grsim_ws
48+
$ git clone https://github.com/mani-monaj/grSim.git
49+
$ cd grSim
50+
```
4551

4652
Create a build directory within the project (this is ignored by .gitignore):
4753

48-
$ mkdir build
49-
$ cd build
54+
```bash
55+
$ mkdir build
56+
$ cd build
57+
```
5058

5159
Run CMake to generate the makefiles:
5260

53-
$ cmake ..
61+
```bash
62+
$ cmake ..
63+
```
5464

5565
Then compile the program:
5666

57-
$ make
67+
```bash
68+
$ make
69+
```
70+
71+
The binary is copied to the `../bin` folder after a successful compilation.
5872

59-
The program is now under ../bin directory with the name grSim. You can run it from here just by typing "../bin/grSim"
73+
### Mac OS X Installation
6074

61-
## Mac OS X Installation
75+
To facilitate the compilation on Mac OS, we use the [Homebrew](http://brew.sh/) package manager.
6276

63-
To make it easier to install the dependencies, you can use a package manager like Homebrew.
6477
First ensure the dependencies are there:
6578

66-
$ brew install cmake
67-
$ brew install ode --enable-double-precision
68-
$ brew install qt4
69-
$ brew install protobuf
79+
```bash
80+
$ brew install cmake
81+
$ brew install ode --enable-double-precision
82+
$ brew install qt4
83+
$ brew install protobuf
84+
```
7085

7186
If you run into build issues, you may need to run this first:
7287

73-
$ brew update
74-
$ brew doctor
75-
76-
Next we need to install VarTypes manually :
77-
78-
> Note : the vartypes need some edits to be compatible with mac-osx so it's recommanded to use :
79-
> <https://github.com/lordhippo/vartypes.git> (branch -> osx-fix)
80-
81-
82-
$ (Get VarTypes)
83-
$ cd ./vartypes
84-
$ mkdir build
85-
$ cd build
86-
$ cmake ..
87-
$ make
88-
$ sudo make install
89-
90-
Next, pull down the project:
91-
92-
$ git clone https://github.com/mani-monaj/grSim.git
93-
$ cd ./grSim
94-
95-
Create a build directory within the project (this is ignored by .gitignore):
88+
```bash
89+
$ brew update
90+
$ brew doctor
91+
```
9692

97-
$ mkdir build
98-
$ cd build
93+
Next we need to install VarTypes manually. Please refer to the documentation above for the procedure.
9994

100-
Run CMake to generate the makefiles:
95+
**IMPORTANT NOTE:** VarTypes currently does not compile on MacOS. Please use the following fork of Vartypes instead of the official repository: `https://github.com/lordhippo/vartypes.git (branch: osx-fix)`
10196

102-
$ cmake ..
97+
The steps to compile grSim on Mac OS is similar to the steps outlines above for Linux:
10398

104-
Then compile the program:
10599

106-
$ make
107-
108-
The program is now under `../bin` directory with the name grSim. You can run it from here just by typing `../bin/grSim`;
100+
```bash
101+
$ cd /path/to/grsim_ws
102+
$ git clone https://github.com/mani-monaj/grSim.git
103+
$ cd ./grSim
104+
$ mkdir build
105+
$ cd build
106+
$ cmake ..
107+
$ make
108+
```
109109

110+
The binary files (grSim and the sample client) will be placed in `../bin`.
110111

111-
you may want to use a cmake-gui instead of cmake, or maybe ccmake for ncurses fans.
112+
## Notes on the performance
112113

113-
The binary files (grSim and sample client) will be placed in `./bin`. Check the fps in status bar, if it is running on 65fps everything is ok, otherwise check the graphics card installation and OpenGL settings. If you received linker error about GL related libraries, also check your graphics card driver
114+
When running grSim, check the FPS in the status bar. If it is running at **60 FPS** or higher, everything is ok. Otherwise check the graphics card's driver installation and OpenGL settings.

Diff for: LICENSE.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
grSim - RoboCup Small Size League Simulator
2+
Copyright (c) 2011 Parsian SSL Team (Amirkabir University of Technology)
3+
14
This program is free software: you can redistribute it and/or modify
25
it under the terms of the GNU General Public License as published by
36
the Free Software Foundation, either version 3 of the License, or

Diff for: README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
[![Run Status](https://api.shippable.com/projects/5620224e1895ca44741e0b4d/badge?branch=2.0-dev)](https://app.shippable.com/projects/5620224e1895ca44741e0b4d)
21

3-
grSim
4-
=====
2+
[grSim](http://github.com/mani-monaj/grSim) [![Run Status](https://api.shippable.com/projects/5620224e1895ca44741e0b4d/badge?branch=2.0-dev)](https://app.shippable.com/projects/5620224e1895ca44741e0b4d)
3+
=======================
54

6-
RoboCup Small Size League Simulator
5+
[RoboCup Small Size League](http://wiki.robocup.org/Small_Size_League) Simulator.
76

7+
![grSim on Ubuntu](docs/img/screenshot01.jpg?raw=true "grSim on Ubuntu")
8+
9+
- [Install instructions](INSTALL.md)
10+
- [Authors](AUTHORS.md)
11+
- [Changelog](CHANGELOG.md)
12+
- License: [GNU General Public License (GPLv3)](LICENSE.md)
813

914
System Requirements
1015
-----------------------
1116

12-
grSim will likely run on a modern dual core PC with good graphics card. Typical configuration is:
17+
grSim will likely run on a modern dual core PC with a decent graphics card. Typical configuration is:
1318

1419
- Dual Core CPU (2.0 Ghz+)
1520
- 1GB of RAM
@@ -21,29 +26,24 @@ Note that it may run on lower end equipment though good performance is not guara
2126
Software Requirements
2227
---------------------
2328

24-
grSim uses these libraries:
29+
grSim compiles on Linux (tested on Ubuntu variants only) and Mac OS. It depends on the following libraries:
2530

26-
- Qt 4.8+ (provided by libqt4-dev on debian based distros)
31+
- Qt 4.8+ (provided by libqt4-dev on Debian based distributions)
2732
- OpenGL
2833
- Open Dynamics Engine (ODE)
2934
- VarTypes Library
3035
- Google ProtoBuf
3136

3237

33-
Installation
34-
------------
35-
36-
Please refer to INSTALL file.
37-
38-
3938
Usage
4039
-----
4140

42-
Receiving data from grSim is exactly like receiving from [SSL-Vision](http://code.google.com/p/ssl-vision) using Google Protobuf library
43-
Sending data to Simulator is also possible using Google Protobuf. Sample clients are included in [clients](./clients) folder. There are two clients available, qt-based and Java-based. The native client is compiled during the grSim compilation. To compile the Java client, please consult client's `README` file.
41+
Receiving data from grSim is similar to receiving data from [SSL-Vision](https://github.com/RoboCup-SSL/ssl-vision) using [Google Protobuf](https://github.com/google/protobuf) library.
42+
Sending data to the simulator is also possible using Google Protobuf. Sample clients are included in [clients](./clients) folder. There are two clients available, *qt-based* and *Java-based*. The native client is compiled during the grSim compilation. To compile the Java client, please consult the corresponding `README` file.
4443

45-
Changelog
46-
---------
44+
Citing
45+
------
4746

48-
Please refer to the CHANGELOG file.
47+
If you use grSim in your research, please cite [the following paper](http://link.springer.com/chapter/10.1007/978-3-642-32060-6_38):
4948

49+
> Monajjemi, Valiallah (Mani), Ali Koochakzadeh, and Saeed Shiry Ghidary. "grSim – RoboCup Small Size Robot Soccer Simulator." In Robot Soccer World Cup, pp. 450-460. Springer Berlin Heidelberg, 2011.

Diff for: docs/img/screenshot01.jpg

92.5 KB
Loading

0 commit comments

Comments
 (0)