Skip to content

Commit

Permalink
Add Enhance BodyInformation vehicle data params to existed scripts fo…
Browse files Browse the repository at this point in the history
…r GNSD
  • Loading branch information
VjKlepikov authored and dboltovskyi committed Jan 19, 2021
1 parent f568606 commit 70556df
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,22 @@ local function VehicleDataItemsWithDataTableCreation()
bodyInformationParams.passengerDoorAjar.value = false
bodyInformationParams.rearLeftDoorAjar.value = false
bodyInformationParams.rearRightDoorAjar.value = false
bodyInformationParams.doorStatuses.value = {
{ location = { col = 49, row = 49, level = 49, colspan = 49, rowspan = 49, levelspan = 49 },
status = "CLOSED"
}
}
bodyInformationParams.gateStatuses.value = {
{ location = { col = 50, row = 50, level = 50, colspan = 50, rowspan = 50, levelspan = 50 },
status = "AJAR"
}
}
bodyInformationParams.roofStatuses.value = {
{ location = { col = 51, row = 51, level = 51, colspan = 51, rowspan = 51, levelspan = 51 },
state = { approximatePosition = 52, deviation = 52 },
status = "REMOVED"
}
}
common.VehicleDataItemsWithData.bodyInformation.APItype = "VEHICLEDATA_BODYINFO"
local deviceStatusParams = common.VehicleDataItemsWithData.deviceStatus.params
deviceStatusParams.voiceRecOn.value = true
Expand Down

0 comments on commit 70556df

Please sign in to comment.