Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while simulating FlexRay example tests #5

Closed
RaoShri opened this issue Jul 27, 2021 · 4 comments
Closed

Errors while simulating FlexRay example tests #5

RaoShri opened this issue Jul 27, 2021 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@RaoShri
Copy link

RaoShri commented Jul 27, 2021

Hello guys,
I am new to this environment, and I tried to run your example tests for CAN and FlexRay. I am facing errors while running FlexRay example codes. Could you give me a solution? CAN examples are going through.

Also, is there a way to print packets during the simulation? I was unable to install osg-earth, I guess that's why the sequence chart is not opening for me. Any tips would be really helpful.
Error message :

**<!> Error: (omnetpp::cModule)frBus: Gate index 0 out of range when accessing vector gate 'channelA$i[]' with size 0, at /home/shrinidhi/git/FiCo4OMNeT/examples/flexray/dynamic/dynamic.ned:49 -- in module (omnetpp::cModule) dynamic (id=1), during network setup

End.

Simulation terminated with exit code: 1
Working directory: /home/shrinidhi/git/FiCo4OMNeT/examples/flexray/dynamic
Command line: opp_run -m -c General -n ../..:../../../examples_andl:../../../simulations:../../../src -l ../../../src/FiCo4OMNeT u1.ini**

@Musteblume Musteblume self-assigned this Jul 27, 2021
@Musteblume
Copy link
Member

Hi,

i just tested the dynamic example again and there are no problems for me.
How is your Setup? (OS, OMNeT++ Version)

When you simulate with Qtenv you should see the packets if you click on "show message/packet traffic" in the bottom view:
https://doc.omnetpp.org/omnetpp/UserGuide.pdf - section 7.5.6

We don't use osg-earth in our models. So, it is fine to turn it off.

@Musteblume Musteblume added the help wanted Extra attention is needed label Jul 27, 2021
@RaoShri
Copy link
Author

RaoShri commented Aug 3, 2021

I am working in Kali Linux 5.10.0-kali3-amd64,
Omnetpp Version: 5.6.2, Build id: 200518-aa79d0918f

@THaeckel THaeckel self-assigned this Aug 3, 2021
@THaeckel
Copy link
Member

THaeckel commented Aug 3, 2021

Hi RaoShri, our simulation models are developed and tested for OMNeT++ version 5.5.1. Is it possible that you try it with this version and see if the error persists? You can find it at https://omnetpp.org/download/old.

@RaoShri
Copy link
Author

RaoShri commented Aug 13, 2021

Hi Thaekel,
It is working in omnetpp5.5.1. Thanks for your help.

@RaoShri RaoShri closed this as completed Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants