Commit c0af16dd authored by p x's avatar p x
Browse files

first

parent 0b4d4d4e
Pipeline #3217 failed with stages
in 0 seconds
*.iml
.gradle
.idea
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
/mycomutils
# C-AVP2.0
https://docs.qq.com/sheet/DVWdOYXZXdVVrQWts?tab=xxmysv socket文档
https://s.apifox.cn/e355c9e1-cdd1-49ab-acb2-54cfc66b1598/320994000e0 大屏文档
获取AVP状态信息 /v1/avp/overview/listAvpStatus 这个曲华烨要做成socket 的推送形式,通过这个接口获取全局路径和局部路径,车辆业务状态。
通过里面的vehicleId,调车辆详情(/v1/avp/overview/getVehicleInfo)获取车内视频流,
websocket 那几个连接,都需要传vehicleId,你也可以不传,不传就是获取所有的
【腾讯文档】AVP-HMI接口需求清单
https://docs.qq.com/sheet/DVmNmZ3VhVEFxRkpV?tab=BB08J2
#AVP状态接口返回 - 见avp_statu.txt
智能泊车2.0
\ No newline at end of file
/build
\ No newline at end of file
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
id("dagger.hilt.android.plugin")
id("kotlin-kapt")
// id("com.google.protobuf")
// alias(libs.plugins.proto.google)
}
android {
namespace = "com.sd.cavphmi"
compileSdk = 35
defaultConfig {
applicationId = "com.sd.cavphmi"
minSdk = 31
targetSdk = 35
versionCode = 1
versionName = "1.0"
ndk {
// abiFilters.addAll(listOf("x86_64", "arm64-v8a"))
abiFilters.addAll(listOf("arm64-v8a","x86_64"))
}
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
dataBinding = true
viewBinding = true
}
lint {
abortOnError = false
checkReleaseBuilds = false
}
packaging {
jniLibs {
excludes.add("META-INF/*******")
excludes.add("plugin.xml")
}
resources {
excludes.addAll(
listOf(
"META-INF/*******",
"META-INF/INDEX.LIST",
"META-INF/io.netty.versions.properties"
)
)
}
}
applicationVariants.all {
outputs.all {
if (this is com.android.build.gradle.internal.api.ApkVariantOutputImpl) {
val config = project.android.defaultConfig
val versionName = config.versionName
// val formatter = DateTimeFormatter.ofPattern("yyyy_MM_dd_HHmm")
// val createTime = LocalDateTime.now().format(formatter)
outputFileName = "avp_${versionName}.apk"
}
}
}
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
// implementation(libs.androidx.navigation.fragment.ktx)
// implementation(libs.androidx.navigation.ui.ktx)
androidTestImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
implementation("com.tencent:mmkv:2.2.4")
implementation("io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.7")
implementation("com.jakewharton.rxbinding4:rxbinding:4.0.0")
//屏幕适配
implementation("com.github.JessYanCoding:AndroidAutoSize:v1.2.1")
//用于坐标重投影的Proj.4库的Java端口
// implementation("org.locationtech.proj4j:proj4j:1.4.1")
// // https://mvnrepository.com/artifact/org.locationtech.proj4j/proj4j-epsg
// implementation("org.locationtech.proj4j:proj4j-epsg:1.3.0")// 包含EPSG定义
//sm4 加密
implementation("org.bouncycastle:bcprov-jdk15on:1.70")
//公共工具类库
implementation(project(":mycomutils"))
implementation("com.google.protobuf:protobuf-java:4.31.1")
// implementation("com.google.protobuf:protobuf-javalite:4.31.1")CRSFactory
// implementation("com.google.protobuf:protoc:3.0.0")
// implementation("com.google.protobuf:protobuf-kotlin-lite:4.31.1")
//播放器
implementation("androidx.media3:media3-exoplayer:1.8.0")
implementation("androidx.media3:media3-exoplayer-dash:1.8.0")
implementation("androidx.media3:media3-ui:1.8.0")
implementation("androidx.media3:media3-ui-compose:1.8.0")
//java web socket
implementation("org.java-websocket:Java-WebSocket:1.6.0")
//proto
// Hilt dependencies
val hilt_version = "2.56.1"
implementation("com.google.dagger:hilt-android:$hilt_version")
kapt("com.google.dagger:hilt-android-compiler:${hilt_version}")
// ViewModel
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
//fragment-ktx
implementation("androidx.fragment:fragment-ktx:1.8.0")
// 权限请求框架
implementation("com.guolindev.permissionx:permissionx:1.8.1")
//加密库
// implementation("androidx.security:security-crypto:1.0.0")
// implementation("com.gyf.immersionbar:immersionbar:2.3.3-beta15")
//网络
// implementation("io.reactivex.rxjava3:rxjava:3.0.8")
// implementation("io.reactivex.rxjava3:rxandroid:3.0.0")
implementation("com.squareup.retrofit2:retrofit:2.9.0"){
exclude("com.squareup.okhttp3", "okhttp")
}
// OkHttp 核心库(必须与 SSE 版本一致)
// implementation("com.squareup.okhttp3:okhttp:5.3.0")
// OkHttp-SSE 库(5.3.0 版本)
implementation("com.squareup.okhttp3:okhttp-sse:4.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
// implementation("com.squareup.retrofit2:adapter-rxjava3:2.9.0")
implementation("com.squareup.retrofit2:converter-scalars:2.9.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
}
\ No newline at end of file
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keep class org.bouncycastle.** { *; }
-dontwarn org.bouncycastle.**
package com.sd.cavphmi
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.gson.Gson
import com.minedata.minenavi.mapdal.LatLng
import com.minedata.minenavi.util.Tools
import com.sd.cavphmi.bean.AvpStatuBean
import com.sd.cavphmi.bean.CarVehicle
import com.sd.cavphmi.bean.mock.MRoutes
import com.sd.cavphmi.utils.FileIoUtils
import com.sd.cavphmi.utils.SM4CryptoHelper
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.UnconfinedTestDispatcher
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.sd.cavphmi", appContext.packageName)
}
@Test
fun loginCpy() {
var pwd = "vUO2dStZDhbd*88FfT84"
var key = "Cusc@itmp-sm4key".toByteArray()
var pp = SM4CryptoHelper.encryptECB(key, pwd.toByteArray())
println("------------------pp = ${pp}")
}
@Test
fun calculateTouYing2() {
// 02runTest
TestScope(UnconfinedTestDispatcher()).launch {
var gson = Gson()
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
//获取全局路径
var avpDatas = mutableListOf<String>()
FileIoUtils.getAssetMock(appContext.applicationContext, "mock/shiche/avp_status_call.txt", avpDatas)
var str = avpDatas.first()
val statu = gson.fromJson<AvpStatuBean>(str, AvpStatuBean::class.java)
//转换小弟提路径点
var sLatLngs = statu.drivenDecision.trajectory.points.map {
Tools.latLngToPoint(LatLng(it.latitude, it.longitude))
}.toTypedArray()
println("-------------sLatLngs = ${sLatLngs}")
//点传线段
val testPoint = mutableListOf<List<Double>>()
//车辆位姿
var carDatas = mutableListOf<String>()
FileIoUtils.getAssetMock(appContext, "mock/shiche/CarVehicle_Call.txt", carDatas)
carDatas.forEach { str ->
val cCar = gson.fromJson<CarVehicle>(str, CarVehicle::class.java)
if (cCar.vehiclePos != null) {
delay(300)
}
}
// val testPoint = doubleArrayOf(116.38810256578773, 39.92848759523565) // 北海公园
// val testPoint = mutableListOf<DoubleArray>()
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- 打开关闭sdcard的权限 -->
<uses-permission
android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
tools:ignore="ProtectedPermissions" />
<uses-permission
android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
tools:ignore="ProtectedPermissions" /> <!-- 允许程序打开网络套接字 -->
<uses-permission android:name="android.permission.INTERNET" /> <!-- 允许程序访问网络状态 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- 允许用户改变WiFi连接状态 -->
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <!-- 程序访问粗略位置 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <!-- 允许用户访问精确位置 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- Android Q 允许后台运行定位 -->
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> <!-- 允许程序读取手机状态 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 打电话的权限 -->
<!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
<!-- 从SDCard读出数据权限 -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <!-- 允许程序写入外部存储设备 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <!-- 允许程序读取所有者数据 -->
<uses-permission android:name="android.permission.READ_OWNER_DATA" /> <!-- 访问WiFi状态,需要WiFi信息用于网络定位 -->
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <!-- 访问网络的变化, 需要某些信息用于网络定位 -->
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> <!-- 8.0 安装未知程序权限 -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<application
android:name=".MyAppcation"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:theme="@style/Theme.SuZhouAvp"
tools:targetApi="31">
<!-- 去UNITY广告-->
<!-- <meta-data-->
<!-- android:name="unity.splash-mode"-->
<!-- android:value="0" />-->
<!-- <meta-data-->
<!-- android:name="unity.splash-enable"-->
<!-- android:value="False" />-->
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<meta-data
android:name="com.minedata.minenavi.apikey"
android:value="c6eaf46ec48640f3b222c29730518dfd" /> <!-- android:screenOrientation="userLandscape" -->
<meta-data
android:name="design_width_in_dp"
android:value="960" />
<meta-data
android:name="design_height_in_dp"
android:value="540" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<activity
android:name=".ui.LoginActivity"
android:exported="true"
android:screenOrientation="landscape"
android:theme="@style/Theme.SuZhouAvp">
<!-- <intent-filter>-->
<!-- <action android:name="android.intent.action.MAIN" />-->
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
<!-- </intent-filter>-->
</activity>
<activity
android:name=".ui.MainActivity"
android:exported="false"
android:hardwareAccelerated="false"
android:launchMode="singleTask"
android:resizeableActivity="false"
android:screenOrientation="landscape">
</activity>
<activity
android:name=".ui.BootActivity"
android:exported="true"
android:screenOrientation="landscape"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
/*** 感知延时**/
fun subPreDelay(): LiveData<PreDelay> {
try {
if (preDelayWSClient == null) {
preDelayWSClient = PreDelayWSClient(URI(MyContants.WS_PRE_DELAY))
preDelayWSClient?.connect()
preDelayWSClient?.onDataCb = object : PreDelayWSClient.OnDataCb {
override fun onMsg(str: String) {
viewModelScope.launch {
FileIoUtils.writeToFile(str, "pre_delay.txt")
var bean = gson.fromJson(str, PreDelay::class.java)
preDelay.postValue(bean)
}
}
}
}
} catch (e: Exception) {
e.printStackTrace()
}
return preDelay
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
{"rs":[[116.50238005214746,39.81014469509955],[116.50236486876796,39.81013731694055],[116.50234968537274,39.81012993879976],[116.50233450197756,39.8101225606582],[116.50231931858238,39.81011518251584],[116.5023041333868,39.81010780655952],[116.50229565547512,39.81010368888862],[116.50228036234131,39.810096445719445],[116.50226506920752,39.8100892025495],[116.50224985746125,39.81008185923798],[116.50223467091115,39.81007448492373],[116.5022194843611,39.81006711060869],[116.502204297811,39.81005973629286],[116.50218911126096,39.81005236197624],[116.50217392471086,39.81004498765881],[116.50215873816082,39.810037613340604],[116.50214354204267,39.81003025071994],[116.50212940967664,39.81002347155654],[116.50211414052076,39.810016198589445],[116.50209895321649,39.81000882529198],[116.50208377514453,39.8100014406772],[116.5020685970726,39.809994056061605],[116.50205341900066,39.80998667144523],[116.50203824092873,39.809979286828046],[116.50202306285678,39.80997190221008],[116.50200788607032,39.80996451603342],[116.50199271461229,39.809957123398306],[116.50197175150723,39.80994690865124],[116.5019565677659,39.809939530910334],[116.50194138402462,39.809932153168646],[116.5019261959587,39.80992478068344],[116.50191100349002,39.809917413549634],[116.50189579233196,39.809910069682026],[116.50188040671078,39.80990294300845],[116.50186502108963,39.80989581633414],[116.50184281562053,39.80988553068078],[116.50182802471463,39.809877696172016],[116.50181322516318,39.80986987170683],[116.50179804843465,39.80986248544798],[116.50178280602617,39.80985518091484],[116.50176075352947,39.80984499368132],[116.50174177475655,39.809835769889],[116.5017274954714,39.80982739397197],[116.50171740536683,39.80981635635335],[116.50171295482671,39.809803030251885],[116.50171301661533,39.80978929564729],[116.50171746496443,39.80977596765635],[116.5017259444861,39.8097638114287],[116.5017379185738,39.80974819470519],[116.50174729851142,39.80973642369948],[116.50175667844906,39.80972465269176],[116.50176605838669,39.80971288168202],[116.50177543832429,39.809701110670275],[116.50178481826192,39.8096893396565],[116.50179419819955,39.80967756864072],[116.50180357813717,39.809665797622905],[116.5018129580748,39.8096540266031],[116.50182233801245,39.80964225558127],[116.50183171795007,39.80963048455742],[116.50184109788769,39.809618713531556],[116.5018504778253,39.80960694250368],[116.50185985776292,39.80959517147379],[116.50186923770057,39.80958340044187],[116.5018786176382,39.80957162940795],[116.50188799757582,39.80955985837201],[116.50189737751344,39.80954808733406],[116.50190675745107,39.80953631629408],[116.50191613738868,39.8095245452521],[116.5019255173263,39.80951277420809],[116.50193493157849,39.80950101936984],[116.50194437236506,39.80948927706254],[116.50195381315163,39.80947753475324],[116.5019632539382,39.80946579244194],[116.50197269472476,39.809454050128615],[116.50198213551133,39.809442307813306],[116.5019915762979,39.80943056549599],[116.50200101708447,39.80941882317666],[116.50201045787104,39.809407080855316],[116.50201989865761,39.809395338531964],[116.50202933944418,39.80938359620662],[116.50203878023075,39.80937185387928],[116.50204822101732,39.809360111549914],[116.50205766180389,39.809348369218554],[116.50206710259046,39.809336626885184],[116.50207654337703,39.80932488454981],[116.50208598416357,39.809313142212424],[116.50209542495014,39.80930139987304],[116.50210499804051,39.809289720982065],[116.50211458612095,39.80927804927806],[116.50212417420141,39.80926637757208],[116.50213376228183,39.80925470586412],[116.50214335036227,39.809243034154164],[116.50215293844273,39.80923136244224],[116.50216252652316,39.809219690728334],[116.5021721146036,39.809208019012445],[116.50218170268406,39.809196347294574],[116.5021912907645,39.80918467557471],[116.50220087884492,39.80917300385288],[116.50221046692533,39.80916133212906],[116.50222194778321,39.80914735629438],[116.50223079042868,39.80913537219419],[116.50224437375732,39.80912656561062],[116.5022616599528,39.80912330256496],[116.50227897733187,39.809126399012214],[116.50229461795695,39.80913317723447],[116.50231015045868,39.80914011342922],[116.5023256829604,39.80914704962326],[116.50234121546217,39.80915398581661],[116.50235709967029,39.80916040951712],[116.50237406319151,39.80916484398448],[116.50239187097037,39.80916636876694],[116.50240970211905,39.80916504764615],[116.50242686120255,39.80916110814383],[116.50244272398614,39.809154696622954],[116.50245637374258,39.80914577271494],[116.50246747881728,39.809134975672535],[116.50247697374292,39.80912326014347],[116.50248632266518,39.80911147447951],[116.5024956715874,39.80909968881352],[116.50250735122155,39.80908496494592],[116.50251677946527,39.80907321662218],[116.50252620770894,39.80906146829645],[116.50253563595264,39.8090497199687],[116.50254394816011,39.809039362307594]]}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{"haulingNo":"PARK-202511263","vin":"LU123456789011111","spaceId":"1594179823000223754","space":{"id":1594179823000223754,"createdAt":1693016363,"updatedAt":1764137952156,"name":"B002","code":"1567","state":"OCCUPY","spaceType":"PARK","surface":"[[116.502672641583686,39.808717348607381],[116.502656697557583,39.808737040046204],[116.502719621229957,39.808767724154123],[116.502735514232526,39.808748008315952],[116.502672641583686,39.808717348607381]]","entranceLongitude":116.50274476891985,"entranceLatitude":39.808767558388645,"centerLongitude":120.7066859236955,"centerLatitude":31.324335727750118,"elevation":null,"occupyTime":"2025-11-26T06:19:12.139Z","occupySource":"LOCK","placeId":1,"line":null},"haulingStageState":"TRANSPORT_PROGRESS","businessType":"Park","vehicleContext":{"vin":"LU123456789011111","vehicleBusinessType":null,"online":true,"vehicleBasic":{"id":27,"deviceId":"0102072022380026","vehicleLength":null,"vehicleWidth":null,"maxSpeed":null,"minTurnRadius":null},"vehicleDynamic":{"speed":0.006823937919616057,"accSpeed":9.98458292271517,"longitude":116.502475,"latitude":39.809097,"elevation":23.00799999999981,"heading":148.6669921875,"drivingMode":"MANUAL","gearType":"PARK","power":null,"doorStatus":"1111111","light":null,"wiper":null},"perceptionContext":null},"drivenDecision":{"startPoint":{"id":"8b437b15-eb41-45d5-a1e4-d086dd5e62fd","longitude":116.502475,"latitude":39.809097,"altitude":23.00799999999981,"heading":148.6669921875,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},"endPoint":{"id":"1567","longitude":116.50274476891985,"latitude":39.808767558388645,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},"trajectory":{"arrived":false,"startPoint":{"id":null,"longitude":0.0,"latitude":0.0,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},"endPoint":{"id":null,"longitude":116.50274476891985,"latitude":39.808767558388645,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},"points":[{"id":null,"longitude":116.50248899270137,"latitude":39.80910810251742,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},{"id":null,"longitude":116.50250735122155,"latitude":39.80908496494593,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null},{"id":null,"longitude":116.50275529593338,"latitude":39.808776006506584,"altitude":0.0,"heading":0.0,"targetSpeed":0.0,"acceleration":0.0,"timestamp":0.0,"curvature":0.0,"curvatureRate":0.0,"area":null,"longitudinalAcce":null,"longitudinalDis":null,"longitudinalSpeed":null,"transverseAcce":null,"transverseDis":null,"transverseSpeed":null,"verticalAcce":null}],"pathLine":"1471_0.0000_-1,1457_0.0000_-1,1432_0.0000_-1,1348_0.0000_1,1450_0.0000_-1,1456_0.0000_-1,1487_0.0000_-1,1457_0.0000_1","pathArray":null,"length":56.522754903940324,"time":40},"routing":null,"progress":null},"exceptionCode":null,"exceptionMessage":null}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50262994,"latitude":39.80879038,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815087408}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263402,"latitude":39.80879237,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815088496}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263522,"latitude":39.80879297,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815089497}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263522,"latitude":39.80879297,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815090499}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263522,"latitude":39.80879297,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815091500}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263522,"latitude":39.80879297,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815092502}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50263771,"latitude":39.80879416,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815093504}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.5026409,"latitude":39.80879585,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815094505}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50264638,"latitude":39.80879864,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815095507}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50265504,"latitude":39.80880281,"elevation":500.0},{"id":"2411","name":"Participants","longitude":116.50295014,"latitude":39.80895027,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815096508}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815097510}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815098511}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815099513}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815100514}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"reportTime":1764815101516}
{"id":"41056663902769152","objects":[{"id":"27","name":"Vehicle","longitude":116.50266222,"latitude":39.80880619,"elevation":500.0},{"id":"2431","name":"Participants","longitude":116.50276509,"latitude":39.80885719,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815087408,"endTime":1764815101516,"reportTime":1764815101516}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280436,"latitude":39.80867045,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815112430}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815113530}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815114531}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815115533}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815116535}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815117537}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815118538}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815119540}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815120542}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"reportTime":1764815121543}
{"id":"41056667189661696","objects":[{"id":"27","name":"Vehicle","longitude":116.50280226,"latitude":39.80866716,"elevation":500.0},{"id":"102426","name":"Participants","longitude":116.5027721,"latitude":39.8086266,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815112430,"endTime":1764815121543,"reportTime":1764815121543}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50318761,"latitude":39.80795764,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032265,"latitude":39.8078809,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815128768}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50320892,"latitude":39.80793118,"elevation":500.0},{"id":"601693","name":"Participants","longitude":116.5032809,"latitude":39.8078982,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815129310}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50323641,"latitude":39.80790379,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032427,"latitude":39.8078855,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815130312}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.5032665,"latitude":39.8078867,"elevation":500.0},{"id":"601695","name":"Participants","longitude":116.5031929,"latitude":39.8078803,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815131322}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50330594,"latitude":39.80787388,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032642,"latitude":39.8078925,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815132324}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50333593,"latitude":39.80787289,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032747,"latitude":39.8078965,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815134327}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50333593,"latitude":39.80787289,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032747,"latitude":39.8078965,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815135329}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50333593,"latitude":39.80787289,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032747,"latitude":39.8078965,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815136331}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50333593,"latitude":39.80787289,"elevation":500.0},{"id":"601694","name":"Participants","longitude":116.5032747,"latitude":39.8078965,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815137332}
{"id":"41056669328756736","objects":[{"id":"27","name":"Vehicle","longitude":116.50333026,"latitude":39.80798272,"elevation":500.0},{"id":"601695","name":"Participants","longitude":116.5032869,"latitude":39.807901,"elevation":500.0}],"type":12,"typeName":"弱势交通参与者","level":1,"startTime":1764815128768,"reportTime":1764815138334}
{"id":"41056670746562560","objects":[{"id":"27","name":"Vehicle","longitude":116.50329769,"latitude":39.80801852,"elevation":500.0},{"name":"Vehicle","longitude":116.5032787,"latitude":39.8080572,"elevation":500.0}],"type":1,"typeName":"前向碰撞预警","level":1,"startTime":1764815139552,"reportTime":1764815139552}
[{"id":"3743379f-ddea-4816-9a34-e3b699810c50","deviceCode":"C-HK-38","deviceId":"DW17-XJ-003-034","intersectionCode":"yz-17","reportTime":1758163422384,"accessTime":1758163345458,"receiveTime":1758163422384,"participants":[{"ptcId":"50332456-3030-3030-3530-303334533955","ptcType":"pedestrian","longitude":"116.50230306","latitude":"39.80994386","heading":145,"speed":8.14,"gear":0,"color":0}]}]
[{"id":"3743379f-ddea-4816-9a34-e3b699810c50","deviceCode":"C-HK-38","deviceId":"DW17-XJ-003-034","intersectionCode":"yz-17","reportTime":1758163422384,"accessTime":1758163345458,"receiveTime":1758163422384,"participants":[{"ptcId":"50332456-3030-3030-3530-303334533955","ptcType":"pedestrian","longitude":"116.50226374","latitude":"39.80999206","heading":145,"speed":8.14,"gear":0,"color":0}]}]
[{"id":"3743379f-ddea-4816-9a34-e3b699810c50","deviceCode":"C-HK-38","deviceId":"DW17-XJ-003-034","intersectionCode":"yz-17","reportTime":1758163422384,"accessTime":1758163345458,"receiveTime":1758163422384,"participants":[{"ptcId":"50332456-3030-3030-3530-303334533955","ptcType":"pedestrian","longitude":"116.50220032","latitude":"39.80999713","heading":145,"speed":8.14,"gear":0,"color":0}]}]
[{"id":"3743379f-ddea-4816-9a34-e3b699810c50","deviceCode":"C-HK-38","deviceId":"DW17-XJ-003-034","intersectionCode":"yz-17","reportTime":1758163422384,"accessTime":1758163345458,"receiveTime":1758163422384,"participants":[{"ptcId":"50332456-3030-3030-3530-303334533955","ptcType":"pedestrian","longitude":"116.50204936866068","latitude":"39.809955271625505","heading":145,"speed":8.14,"gear":0,"color":0}]}]
[{"id":"3743379f-ddea-4816-9a34-e3b699810c50","deviceCode":"C-HK-38","deviceId":"DW17-XJ-003-034","intersectionCode":"yz-17","reportTime":1758163422384,"accessTime":1758163345458,"receiveTime":1758163422384,"participants":[{"ptcId":"50332456-3030-3030-3530-303334533955","ptcType":"pedestrian","longitude":"116.50204936866068","latitude":"39.809955271625505","heading":145,"speed":8.14,"gear":0,"color":0}]}]
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment