Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Merge branch 'v0.8'
Browse files Browse the repository at this point in the history
Conflicts:
	CHANGELOG.md
  • Loading branch information
Erik-Andresen committed Feb 4, 2016
2 parents 11ee951 + 9631cf8 commit b5bf1a7
Show file tree
Hide file tree
Showing 50 changed files with 2,909 additions and 512 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions AUTHORS
@@ -1,11 +1,23 @@
JuPedSim contributors:
(Date: 27.01.2016)

Erik Andresen
Mohcine Chraibi
Arne Graf
David Haensel
Weichen Liao
Ulrich Kemloh
Maximilian Osterkamp
Andrea Portz
Oliver Schmidts
Benjamin Schröder
Denis Shhikhalev
Antoine Tordeux
Jun Zhang

JPSeditor contributors:
(Date: 27.01.2016)

Erik Andresen
Maximilian Osterkamp

26 changes: 26 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,32 @@
All notable changes to this project will be documented in this file.


## v0.8.0 [Unreleased]

### Added
#### JPSEDITOR
- 1.2.16 Undo/Redo when Line was edited
- 1.2.16 Change Info Text
- 1.2.16 Load HLines
- 1.2.16 Create and save HLines
- First approaches of an undo/redo framework
- Undo/Redo working when line added or deleted
- DXF import with different layers - Not working properly with AutoCAD ?!
- Bug fixes
- CAD features
- Point and line grid
- object snap
- Orthomode
- Zooming
- Line editing
- Length of line is displayed
- Show origin
- ...
- Room and door declarations
# Change Log
All notable changes to this project will be documented in this file.


## v0.8.0 [Unreleased]


Expand Down
42 changes: 30 additions & 12 deletions CMakeLists.txt
Expand Up @@ -7,13 +7,21 @@
#================
# 1. CMAKE_BUILD_TYPE=Release (default Debug)
# 2. DESIRED_QT_VERSION=5 (default 4)
# example: >> cmake -DDESIRED_QT_VERSION=5 -DCMAKE_PREFIX_PATH=~/Qt/5.5/clang_64 ..
# Flags for VS: -G "Visual Studio ..." -DCMAKE_PREFIX_PATH=... -DCMAKE_C_FLAGS="-mwindows"

cmake_minimum_required(VERSION 2.8.9)
IF (POLICY CMP0048) # in CMake 3.0.0+
CMAKE_POLICY (SET CMP0048 OLD) # keep PROJECT() from clearing VERSION variables
ENDIF (POLICY CMP0048)

IF (POLICY CMP0043) # in CMake 3.0.0+
CMAKE_POLICY (SET CMP0043 OLD) # keep PROJECT() from clearing VERSION variables
ENDIF (POLICY CMP0043)
IF (POLICY CMP0020)
CMAKE_POLICY (SET CMP0020 OLD) # keep old POLICY (2.8.10 and lower) The OLD behavior for this policy is not to link executables to
ENDIF (POLICY CMP0020) #qtmain.lib automatically when they link to the QtCore IMPORTEDtarget
project(JPSeditor)
cmake_minimum_required(VERSION 2.8.9)



set(README_FILE "${CMAKE_SOURCE_DIR}/README.md")
Expand Down Expand Up @@ -66,6 +74,7 @@ message(STATUS "${PROJECT_NAME} will be installed to ${CMAKE_INSTALL_PREFIX}")


