Closed khevessy closed 3 weeks ago
Hi @khevessy,
the vanetza::PositionFix
and vanetza::PositionConfidence
data structures are not directly linked to CDD on purpose, so you can use them in other contexts too. The fields semi_minor
and semi_major
are set to infinity by default, i.e. you can check if they are set to a proper value using std::isinf
. In the context of CDD, you can set SemiAxisLength
to 4095 in that case.
To make socktap generate CAMs without position confidence, I suggest setting the latitude and longitude fields to NaN or infinity when no position fix is available and checking for these special values in CamApplication
instead of the validity of position confidence.
I tried to implement it as you say, seems to be working well. GPSD: host 212.234.160.97 port 1971 (will be used in coming ETSI Plugtest)
Thanks, I have merged it. Are you going to join the upcoming ETSI Plugtest?
Sorry there were some mistakes in the code, fixed in the next pull request. Yes, we are going to be there, I think you are participating too?
Oops, have completely missed this issue; should work with glasses ;-) Nice, then we will meet in Malaga!
Hi, I encountered a GPSD server which does not send position confidence values, even though the position data is valid. After reading the 102-894 CDD
How about that if the value is not available, position provider sets it to unavailable, e.g.
so that then the application can actually use the location? I am not sure how to determine when the location is valid and when it is not.