Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
83824c3e
Commit
83824c3e
authored
Jul 05, 2016
by
garciay
Browse files
Merge with C2C
parent
ed2c66d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsCAM/ItsCam_TpFunctions.ttcn
View file @
83824c3e
...
...
@@ -8,6 +8,8 @@
module
ItsCam_TpFunctions
{
import
from
LibItsCommon_Pixits
all
;
// LibCommon
import
from
LibCommon_Sync
all
;
import
from
LibCommon_VerdictControl
all
;
...
...
@@ -150,7 +152,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
camPort
.
clear
;
tc_ac
.
start
;
alt
{
...
...
@@ -300,7 +302,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
// Set vehicle role
f_utTriggerEvent
(
m_setVehicleRole
(
v_vehicleRole
));
camPort
.
clear
;
...
...
@@ -2206,7 +2208,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
camPort
.
clear
;
tc_ac
.
start
;
alt
{
...
...
@@ -2391,7 +2393,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
tc_ac
.
start
;
alt
{
...
...
@@ -2560,7 +2562,8 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition200m
);
camPort
.
clear
;
tc_ac
.
start
;
alt
{
...
...
@@ -2579,16 +2582,14 @@ module ItsCam_TpFunctions {
// Test Body
v_expectedReferencePosition
:=
f_computePositionUsingDistance
(
v_referencePosition
,
v_changePosValue
);
if
(
PICS_GNSS_SCENARIO_SUPPORT
==
false
)
{
f_utChangePosition
(
valueof
(
UtChangePosition
:
{
f_utChangePosition
(
valueof
(
UtChangePosition
:
{
latitude
:=
v_expectedReferencePosition
.
latitude
-
v_referencePosition
.
latitude
,
longitude
:=
v_expectedReferencePosition
.
longitude
-
v_referencePosition
.
longitude
,
elevation
:=
0
}
));
elevation
:=
0
}
)
);
}
t_genCam_dcc
.
timeout
;
t_genCam_dcc
.
start
;
alt
{
...
...
@@ -2634,7 +2635,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
camPort
.
clear
;
tc_ac
.
start
;
alt
{
...
...
@@ -2700,7 +2701,7 @@ module ItsCam_TpFunctions {
// Test adapter configuration
// Preamble
f_prInitialState
();
f_prInitialState
(
e_dynamicPosition1500m
);
camPort
.
clear
;
tc_ac
.
start
;
alt
{
...
...
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