GithubHelp home page GithubHelp logo

Comments (4)

japu8876 avatar japu8876 commented on September 27, 2024 1

Hey @leif81,

I could probably work on a pull request for this and try to catch some of the similar errors in a few of the other pdu types, as well as catch the unit-tests. Probably won't be terribly prompt, but I'll give it a go.

Thanks!

from open-dis-python.

japu8876 avatar japu8876 commented on September 27, 2024

Looks like this format is repeated often in the file. Some instances appear to track ID objects, which make sense, and others track standard python lists with [], which make less sense, so the whole file might require some grooming for this issue.

from open-dis-python.

leif81 avatar leif81 commented on September 27, 2024

Thankyou for the report @japu8876

I realize it's a small change but would you be interested in submitting a pull request for this?

Be aware there's a unit test here that sounds like it needs to be beefed up to catch this issue too if you're interested and able to take that on as part of the pull request?

https://github.com/open-dis/open-dis-python/blob/master/tests/testSignalPdu.py

from open-dis-python.

yashgharat avatar yashgharat commented on September 27, 2024

Furthermore, I am also sure that line 7123 should be
read_unsigned_byte()
as that is what the standard calls for. I might be wrong here though.

from open-dis-python.

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.