Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
5db1d216
Commit
5db1d216
authored
Jun 10, 2013
by
tepelmann
Browse files
Adapted to latest ASN.1.
parent
66e081e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
ttcn/Common/LibItsCommon_TypesAndValues.ttcn
View file @
5db1d216
/**
* @author ETSI / STF449
* @author ETSI /
STF405 /
STF449
* @version $URL$
* $Id$
* @desc Module containing common types and values for ITS Protocols
...
...
@@ -20,16 +20,6 @@ module LibItsCommon_TypesAndValues {
const
SemiAxisLength
c_semiAxisLengthOneCentimeter
:=
1
;
const
SemiAxisLength
c_semiAxisLengthUnavailable
:=
4095
;
const
DirectionValue
c_directionValueNorth
:=
0
;
const
DirectionValue
c_directionValueEast
:=
900
;
const
DirectionValue
c_directionValueSouth
:=
1800
;
const
DirectionValue
c_directionValueWest
:=
2700
;
const
DirectionValue
c_directionValueUnavailable
:=
3600
;
const
DirectionConfidence
c_directConfidenceWithinZeroPointOneDegree
:=
1
;
const
DirectionConfidence
c_directConfidenceWithinOneDegree
:=
10
;
const
DirectionConfidence
c_directConfidenceUnavailable
:=
127
;
/**
* @remark check this values
*/
...
...
ttcn/DENM/LibItsDenm_Templates.ttcn
View file @
5db1d216
...
...
@@ -274,7 +274,7 @@ module LibItsDenm_Templates {
template
(
value
)
PosConfidenceEllipse
m_posConfidenceEllipse
(
template
(
value
)
SemiAxisLength
p_semiMajorConfidence
:=
c_semiAxisLengthOneCentimeter
,
template
(
value
)
SemiAxisLength
p_semiMinorConfidence
:=
c_semiAxisLengthOneCentimeter
,
template
(
value
)
Direction
p_semiMajorOrientation
:=
m_direction
template
(
value
)
Heading
p_semiMajorOrientation
:=
m_direction
)
:=
{
semiMajorConfidence
:=
p_semiMajorConfidence
,
semiMinorConfidence
:=
p_semiMinorConfidence
,
...
...
@@ -284,9 +284,9 @@ module LibItsDenm_Templates {
/**
* @desc Send template for north direction with 0.1 confidence
*/
template
(
value
)
Direction
m_direction
:=
{
directionValue
:=
c_directionValue
North
,
direction
Confidence
:=
c_direct
Confidence
W
ithinZeroPointOneDegree
template
(
value
)
Heading
m_direction
:=
{
headingValue
:=
HeadingValue_wgs84
North
_
,
heading
Confidence
:=
Heading
Confidence
_w
ithinZeroPointOneDegree
_
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment