Skip to content
Snippets Groups Projects
Commit 00f00d15 authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[wip/py-jsbsim] Remove (inactive)

parent 89bf5471
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,6 @@ SUBDIR+= py-dynamic-graph-tutorial ...@@ -96,7 +96,6 @@ SUBDIR+= py-dynamic-graph-tutorial
SUBDIR+= py-dynamic-graph-v3 SUBDIR+= py-dynamic-graph-v3
SUBDIR+= py-example-adder SUBDIR+= py-example-adder
SUBDIR+= py-hla SUBDIR+= py-hla
SUBDIR+= py-jsbsim
SUBDIR+= py-mavlink SUBDIR+= py-mavlink
SUBDIR+= py-morse SUBDIR+= py-morse
SUBDIR+= py-mraa SUBDIR+= py-mraa
......
JSBSim is an open source flight dynamics model (FDM) that compiles and runs
under many operating systems, including Microsoft Windows, Apple Macintosh,
Linux, IRIX, Cygwin (Unix on Windows), etc. The FDM is essentially the
physics/math model that defines the movement of an aircraft, rocket, etc.,
under the forces and moments applied to it using the various control
mechanisms and from the forces of nature. JSBSim has no native graphics. It
can be run by itself as a standalone program, taking input from a script file
and various vehicle configuration files. It can also be incorporated into a
larger flight simulator implementation that includes a visual system. The most
notable examples of the use of JSBSim are currently seen in the FlightGear
(open source), Outerra, BoozSimulator (open source), and OpenEaagles (open
source) simulators. JSBSim is also used to drive the motion-base research
simulators at the University of Naples, Italy, and in the Institute of Flight
System Dynamics and Institute of Aeronautics and Astronautics at RWTH Aachen
University in Germany.
This package contains the python bindings of JSBSim
# robotpkg Makefile for: simulation/jsbsim
# Created: Arnaud Degroote on Mon, 27 Apr 2015
#
DISTNAME= jsbsim-${VERSION}
PKGNAME= ${PKGTAG.python}-jsbsim-${VERSION}
VERSION= 20150424
PKGREVISION= 1
CATEGORIES= simulation
FETCH_METHOD= cvs
MASTER_SITES= :pserver:jsbsim.cvs.sourceforge.net:/cvsroot/jsbsim@:${VERSION}+JSBSim
MAINTAINER= arnaud.degroote@isae-supaero.fr
COMMENT= Open source flight dynamics model, python binding
LICENSE= gnu-lgpl-v2
WRKSRC= ${WRKDIR}/${DISTNAME}/tests
CMAKE_ARGS+= -DJSBSIM_INCLUDE_DIR=${PREFIX.jsbsim}/include/JSBSim
CMAKE_ARGS+= -DJSBSIM_LIBRARY=${PREFIX.jsbsim}/lib/libJSBSim.so
CMAKE_ARGS+= -DPYTHON_INSTDIR=${PREFIX}/${PYTHON_SITELIB}
CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHON}
CMAKE_ARGS+= -DPYTHON_INCLUDE_PATH=${PYTHON_INCLUDE}
CMAKE_ARGS+= -DPYTHON_LIBRARY=${PYTHON_LIB}
# CMAKE_ARGS+= -DCYTHON_EXECUTABLE=${CYTHON}
post-extract:
${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
# CYTHON stuff
include ../../wip/jsbsim/depend.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/sysdep/python.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
include ../../mk/robotpkg.mk
@comment Tue May 19 15:17:01 CEST 2015
${PYTHON_SITELIB}/JSBSim_utils.py
${PYTHON_SITELIB}/jsbsim.so
# robotpkg depend.mk for: simulation/py-jsbsim
# Created: Arnaud Degroote on Mon, 27 Apr 2015
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
PY_py-jsbsim_DEPEND_MK:=${PY_py-jsbsim_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= py-jsbsim
endif
ifeq (+,$(PY_py-jsbsim_DEPEND_MK))
PREFER.py-jsbsim?= robotpkg
DEPEND_USE+= py-jsbsim
DEPEND_ABI.py-jsbsim?= py-jsbsim>=1.0
DEPEND_DIR.py-jsbsim?= ../../wip/py-jsbsim
SYSTEM_SEARCH.py-jsbsim=\
${PYTHON_SYSLIBSEARCH}/jsbsim.so
endif
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (jsbsim-20150424.tar.gz) = 069462e95b51e8d4ad1c331a635da81e36b18d7f
RMD160 (jsbsim-20150424.tar.gz) = 92357ce17d30711a87e4ca7a2b77d55fe02d7253
cmake_minimum_required(VERSION 2.8)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/CMakeModules)
# Import the Cython utilities for CMake
include(UseCython)
# Declare JSBSim as a C++ project
set_source_files_properties(jsbsim.pyx PROPERTIES CYTHON_IS_CXX TRUE)
# Build the Python module using Cython and the JSBSim library
include_directories(${JSBSIM_INCLUDE_DIR})
cython_add_module(jsbsim jsbsim.pyx)
target_link_libraries(jsbsim ${JSBSIM_LIBRARY})
INSTALL(TARGETS jsbsim DESTINATION ${PYTHON_INSTDIR})
INSTALL(FILES JSBSim_utils.py DESTINATION ${PYTHON_INSTDIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment