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

Sidelink losses uplink EARFCN and bandwidth configuration when using ConstantSpectrumPropagation #21

Open
ghost opened this issue May 21, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented May 21, 2021

image

I was running the example lte-sl-relay-cluster with the pathloss
lteHelper->SetAttribute ("PathLossModel", StringValue (ns3::ConstantSpectrumPropagationLossModel"));

lteHelper->SetPathlossModelAttribute ("Loss", DoubleValue ());

@tomhenderson
Copy link
Collaborator

Hello, I tried to reproduce this with the latest code in the default psc-4.0 branch. I made this modification:

diff --git a/src/lte/examples/d2d-examples/lte-sl-relay-cluster.cc b/src/lte/examples/d2d-examples/lte-sl-relay-cluster.cc
index 2311c9a..17e5e4f 100644
--- a/src/lte/examples/d2d-examples/lte-sl-relay-cluster.cc
+++ b/src/lte/examples/d2d-examples/lte-sl-relay-cluster.cc
@@ -348,7 +348,8 @@ int main (int argc, char *argv[])
   Config::SetDefault ("ns3::LteSlBasicUeController::ProseHelper", PointerValue (proseHelper));
 
   //Set pathloss model
-  lteHelper->SetAttribute ("PathlossModel", StringValue ("ns3::Hybrid3gppPropagationLossModel"));
+  lteHelper->SetAttribute ("PathlossModel", StringValue ("ns3::ConstantSpectrumPropagationLossModel"));
+  lteHelper->SetPathlossModelAttribute ("Loss", DoubleValue ());
 
   //Enable Sidelink
   lteHelper->SetAttribute ("UseSidelink", BooleanValue (true));

and then I ran:

$ ./waf --run lte-sl-relay-cluster

and I did not see any error. Can you please clarify that you still experience this on the latest code, and if so, provide more hints as to how to reproduce?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant