Giter VIP home page Giter VIP logo

Comments (6)

ebroecker avatar ebroecker commented on August 23, 2024

Hi @ganralf75, this should be possible with:
--additionalSignalAttributes min,max

from canmatrix.

ganralf75 avatar ganralf75 commented on August 23, 2024

thanks a lot @ebroecker! It works :-)

from canmatrix.

ganralf75 avatar ganralf75 commented on August 23, 2024

Hi @ebroecker! I tried --additionalSignalAttributes min,max w/ arxml file and it seems that the min and max values are not plausible. Is it a bug or did I someting wrong?

In this example signal.max should be 25.5barg
image

kind regards,
ganralf75

from canmatrix.

ebroecker avatar ebroecker commented on August 23, 2024

Hi @ganralf75
not easy to say without the sources...

You could additionally add signal.factor and signal.offset - so we can see what's calculated

from canmatrix.

ganralf75 avatar ganralf75 commented on August 23, 2024

Hi @ebroecker, I added factor and offset. Both seem to be okay.

grafik

I looks like the max is calculated from physical max (which is 25barg) and not from raw max (which is 250).

Signal configuration from Vector AUTOSAR Explorer
grafik

Signal Debugging Information
grafik

from canmatrix.

ebroecker avatar ebroecker commented on August 23, 2024

Hi @ganralf75
maybe the arxml is parsed the wrong way.
We had some issue using 'random' physical or internal contraints from 'ARXML'.

Maybe this bug is fixed with https://github.com/ebroecker/canmatrix/pull/779/files - but is not fixed right?

Maybe you could extract the contraints for this signal out of the ARXML, so we can isolate the problem ?

from canmatrix.

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.