In order to obtain the real-time ue location
in LtePhyUe.cc ,I write code
ueCoord=LtePhyBase::getCoord();
And update once when receiving airframe(I set period to 0.01 seconds),print
EV<<"**time**"<<NOW<<"**ue["<<nodeId_<<"]**Coord**"<<ueCoord<<endl;
However, when I run the simulation and select the fast mode, the location update of the ue becomes very chaotic;
When I click run, the location of the ue is updated without problem;
The following is the location update of the ue I selected for fast:
**time**0.73**ue[1027]**Coord**(124.464, 601.216, 0) m
**time**0.74**ue[1027]**Coord**(124.818, 601.278, 0) m
**time**0.75**ue[1027]**Coord**(124.818, 601.278, 0) m
**time**0.76**ue[1027]**Coord**(124.818, 601.278, 0) m
**time**0.77**ue[1027]**Coord**(124.818, 601.278, 0) m
**time**0.78**ue[1027]**Coord**(124.818, 601.278, 0) m
**time**0.79**ue[1027]**Coord**(124.818, 601.278, 0) m
Next, I choose run:
**time**0.02**ue[1027]**Coord**(117.767, 600.035, 0) m
**time**0.03**ue[1027]**Coord**(117.866, 600.052, 0) m
**time**0.04**ue[1027]**Coord**(117.964, 600.069, 0) m
By the way, let me add that I use the lineMobility;
So I want to ask the professor, have you ever met this situation;
What should I do? Do you have any suggestions for me
hello!
In order to obtain the real-time ue location in LtePhyUe.cc ,I write code ueCoord=LtePhyBase::getCoord(); And update once when receiving airframe(I set period to 0.01 seconds),print EV<<"**time**"<<NOW<<"**ue["<<nodeId_<<"]**Coord**"<<ueCoord<<endl;
However, when I run the simulation and select the fast mode, the location update of the ue becomes very chaotic; When I click run, the location of the ue is updated without problem;
The following is the location update of the ue I selected for fast: **time**0.73**ue[1027]**Coord**(124.464, 601.216, 0) m **time**0.74**ue[1027]**Coord**(124.818, 601.278, 0) m **time**0.75**ue[1027]**Coord**(124.818, 601.278, 0) m **time**0.76**ue[1027]**Coord**(124.818, 601.278, 0) m **time**0.77**ue[1027]**Coord**(124.818, 601.278, 0) m **time**0.78**ue[1027]**Coord**(124.818, 601.278, 0) m **time**0.79**ue[1027]**Coord**(124.818, 601.278, 0) m
Next, I choose run: **time**0.02**ue[1027]**Coord**(117.767, 600.035, 0) m **time**0.03**ue[1027]**Coord**(117.866, 600.052, 0) m **time**0.04**ue[1027]**Coord**(117.964, 600.069, 0) m By the way, let me add that I use the lineMobility;
So I want to ask the professor, have you ever met this situation; What should I do? Do you have any suggestions for me