Skip to content

Seeking guidance on integrating Veins 5.3.1 for 5G NR V2X simulation #291

@kouamdo

Description

@kouamdo

Environment

OMNeT++: 6.3.0

Simu5G: Master branch (cloned ~Dec 11, 2024)

INET: 4.5.0 (Also tested with 4.4.0)

Veins: 5.3.1

SUMO: 1.18.0 (TraCI API v20)

OS: Linux (headless)

Issue Description

When attempting to run the cars emulation V2X inside 5G NR configuration in the simulations/nr/cars example to simulate 5G NR V2X sidelink communications, the simulation fails to start due to a NED file loading error for CarUeNr.ned. The OMNeT++ kernel searches for this file in incorrect paths.

### Steps to Reproduce

Successfully compile all frameworks (OMNeT++, INET, Simu5G, Veins).

Navigate to the example: cd /path/to/Simu5G/simulations/nr/cars.

Execute the run script:

opp_run -l out/gcc-release/src/simu5g -l ../inet4.5/out/gcc-release/src/INET -l ../veins-veins-5.3.1/out/gcc-release/src/veins -n src:simulations:../inet4.5/src:../veins-veins-5.3.1/src/veins -u Cmdenv -f simulations/nr/cars/omnetpp.ini -c VoIP-D2D --sim-time-limit=200s

Observed Error

<!> Error: Could not load NED sources from '/.../Simu5G/src': Cannot canonicalize 'CarUeNr.ned': realpath() failed: No such file or directory

Troubleshooting Performed

Found duplicate CarUeNr.ned files in:

simulations/nr/sumotest/ (Fixed an incorrect import statement here).

simulations/nr/cars/ (Removed).

src/simu5g/nodes/nr/ (Removed, suspected erroneous location).

Cleared build cache (make clean) and .neddy files.

A manual opp_run command bypassed the initial NED error but led to a separate library symbol error (undefined symbol:
_ZTIN4inet9ieee8021112Ieee80211MibE), indicating a potential INET version mismatch.

### Key Questions

Project Structure: Is the CarUeNr.ned file expected to reside in src/simu5g/nodes/nr/? The run script seems to require it there.

Veins Compatibility: Is Veins 5.3.1 officially supported for this example, or is only Veins 5.2 tested? Are specific configuration steps needed?

Recommended Workflow: Should we use the provided ./run script or a manual opp_run command from the project root?

INET Version: Which INET version is compatible with the current master branch? Is INET 4.4 the tested version?

Supporting Files
The unmodified omnetpp.ini, Highway.ned, and heterogeneous.launchd.xml from simulations/nr/cars/ are used.

Thank you for your assistance. Clarification on the expected structure and workflow will greatly aid in using this V2X example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions