Closed rdn123 closed 2 years ago
You need to give a little bit more details about your configuration:
Without more information, it is almost impossible to give any sensible advice.
Hello, I am using INET radio layer with Ieee80211ScalarRadioMedium Radio propagation model: ConstantSpeedPropagation PathLossType: FreeSpacePathLoss ObstacleLossType: IdealObstacleLoss analogModel:ScalarAnalogModel backgroundNoiseType:IsotropicScalarBackgroundNoise Both RSU and OBU have VanetNic The RSU and the OBU are transmitting 200mW
The same configuration without the obstacles works fine.
Thank you very much for the quick response,
I have not used IdealObstacleLoss
yet. However, I suggest setting a breakpoint in IdealObstacleLoss::isObstacle
at line 58, which is hit if an obstacle is found between transmitter and receiver. Identifying the blocking object may help to explain the observed behaviour. Also, be aware that the coordinates of PhysicalEnvironment
objects belong to the INET coordinate system, which is different to the SUMO coordinate system.
I have done as you suggested. I put the the breakpoint in IdealObstacleLoss::isObstacle at line 58 and apparently there was an obstacle between the transmitter and the receiver even though I could not see that obstacle (I am using PhysicalEnvironmentVisualizer ). Anyway, I took the nearby obstacles away and now there is not any obstacle between them (isObstacle is 0 at line 56) but I still can not receive anything. The obstacles seem to be well located as I can see visually. I don´t know what I can be missing.
Maybe the INET community can help you because the radio layer is mostly plain INET; Artery just adds some wrapping code ("radio driver") to make it accessible in our architecture.
Ok, thank you!
Hello,
I am currently testing an example of my creation in Artery, I have a RSU and an OBU in a car. First, I tested the scenario without obstacles and the messages were exchanged perfectly but when I introduced the obstacles no messages were received. There is direct line of sight between them in a part of the trajectory, I have tried solving it but I am unable and any help would be appreciated.
Thank you.