summaryrefstree
path: root/usr/bin/navi/etc/na_pos.ini
blob: c704c9c27248b1fa6c9dc331f5ac773e55b059d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[main] # main section, this section name is also the default name if not set
path_sysroot                        ?= /usr/bin/navi

[Positioning]
# startup deploy script 
#WIN32:    deploy                     = etc/na_pos_deploy.json
deploy                     = ${main.path_sysroot}/etc/na_pos_deploy.json
#QNX:      deploy                       = etc/na_pos_deploy.json
#WIN32:    enhancement_database       = share/na_pos/worldwide.advicetiles.bin # advice DB will be used additionally to current NDS database
enhancement_database       = ${main.path_sysroot}/share/na_pos/worldwide.advicetiles.bin # advice DB will be used additionally to current NDS database
#QNX:      enhancement_database         = share/na_pos/worldwide.advicetiles.bin # advice DB will be used additionally to current NDS database

[main] # main section, this section name is also the default name if not set
PrintVersion    = true               # force printout of version strings
#WIN32:    PersistencyPath            = ${main.path_sysroot}/var/persistency
PersistencyPath            = /var/navilog/persistency
#QNX:      PersistencyPath              = /var/opt/neusoft/persistent

# switch to extern implementation (default is false)
[manager]
# extern_Persistence   = false

[DLT] # DLT logging section
PrintConfig                 = true                  # force printout of configuration strings
Application                 = NAPO                  # set the DLT logging Application ID (default = CORE)
AppDescription              = na_pos
#WIN32:    ECU               = PC                    # DLT logging ECU
#WIN32:    Logger            = IPC-Client 127.0.0.1:3491   # connect to an IPC-Server which will collect log data
Logger            =
#QNX:      Logger              = IPC-Client 127.0.0.1:3491   # connect to an IPC-Server which will collect log data

# log/context output: 0x01=DEBUG, 0x02=WARNING, 0x04=ERROR, 0x08=ASSERTION, 0x10=VERBOSE, 0x100=console, 0x400=dlt-daemon, 0x800=trace-devstudio
#QNX:      Output           = 0x04ff    # enable only dlt daemon
#WIN32:    Output         = 0x0fff    # enable all output (console, dlt daemon, devstudio)
Output         = 0x0404   # enable only dlt daemon
Context       += .*NdsLib                    0x404
Context       += .*SocketServer.*            0x404
Context       += .*SocketClient.*            0x404
Context       += .*ositioning.*              0x404
Context       += .*LocalMapImpl              0x404
Context       += .*PositioningWorker::Result 0       // explicit disable
Context       += .*MapMatch::Link            0
Context       += .*MapMatch::TraceMatchMode  0
Context       += .*debug                     0
Context       += .*trace                     0

[NDS]
DLL      =   
database =   

[SensorClient]
enabled         = true
host            = 127.0.0.1 # 192.168.1.193
port            = 32042

[PositioningServer]
port            = 42044
host            = 127.0.0.1 

[Positioning]
enabled             = true
dr_only             = false     # DeadReckoning only, don't use map matching
localmap_host       = 127.0.0.1 # connect to a local map server in this device
localmap_port       = 42046     # local map server port
# tunnel_database   = t.b.d.    # set a tunnel database path, let positioning work with it instead using NDS database
# localmap_database = t.b.d.    # set a exported local map database path, let positioning work with it instead using NDS database
slope_correlation   = true      # enable slope correlation, DR must deliver pitch angle and MAP must support ADAS slopes [default:=true]
wwdd                = true      # enable WrongWayDrivingDetection (Onecore Positioning implementation)
MpdConsumerPort     = 32098     # enable IPC access as MPD consumer on this port, prefer this config before MPD.MpdConsumerPort
lane_change         = true      # see BAJA-13875

[DR]                            # dead reckoning general choices
frequence            = 10       # update frequency, default is 10 if parameter not given
mode                 = 0        # 0:="DeadReckoningCalibrationA", 1:="DeadReckoningCalibrationB", 2:="SimpleDeadReckoning"
calibration_uid      = 52       # a unique ID, change it to start with a new calibration, otherwise an old calib with that id would be preferred
time_offset          = 0        # time offset for corrected GPS position

calibration_section  = CS-FAW   # use that section to init DR

debug_calibration    = true     # add calibration into any positioning result
setdatetime          = 0        # set system date time as early as possible, 0 - disabled, 1 - "date --set FORMATSTRING", 2 - "timedatectl set-time FORMATSTRING"
simulation           = false    # start Positioning/DR for dealing with simulated sensor data

movement_start_offset = 0.8

[CS-FAW]                                  # any calibration section with, can be used by any DR
                                          # possible origins are identical with: see Sensors.proto enum Origin...
origin_gps                     = 20        # OGN_ANYDEVICE
origin_speed                   = 20       # OGN_ANYDEVICE
#origin_odometer                = 20        # OGN_ANYDEVICE
origin_angular_velocity        = 20        # OGN_ANYDEVICE
origin_acceleration            = 20        # OGN_ANYDEVICE
gps_cno_threshold              = 18       # set cno threshold for GPS evaluation (unsigned integer)
gps_cno_audit_threshold_offset = 8        # enable automatic gps_cno_threshold calculation with this offset from calculated average
prescale_gyro                  = -0.001
#prescale_odometer              = 0.022
#odometer_scale_audit_deviation = 95        # 0..100 - 0:disable, threshold in percent to reset kalman filter with new estimated odometer scale
#yaw_rate_abs_max               = 100000    # limits valid yaw rate sensor values. This value of 100 deg/s circumvents erroneous CAN data delivered by GTC4
pitch_evaluation               = on        # enable pitch evaluation (necessary sensors must exist, see calibration_section) [default:=off]
acc3d_posx                     =  0
acc3d_posy                     =  0
acc3d_posz                     =  0
acc3d_angle_yaw                =  1.6
acc3d_angle_pitch              =  0
acc3d_angle_roll               =  8.6
gyro3d_angle_yaw               =  1.6
gyro3d_angle_pitch             =  0
gyro3d_angle_roll              =  8.6



[CS-UNKNOWN]
origin_gps                     = 19
origin_odometer                = 19
origin_angular_velocity        = 19
origin_acceleration            = 19
prescale_odometer              =  0.0195 # evaluated from logfiles
prescale_gyro                  = -0.001 # changed from -0.0011 as needed for OC-5005
prescale_gyro_bias             =  0
pitch_evaluation               = on # enable pitch evaluation
acc3d_posx                     =  0
acc3d_posy                     =  0
acc3d_posz                     =  0
acc3d_angle_yaw                =  0
acc3d_angle_pitch              = 25
acc3d_angle_roll               =  0
gyro3d_angle_yaw               =  0
gyro3d_angle_pitch             = 25
gyro3d_angle_roll              =  0
gps_cno_threshold              = 30 # set cno threshold for GPS evaluation (unsigned integer)
gps_cno_audit_threshold_offset =  8 # enable automatic gps_cno_threshold calculation with this offset from calculated average
speed_signal_confidence_limit  =  3 # speed signal threshold for reliable speed / wheel data)