Code Monkey home page Code Monkey logo

Comments (2)

ProfHoekstra avatar ProfHoekstra commented on August 22, 2024

Thanks, we'll have a look at this and see whether we can reproduce this.

Best regards/Met vriendelijke groeten,
Jacco Hoekstra

On 3 jul. 2015, at 11:37, Gérald Gurtner <[email protected]mailto:[email protected]> wrote:

Hi, I just tested bluesky and I have a systematic crash. Procedure to reproduce:
-- load "0-demo-scenario.scn"
-- wait around 1 minute. Some warning messages appear in the log:

/home/earendil/Programmes/BlueSky/bluesky/bluesky/traf/asas.py:159: RuntimeWarning: invalid value encountered in less
*(1.-I)

-- Click on any aircraft, code AF982 appears instead of its own code in the console.
-- Click again on any aircraft, crash with stacktrace:

Traceback (most recent call last):
File "bluesky.py", line 98, in
tmx.run() # Run it
File "bluesky.py", line 58, in run
self.cmd.process() # Process commands
File "/home/earendil/Programmes/BlueSky/bluesky/bluesky/stack/stack.py", line 372, in process

  • str(int(traf.alt[idx] / ft)) + " ft")
    ValueError: cannot convert float NaN to integer

Obviously, some numpy arrays related to asas are corrupted by NaN values because at least one aircraft (AF982?) is messing around.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1.

from bluesky.

jooste avatar jooste commented on August 22, 2024

Hello all,

This issue should be fixed with the latest commit on perf.py, which fixed a bug in the create aircraft command. The demo scenario now runs beyond simt=1000 sec without warning or error.

from bluesky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.