#--------------------
if (NOT MSVC)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
Expand All @@ -77,40 +86,48 @@ else()
message(AUTHOR_WARNING "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()
message(STATUS "Checking for C++11 compiler - available")

endif()
#---------------------

set( SRCS
src/mainWindow.cpp
src/main.cpp
src/GraphicView.cpp
src/graphicscene.cpp
src/roomwidget.cpp
src/rooms.cpp
src/datamanager.cpp
src/jpscrossing.cpp
src/jpsLineItem.cpp
src/jpsexit.cpp
src/jpsobstacle.cpp
src/jpslandmark.cpp
src/jpswaypoint.cpp
src/widgetlandmark.cpp
src/jpslandmark.cpp
src/jpswaypoint.cpp
src/widgetlandmark.cpp
src/widgetsettings.cpp
src/jpsyahpointer.cpp
src/jpsconnection.cpp
dxflib/src/dl_writer_ascii.cpp
dxflib/src/dl_dxf.cpp
)
# all header files that should be treated with moc
set( HDR
src/mainWindow.h
src/GraphicView.h
src/graphicscene.h
src/roomwidget.h
src/rooms.h
src/datamanager.h
src/jpscrossing.h
src/jpsLineItem.h
src/jpsexit.h
src/jpsobstacle.h
src/jpslandmark.h
src/jpswaypoint.h
src/widgetlandmark.h
src/jpslandmark.h
src/jpswaypoint.h
src/widgetlandmark.h
src/widgetsettings.h
src/jpsyahpointer.h
src/jpsconnection.h
dxflib/src/dl_writer_ascii.h
dxflib/src/dl_writer.h
dxflib/src/dl_global.h
Expand All @@ -129,7 +146,8 @@ set( HDR
set( UIS
forms/mainwindow.ui
forms/roomwidget.ui
forms/widgetlandmark.ui
forms/widgetlandmark.ui
forms/widgetsettings.ui
)

# and finally a resource file
Expand All @@ -153,7 +171,7 @@ ENDIF (WIN32)
message(STATUS "QT_Qmake_executable " ${QT_QMAKE_EXECUTABLE})
if($QT_QMAKE_EXECUTABLE STREQUAL "")
FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake)
if (NOT QT_QMAKE_EXECUTABL)
if (NOT QT_QMAKE_EXECUTABLE)
message(WARNING "QT not found - abort.")
endif()
endif()
Expand Down Expand Up @@ -186,7 +204,7 @@ elseif("${DESIRED_QT_VERSION}" STREQUAL "4")
# QT4_INSTALLED is set to TRUE if qt4 is found and
# QT3_INSTALLED is set to TRUE if qt3 is found.
FIND_PACKAGE(Qt COMPONENTS QtXml QT_USE_QTNETWORK QtXmlPatterns REQUIRED)

set(QT4_INSTALLED TRUE)
endif()


Expand Down
71 changes: 19 additions & 52 deletions README.md
@@ -1,29 +1,33 @@
JuPedSim v0.6 alpha
JuPedSim v0.8 alpha
JPSeditor v0.8 alpha
====================

Ulrich Kemloh drafted this on 25 Jun 2014
Erik Andresen drafted this on 27 Jun 2016

We are proud to announce the first alpha release of our software JuPedSim for simulating pedestrians evacuations. Please note that it is a pre release version for developers only. We are working hard towards the final release for this version. Two modules are shipped with this pre-release:
We are proud to announce the first alpha release of our software JPSeditor (part of JuPedSim for simulating pedestrians evacuations). Please note that it is a pre release version for developers only. We are working hard towards the final release for this version.

JPSeditor is a graphical user interface to create the geometry of a scenario simulated by JuPedSim. It comes with set of CAD- and further tools to simplify the creation of proper xml-files
incorporating information about the scenario' geometry.

- *jpscore*: command line simulation core
- *jpsvis*: visualization module

Features
========

- Simulate pedestrians movement in a space continuous geometry
- Forces-based models for describing the pedestrians interactions
- Shortest and quickest path route choice strategies
- Loading and visualizing trajectories and geometries
- Easy to use visualization interface
- Making high quality videos directly from the visualization interface or generating png screenshots
- XML based input files
- DXF Import / Export
- CAD features
- Point and line grid
- object snap
- Orthomode
- Zooming
- Line editing
- ...
- Tools for room and door declarations


Showcase
Tutorial
========

To highlight some features of JuPedSim we have uploaded some videos on our [YouTube channel](https://www.youtube.com/user/JuPedSim).
To highlight some features of JuPedSim we have uploaded some videos on our [YouTube channel](https://www.youtube.com/user/JuPedSim) including a tutorial showing how to use the editor.


Installing
Expand All @@ -39,51 +43,14 @@ As JuPedSim comes with no installer, you just need to delete the unziped directo
Running
=======

jpscore.exe my_simulation_ini.xml

from the command line (or also dropping the file on the executable) will generate a trajectory file, which you can visualize with `jpsvis`.
You will find some projects samples in the downloaded files and further information in the manual.

Compiling from sources
======================

You can compile the simulation core for your specific platform with the supplied cmake script.
The only requirement is a compiler supporting the new standard c++11.

Windows (tested on Win7 with MinGW 4.8)
---------------------------------------

cmake -G "MinGW Makefiles" CMakeList.txt
make-mingw32.exe

Linux (tested on Ubuntu 14.04 with gcc 4.8)
---------------

cmake CMakeList.txt
make

OSX (tested on OSX Maverick with clang 5.1 and Yosemite with clang 6.1)
---------------------

cmake CMakeList.txt
make

Note that the OpenMP acceleration might be missing under OSX

For the visualization module (`jpsvis`) at least Qt version 4.5 and VTK version 4.8 are required.
You can download the latest version of QT [here](https://www.qt.io/download/) and the latest version of VTK [here](http://www.vtk.org/download/).
Start the application by clicking on the binary file. (For example .exe)

System Requirements
==============

There is no special hardware/software requirements for running JuPedSim. The distributed binaries however, are only available for windows at the moment. For compiling from sources you need a compiler with c++11 support is needed for the core. Qt version >=4.5 and VTK >5.8 are needed for the visualization.


Known Issues
============

Some verification tests are still failing. The actual cdash-board can be found [here](http://my.cdash.org/index.php?project=JuPedSim)
Occasionaly jpscore crashes if the input file is not valid. Make sure to validate your XML input files with the supplied XSD files.

Frequently Asked Questions
===========================
Expand Down
Binary file added forms/HLine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added forms/Redo-Icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions forms/Ressource.qrc
Expand Up @@ -38,5 +38,9 @@
<file>jupedsim.png</file>
<file>statue.jpg</file>
<file>statue_specs.jpg</file>
<file>anglesnap.PNG</file>
<file>Undo-icon.png</file>
<file>Redo-Icon.png</file>
<file>HLine.png</file>
</qresource>
</RCC>
Binary file added forms/Undo-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added forms/anglesnap.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5bf1a7

Please sign in to comment.