22 #include "ns3/config-store-module.h"
23 #include "ns3/core-module.h"
24 #include "ns3/internet-module.h"
25 #include "ns3/network-module.h"
26 #include "ns3/satellite-module.h"
27 #include "ns3/traffic-module.h"
43 NS_LOG_COMPONENT_DEFINE(
"sat-generic-launcher");
46 main(
int argc,
char* argv[])
48 std::string inputFileNameWithPath =
49 Singleton<SatEnvVariables>::Get()->LocateDirectory(
"contrib/satellite/examples") +
50 "/generic-input-attributes.xml";
52 Ptr<SimulationHelper> simulationHelper = CreateObject<SimulationHelper>(
"generic-launcher");
53 simulationHelper->DisableAllCapacityAssignmentCategories();
54 simulationHelper->EnableCrdsa();
56 simulationHelper->LoadScenario(
"geo-33E");
59 simulationHelper->AddDefaultUiArguments(cmd, inputFileNameWithPath);
60 cmd.Parse(argc, argv);
62 simulationHelper->ConfigureAttributesFromFile(inputFileNameWithPath);
63 simulationHelper->StoreAttributesToFile(
"parametersUsed.xml");
64 simulationHelper->RunSimulation();
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.