Skip to content

Commit

Permalink
C-V2X integration test (#163)
Browse files Browse the repository at this point in the history
<!-- Thanks for the contribution, this is awesome. -->

# PR Details
## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Defect fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that cause existing functionality
to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] I have added any new packages to the sonar-scanner.properties file
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
[CARMA Contributing Guide](Contributing.md) 
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
  • Loading branch information
chengyuan0124 authored Jan 25, 2024
2 parents 1573cae + 27a0e89 commit 6b91fc4
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ on:

jobs:
docker:
uses: usdot-fhwa-stol/actions/.github/workflows/docker.yml@main
uses: usdot-fhwa-stol/actions/.github/workflows/docker.yml@main
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<ns3>

<NetworkConfig>
<component name="CommType" value="LTE"/>
<component name="NumOfNodes" value="5"/>
</NetworkConfig>

<LogLevel>
<!-- for name, refer to corresponding ns3 model -->
<!-- possible level values: error warn debug info function logic all * -->
Expand Down Expand Up @@ -95,4 +101,26 @@
<default name="ns3::WifiMac::MaxPropagationDelay" value="+3333.0ns"/>
<default name="ns3::WifiMac::Ssid" value="default"/>
<global name="RngSeed" value="1"/>

<default name="ns3::LteUePhy::TxPower" value="23"/>
<default name="ns3::LteUePhy::RsrpUeMeasThreshold" value="-10"/>
<default name="ns3::LteUePhy::EnableV2x" value="true"/>
<default name="ns3::LteUePowerControl::Pcmax" value="2"/>
<default name="ns3::LteUePowerControl::PsschTxPower" value="23"/>
<default name="ns3::LteUePowerControl::PscchTxPower" value="23"/>
<default name="ns3::LteUeMac::UlBandwidth" value="30"/>
<default name="ns3::LteUeMac::EnableV2xHarq" value="false"/>
<default name="ns3::LteUeMac::EnableAdjacencyPscchPssch" value="true"/>
<default name="ns3::LteUeMac::EnablePartialSensing" value="false"/>
<default name="ns3::LteUeMac::SlGrantMcs" value="20"/>
<default name="ns3::LteUeMac::SlSubchannelSize" value="10"/>
<default name="ns3::LteUeMac::SlSubchannelNum" value="3"/>
<default name="ns3::LteUeMac::SlStartRbSubchannel" value="0"/>
<default name="ns3::LteUeMac::SlPrsvp" value="100"/>
<default name="ns3::LteUeMac::SlProbResourceKeep" value="0"/>
<default name="ns3::LteUeMac::SelectionWindowT1" value="4"/>
<default name="ns3::LteUeMac::SelectionWindowT2" value="100"/>
<default name="ns3::LteEnbNetDevice::UlEarfcn" value="54990"/>


</ns3>
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<ns3>

<NetworkConfig>
<component name="CommType" value="LTE"/>
<component name="NumOfNodes" value="5"/>
</NetworkConfig>

<LogLevel>
<!-- for name, refer to corresponding ns3 model -->
<!-- possible level values: error warn debug info function logic all * -->
Expand Down Expand Up @@ -95,4 +101,26 @@
<default name="ns3::WifiMac::MaxPropagationDelay" value="+3333.0ns"/>
<default name="ns3::WifiMac::Ssid" value="default"/>
<global name="RngSeed" value="1"/>


<default name="ns3::LteUePhy::TxPower" value="23"/>
<default name="ns3::LteUePhy::RsrpUeMeasThreshold" value="-10"/>
<default name="ns3::LteUePhy::EnableV2x" value="true"/>
<default name="ns3::LteUePowerControl::Pcmax" value="2"/>
<default name="ns3::LteUePowerControl::PsschTxPower" value="23"/>
<default name="ns3::LteUePowerControl::PscchTxPower" value="23"/>
<default name="ns3::LteUeMac::UlBandwidth" value="30"/>
<default name="ns3::LteUeMac::EnableV2xHarq" value="false"/>
<default name="ns3::LteUeMac::EnableAdjacencyPscchPssch" value="true"/>
<default name="ns3::LteUeMac::EnablePartialSensing" value="false"/>
<default name="ns3::LteUeMac::SlGrantMcs" value="20"/>
<default name="ns3::LteUeMac::SlSubchannelSize" value="10"/>
<default name="ns3::LteUeMac::SlSubchannelNum" value="3"/>
<default name="ns3::LteUeMac::SlStartRbSubchannel" value="0"/>
<default name="ns3::LteUeMac::SlPrsvp" value="100"/>
<default name="ns3::LteUeMac::SlProbResourceKeep" value="0"/>
<default name="ns3::LteUeMac::SelectionWindowT1" value="4"/>
<default name="ns3::LteUeMac::SelectionWindowT2" value="100"/>
<default name="ns3::LteEnbNetDevice::UlEarfcn" value="54990"/>

</ns3>
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<ns3>

<NetworkConfig>
<component name="CommType" value="LTE"/>
<component name="NumOfNodes" value="5"/>
</NetworkConfig>

<LogLevel>
<!-- for name, refer to corresponding ns3 model -->
<!-- possible level values: error warn debug info function logic all * -->
Expand Down

0 comments on commit 6b91fc4

Please sign in to comment.