Compare commits
2 Commits
04abe9f77b
...
0927b4ef37
Author | SHA1 | Date |
---|---|---|
|
0927b4ef37 | 1 week ago |
|
0b2686e8e0 | 1 week ago |
@ -0,0 +1,258 @@
|
||||
|
||||
// 面状航线默认template.kml数据
|
||||
export const templateKml123 = {
|
||||
"author": 17861857725,
|
||||
"createTime": 1749689844431,
|
||||
"updateTime": 1753241338101,
|
||||
"missionConfig": {
|
||||
"flyToWaylineMode": "pointToPoint",
|
||||
"finishAction": "goHome",
|
||||
"exitOnRCLost": "goContinue",
|
||||
"executeRCLostAction": "goBack",
|
||||
"takeOffSecurityHeight": 20,
|
||||
"takeOffRefPoint": "35.134383,118.302109,74.787731",
|
||||
"takeOffRefPointAGLHeight": 4.169064385,
|
||||
"globalTransitionalSpeed": 15,
|
||||
"globalRTHHeight": 100,
|
||||
"droneInfo": {
|
||||
"droneEnumValue": 100,
|
||||
"droneSubEnumValue": 1
|
||||
},
|
||||
"autoRerouteInfo": {
|
||||
"transitionalAutoRerouteMode": 1,
|
||||
"missionAutoRerouteMode": 1
|
||||
},
|
||||
"waylineAvoidLimitAreaMode": 0,
|
||||
"payloadInfo": {
|
||||
"payloadEnumValue": 99,
|
||||
"payloadSubEnumValue": 0,
|
||||
"payloadPositionIndex": 0
|
||||
}
|
||||
},
|
||||
"Folder": {
|
||||
"templateType": "mapping2d",
|
||||
"templateId": 0,
|
||||
"overlapRate":{
|
||||
"lateral":70,
|
||||
"heading":80
|
||||
},
|
||||
"waylineCoordinateSysParam": {
|
||||
"coordinateMode": "WGS84",
|
||||
"heightMode": "EGM96",
|
||||
"globalShootHeight": 90,
|
||||
"surfaceFollowModeEnable": 1,
|
||||
"isRealtimeSurfaceFollow": 0,
|
||||
"surfaceRelativeHeight": 90,
|
||||
"dsmFile": "wpmz/res/dsm/wgs84_ASTGTMV003_N35E118_dem_7.tif"
|
||||
},
|
||||
"autoFlightSpeed": 12.7,
|
||||
"Placemark": {
|
||||
"caliFlightEnable": 0,
|
||||
"elevationOptimizeEnable": 1,
|
||||
"smartObliqueEnable": 0,
|
||||
"quickOrthoMappingEnable": 0,
|
||||
"facadeWaylineEnable": 0,
|
||||
"isLookAtSceneSet": 0,
|
||||
"shootType": "time",
|
||||
"direction": 0,
|
||||
"margin": 0,
|
||||
"efficiencyFlightModeEnable": 0,
|
||||
"overlap": {
|
||||
"orthoCameraOverlapH": 80,
|
||||
"orthoCameraOverlapW": 70,
|
||||
"inclinedCameraOverlapH": 80,
|
||||
"inclinedCameraOverlapW": 70
|
||||
},
|
||||
"Polygon": {
|
||||
"outerBoundaryIs": {
|
||||
"LinearRing": {
|
||||
"coordinates": "118.295025 35.135105,0\n 118.296057 35.135105,0\n 118.295971 35.134423,0\n 118.295054 35.134485,0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ellipsoidHeight": 56.20,
|
||||
"height": 56.20
|
||||
},
|
||||
"payloadParam": {
|
||||
"payloadPositionIndex": 0,
|
||||
"focusMode": "firstPoint",
|
||||
"meteringMode": "average",
|
||||
"returnMode": "singleReturnStrongest",
|
||||
"samplingRate": 240000,
|
||||
"scanningMode": "repetitive",
|
||||
"imageFormat": "visable",
|
||||
"photoSize": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const templateKml = {
|
||||
"author": 17861857725,
|
||||
"createTime": 1755572150708,
|
||||
"updateTime": 1755572150708,
|
||||
"missionConfig": {
|
||||
"flyToWaylineMode": "pointToPoint",
|
||||
"finishAction": "goHome",
|
||||
"exitOnRCLost": "goContinue",
|
||||
"executeRCLostAction": "goBack",
|
||||
"takeOffSecurityHeight": 20,
|
||||
"takeOffRefPoint": "35.134588,118.296655,69.9",
|
||||
"takeOffRefPointAGLHeight": 4.169064385,
|
||||
"globalTransitionalSpeed": 15,
|
||||
"globalRTHHeight": 100,
|
||||
"droneInfo": {
|
||||
"droneEnumValue": 100,
|
||||
"droneSubEnumValue": 1
|
||||
},
|
||||
"autoRerouteInfo": {
|
||||
"transitionalAutoRerouteMode": 1,
|
||||
"missionAutoRerouteMode": 1
|
||||
},
|
||||
"waylineAvoidLimitAreaMode": 0,
|
||||
"payloadInfo": {
|
||||
"payloadEnumValue": 99,
|
||||
"payloadSubEnumValue": 0,
|
||||
"payloadPositionIndex": 0
|
||||
}
|
||||
},
|
||||
"Folder": {
|
||||
"templateType": "mapping2d",
|
||||
"templateId": 0,
|
||||
"waylineCoordinateSysParam": {
|
||||
"coordinateMode": "WGS84",
|
||||
"heightMode": "relativeToStartPoint",
|
||||
"globalShootHeight": 90
|
||||
},
|
||||
"autoFlightSpeed": 12.7,
|
||||
"Placemark": {
|
||||
"caliFlightEnable": 0,
|
||||
"elevationOptimizeEnable": 1,
|
||||
"smartObliqueEnable": 0,
|
||||
"quickOrthoMappingEnable": 0,
|
||||
"facadeWaylineEnable": 0,
|
||||
"isLookAtSceneSet": 0,
|
||||
"shootType": "time",
|
||||
"direction": 0,
|
||||
"margin": 0,
|
||||
"efficiencyFlightModeEnable": 0,
|
||||
"overlap": {
|
||||
"orthoCameraOverlapH": 80,
|
||||
"orthoCameraOverlapW": 70,
|
||||
"inclinedCameraOverlapH": 80,
|
||||
"inclinedCameraOverlapW": 70
|
||||
},
|
||||
"Polygon": {
|
||||
"outerBoundaryIs": {
|
||||
"LinearRing": {
|
||||
"coordinates": "118.295025,35.135105,69.2\n 118.296057,35.135105,70.8\n 118.295971,35.134423,71.6\n 118.295054,35.134485,70.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ellipsoidHeight": 56.20,
|
||||
"height": 56.20
|
||||
},
|
||||
"payloadParam": {
|
||||
"payloadPositionIndex": 0,
|
||||
"focusMode": "firstPoint",
|
||||
"meteringMode": "average",
|
||||
"returnMode": "singleReturnStrongest",
|
||||
"samplingRate": 240000,
|
||||
"scanningMode": "repetitive",
|
||||
"imageFormat": "visable",
|
||||
"photoSize": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 面状航线默认wayline.wpml数据
|
||||
export const waylineWpml = {
|
||||
"missionConfig": {
|
||||
"flyToWaylineMode": "pointToPoint",
|
||||
"finishAction": "goHome",
|
||||
"exitOnRCLost": "goContinue",
|
||||
"executeRCLostAction": "goBack",
|
||||
"takeOffSecurityHeight": 20,
|
||||
"globalTransitionalSpeed": 15,
|
||||
"globalRTHHeight": 100,
|
||||
"droneInfo": {
|
||||
"droneEnumValue": 100,
|
||||
"droneSubEnumValue": 1
|
||||
},
|
||||
"autoRerouteInfo": {
|
||||
"transitionalAutoRerouteMode": 1,
|
||||
"missionAutoRerouteMode": 1
|
||||
},
|
||||
"waylineAvoidLimitAreaMode": 0,
|
||||
"payloadInfo": {
|
||||
"payloadEnumValue": 99,
|
||||
"payloadSubEnumValue": 0,
|
||||
"payloadPositionIndex": 0
|
||||
}
|
||||
},
|
||||
"Folder": {
|
||||
"templateId": 0,
|
||||
"executeHeightMode": "relativeToStartPoint",
|
||||
"waylineId": 0,
|
||||
"distance": 1259.17163085938,
|
||||
"duration": 145.652896165848,
|
||||
"autoFlightSpeed": 12.7,
|
||||
"startActionGroup": {
|
||||
"action": [
|
||||
{
|
||||
"actionId": 0,
|
||||
"actionActuatorFunc": "gimbalRotate",
|
||||
"actionActuatorFuncParam": {
|
||||
"gimbalHeadingYawBase": "aircraft",
|
||||
"gimbalRotateMode": "absoluteAngle",
|
||||
"gimbalPitchRotateEnable": 1,
|
||||
"gimbalPitchRotateAngle": -90,
|
||||
"gimbalRollRotateEnable": 0,
|
||||
"gimbalRollRotateAngle": 0,
|
||||
"gimbalYawRotateEnable": 1,
|
||||
"gimbalYawRotateAngle": 0,
|
||||
"gimbalRotateTimeEnable": 0,
|
||||
"gimbalRotateTime": 10,
|
||||
"payloadPositionIndex": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"actionId": 1,
|
||||
"actionActuatorFunc": "hover",
|
||||
"actionActuatorFuncParam": {
|
||||
"hoverTime": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"actionId": 2,
|
||||
"actionActuatorFunc": "setFocusType",
|
||||
"actionActuatorFuncParam": {
|
||||
"cameraFocusType": "manual",
|
||||
"payloadPositionIndex": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"actionId": 3,
|
||||
"actionActuatorFunc": "focus",
|
||||
"actionActuatorFuncParam": {
|
||||
"focusX": 0,
|
||||
"focusY": 0,
|
||||
"focusRegionWidth": 0,
|
||||
"focusRegionHeight": 0,
|
||||
"isPointFocus": 0,
|
||||
"isInfiniteFocus": 1,
|
||||
"payloadPositionIndex": 0,
|
||||
"isCalibrationFocus": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"actionId": 4,
|
||||
"actionActuatorFunc": "hover",
|
||||
"actionActuatorFuncParam": {
|
||||
"hoverTime": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Placemark": []
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue