Raphael Riebl
Raphael Riebl
I usually record the vehicle positions along with transmission and reception events for calculating the loss or reception rates. The recorded OMNeT++ vector files can be processed with a Python...
You will need to add persons in the `GlobalEnvironmentModel` similar to vehicles. The relevant code section is this: https://github.com/riebl/artery/blob/4bc468e372091fa392d43c5fc3358821a21534c9/src/artery/envmod/GlobalEnvironmentModel.cc#L259-L272 As you can see, it currently only adds and removes vehicles....
Artery uses a random port for TraCI by default, see the `traci/PosixLauncher` module. You can set it to a fixed port number by setting the module's `port` parameter in your...
Your `m_traci` shared pointer is empty and thus dereferencing it crashes the program. Just because code compiles does not mean it is correct. You can retrieve a valid `traci::API` object...
CAM reception signals are emitted by the `CaService`, i.e. if your non-police cars are not equipped with this service, your implementation will not get triggered. However, you may receive CAMs...
I suggest adding a NED parameter to the `CaService` such as `isEmergencyVehicle` or similar. If this parameter is set, your customized `CaService` fills the `EmergencyContainer_t` when preparing the CAM. You...
Unfortunately, "sim crashes" is a rather fuzzy problem description. I suggest running Artery with a debugger attached. Every *run_X* target has an accompanying *debug_X* target if `CMAKE_BUILD_TYPE` is set to...
Example usage at https://github.com/riebl/artery/blob/ef807a74fd2eba48abd2c31b4a7f5a8a895a9027/scenarios/artery/services.xml#L6 The type filter checks the module type of the host entities.
Please have a look at the bundled car2car-grid scenario, which has configurations for fixed rate and dynamic CAM generation rules. I suppose the parameters are not set correctly in your...
Yes, I have referred to the *cam_bsp*, *cam_dynamic*, and *cam_fixed* configurations. Have you verified that these settings are also applied to the CA services in your simulation as expected? I...