Coder Social home page Coder Social logo

RemoteFrames about signalsandgateways HOT 6 CLOSED

core-rg avatar core-rg commented on June 20, 2024
RemoteFrames

from signalsandgateways.

Comments (6)

Musteblume avatar Musteblume commented on June 20, 2024

Hi,
yes there is no destination node configured to consume this frame. But it gets forwarded from the Infotainment bus to the Antrieb bus. Therefore gateway2 is configured to receive the frame.
Hope this helps.
Regards

from signalsandgateways.

franc444 avatar franc444 commented on June 20, 2024

Thanks @Musteblume
I can see that gateway1 is also configured to receive the frame as it might be consumed by one of the Antrieb nodes. I would like to understand more how the node will be configured to consume this remote frame?

from signalsandgateways.

Musteblume avatar Musteblume commented on June 20, 2024

Hi again,
my previous answer was not completely correct.

The remote frame is requesting id 2 and should therefore be consumed by Antrieb_nodes[0].sourceApp[0] which then sends a data frame with id 2. For a small example of this look into FiCo4OMNeT->examples->can->multipleSourceApps.

In case of the SignalsAndGateways->majorNetwork example there is a miscofiguration in gatway 1. It receives the ethernet frame (ctID 30) containing the remote frame id 2 but send it back to the network and not to the bus.

I will have a look what the cause of this misconfiguration is.
Regards

from signalsandgateways.

Musteblume avatar Musteblume commented on June 20, 2024

Hi,
i have fixed the problem. The fix will be released here with the next nightly. This are all the changes (in gatway1.ini):

...
33  **.gateway1.tte[0].TTvlinks[2].destination_gates = "gatewayApp.TTin"
...
42  **.gateway1.tte[0].TTvlinks[3].destination_gates = "phy[0].TTin"
...
49  **.gateway1.tte[0].phy[0].shaper.tt_buffers = "TTvlinks[0], TTvlinks[3]"

Best regards
Philipp

from signalsandgateways.

franc444 avatar franc444 commented on June 20, 2024

Thanks for the fix.
I am still not sure which node will receive the remote frame? should not be consumed eventually by a sinkApp? in the multipleSourceApps example the remote frames are being transmitted between two nodes right? but the sinkApps do not record the statistics for the remote frame i.e. rxRF they only record for rxDF.
Am I missing something here or there is an issue with the statistics recording?

from signalsandgateways.

Musteblume avatar Musteblume commented on June 20, 2024

Hi,
currently you can have one of two configs:

  1. A traffic source with the same id which gets triggered by the remote frame. The source has no rxRF statistc
  2. A traffic sink consuming the id and record the statistic

You could add rxRF to the source or change the canNodePort to allow both configs simultanously.

from signalsandgateways.

Related Issues (4)

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.