GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ebadi/python-esmini: Python wrapper for Environment Simulator Minimalistic (esmini)

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
examples
examples
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
dev-build-bindings.sh
dev-build-bindings.sh
 
 
setup.py
setup.py
 
 
test-modules.sh
test-modules.sh
 
 

Repository files navigation

⚠️ NOTICE: Project No Longer Maintained

This project is no longer actively maintained or supported. I have shifted my focus to a new project. Please check out OpenScenarioDrive for the latest work and updates.

python-esmini is a python wrapper for Environment Simulator Minimalistic (esmini).

Install the package

python-esmini is now only available for the Linux system.

git clone https://github.com/ebadi/python-esmini.git
cd python-esmini
pip3 install .

Usage

Example python code:

import pyplayerbase
import time
import pyscenarioengine

player = pyplayerbase.ScenarioPlayer(["python-esmini", "--window",  "60", "60", "800", "400",  "--osc", "./esmini/resources/xosc/cut-in.xosc"])
while not player.IsQuitRequested():
    player.Frame(1)
    time.sleep(1)

https://github.com/ebadi/python-esmini

To test the python modules, download the esmini resources and run the following scripts:

python3 example/scenarioplayer.py
python3 example/intermodule.py

Documentation

To find the API documentation, follow these https://ebadi.github.io/python-esmini

To automatically extract the list of methods:

./test-python-package.sh
python3 example/modlist.py

Development only

Install binder and rebuild pybind11 bindings:

git clone https://github.com/esmini/esmini.git
cd esmini ; cmake . ; cmake --build .  # solves "fatal error: 'osi_sensordata.pb.h' file not found"
cd ..
./dev-build-bindings.sh
rm -rf LOG_FILE.txt cmake_install.cmake CMakeCache.txt CMakeFiles ; pip3 install .  --log LOG_FILE.txt # cmake  build  ; make ;

Generating API documentation:

cd documentation; 
./doc-build.sh

Credits

This work is done by Infotiv AB under VALU3S project. This project has received funding from the ECSEL Joint Undertaking (JU) under grant agreement No 876852. The JU receives support from the European Union’s Horizon 2020 research and innovation programme and Austria, Czech Republic, Germany, Ireland, Italy, Portugal, Spain, Sweden, Turkey.

The ECSEL JU and the European Commission are not responsible for the content on this website or any use that may be made of the information it contains.

python-esmini project is started and is currently maintained by Hamid Ebadi.

About

Python wrapper for Environment Simulator Minimalistic (esmini)

Resources

Readme
MPL-2.0 license
Activity

Stars

9 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.