multiUAV-simulation icon indicating copy to clipboard operation
multiUAV-simulation copied to clipboard

Cannot run the simulation

Open lebronze opened this issue 5 years ago • 6 comments

i tried to run the simulation on OMNET++ ODE and got some errors.

Simulation terminated with exit code: -1073741819 Working directory: Command line: multiUAV-simulation_dbg.exe -r 0 -m -u Qtenv -c Szenario_Hotel_Gabelbach omnetpp.ini

i can't find where is wrong

lebronze avatar Mar 07 '19 06:03 lebronze

the same problem with me . I don't know how to resolve it.

Marconi666 avatar Apr 16 '19 13:04 Marconi666

Did either of you resolve the problem? thx~

9a54ks514w avatar Oct 26 '19 09:10 9a54ks514w

Hello guys, I recognize the error but don't remember the reason/solution.

  1. Please check if you are able to execute the osgearth example project
  2. Check you've selected a valid configuration (e.g. Szenario_Hotel_Gabelbach)
  3. Please describe when the error is shown. Right when you run the code, when the simulation is loaded in the 3D view, or when you start the simulation?

Best!

ThomDietrich avatar Oct 28 '19 08:10 ThomDietrich

Hello ThomDietrich, Which system can run this simulation, either Windows, or Linux, or both? I followed these steps to install the simulation:

  1. Install OMNeT++
  2. Put "boost" into the "include-boost" of the OMNeT++ base directory
  3. Build All in the OMNeT++ IDE
  4. Run simulation config in the OMNeT++ IDE. However, it always terminated with exit code: -1073741819 in Windows, and 134 in Linux Which step did I make the mistake on?

Thanks!

9a54ks514w avatar Nov 14 '19 13:11 9a54ks514w

@9a54ks514w you did not give any further details. Please describe as good as you can.

I've been using Windows and your boost addition sounds correct.

ThomDietrich avatar Nov 14 '19 20:11 ThomDietrich

Hello, I also have the same problem.I build the project and no problem,but i meet problems when i run multiUAV-simulation debug.launch .thanks!

Besides,I can run the osg-earth example project.Although it's consloe "[osgEarth]* [Horizon] No horizon info installed in callback",the project can run successfully.


problem 1:
[osgEarth]* [EarthSerializer2] Layer "readymap_elevation" : Error : Failed to open a cache for layer because cache_only policy is in effect and bin [9c4fad04] could not be located.
problem 2:
Simulation terminated with exit code: -1073741819
Working directory: H:/multiUAV-simulation-master
Command line: multiUAV-simulation_dbg.exe -r 0 -m -u Qtenv -c Szenario_Hotel_Gabelbach omnetpp.ini
---
console log:
Starting...

$ cd H:/multiUAV-simulation-master
$ multiUAV-simulation_dbg.exe -r 0 -m -u Qtenv -c Szenario_Hotel_Gabelbach omnetpp.ini

OMNeT++ Discrete Event Simulation  (C) 1992-2018 Andras Varga, OpenSim Ltd.
Version: 5.4.1, build: 180629-5e28390, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

Setting up Qtenv...

Loading NED files from .:  8

Loading images from 'D:\omnetpp-5.4.1\images': *: 0  abstract/*: 90  background/*: 4  block/*: 320  device/*: 195  logo/*: 1  maps/*: 9  misc/*: 70  msg/*: 55  old/*: 111  status/*: 28 

[osgEarth]  [TerrainLayer] Layer "readymap_elevation" Failed to create "tms" driver, but a cache may exist, so falling back on cache-only mode.
[osgEarth]* [EarthSerializer2] Layer "readymap_elevation" : Error : Failed to open a cache for layer because cache_only policy is in effect and bin [9c4fad04] could not be located.
Loading OSG Viewer library... 

setProcessorAffinity() : affinity.activeCPUs.size()=0, numprocessors=8
   Fallback setting CPU : 0
   Fallback setting CPU : 1
   Fallback setting CPU : 2
   Fallback setting CPU : 3
   Fallback setting CPU : 4
   Fallback setting CPU : 5
   Fallback setting CPU : 6
   Fallback setting CPU : 7
affinityMask = 255
setProcessorAffinity() : affinity.activeCPUs.size()=0, numprocessors=8
   Fallback setting CPU : 0
   Fallback setting CPU : 1
   Fallback setting CPU : 2
   Fallback setting CPU : 3
   Fallback setting CPU : 4
   Fallback setting CPU : 5
   Fallback setting CPU : 6
   Fallback setting CPU : 7
affinityMask = 255

Simulation terminated with exit code: -1073741819
Working directory: H:/multiUAV-simulation-master
Command line: multiUAV-simulation_dbg.exe -r 0 -m -u Qtenv -c Szenario_Hotel_Gabelbach omnetpp.ini

Environment variables:
PATH=;D:\omnetpp-5.4.1\bin;D:\omnetpp-5.4.1\tools\win64\mingw64\bin;D:\omnetpp-5.4.1\tools\win64\usr\bin;;D:/omnetpp-5.4.1/ide/jre/bin/server;D:/omnetpp-5.4.1/ide/jre/bin;D:/omnetpp-5.4.1/ide/jre/lib/amd64;.;D:\omnetpp-5.4.1\bin;D:\omnetpp-5.4.1\tools\win64\mingw64\bin;D:\omnetpp-5.4.1\tools\win64\usr\local\bin;D:\omnetpp-5.4.1\tools\win64\usr\bin;D:\omnetpp-5.4.1\tools\win64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\omnetpp-5.4.1\tools\win64\usr\bin\site_perl;D:\omnetpp-5.4.1\tools\win64\usr\bin\vendor_perl;D:\omnetpp-5.4.1\tools\win64\usr\bin\core_perl;D:\omnetpp-5.4.1;
OMNETPP_ROOT=D:/omnetpp-5.4.1/
OMNETPP_IMAGE_PATH=D:\omnetpp-5.4.1\images

yuan158588 avatar Apr 23 '20 07:04 yuan158588