Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
DitapViewer | 사용할 Ditap Viewer 인스턴스. The DitapViewer instance to use. | ||||||||||||||||||||||||||||
options |
object |
드론 모의주행 시뮬레이션 옵션. Drone mock flight simulation options.
|
Members
완료 상태값.
Complete status value.
Complete status value.
실행중 상태값.
Running status value.
Running status value.
정지 상태값.
Stoped status value.
Stoped status value.
대기 상태값.
Waiting status value.
Waiting status value.
시뮬레이션 아이디.
Simulation id.
Simulation id.
시뮬레이션 작업 준비 상태.
Readiness for simulation work.
Readiness for simulation work.
model : DroneSimulationModel
시뮬레이션 모델.
Simulation model.
Simulation model.
시뮬레이션 이름.
Simulation name.
Simulation name.
모델 회전 방향의 경로 추적 여부.
Whether to trace the path in the model rotation direction.
Whether to trace the path in the model rotation direction.
시뮬레이션 진행 작업 콜백함수.
Simulation progress task callback function.
Simulation progress task callback function.
readonly readyEvent : Event
시뮬레이션 작업 준비 상태 이벤트.
Simulation task readiness status event.
Simulation task readiness status event.
readonly route : Array.<(DroneSimulationWaypoint|DroneSimulationPhotogrammetry|DroneSimulationVerticalScan)>
시뮬레이션 라우트.
Simulation route.
Simulation route.
시뮬레이션 가시화 여부.
Whether simulation is visualized or not.
Whether simulation is visualized or not.
시뮬레이션 상태.
Simulation state.
Simulation state.
readonly viewer : DitapViewer
사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
Methods
시뮬레이션 경로 추가.
Add simulation path.
Add simulation path.
Name | Type | Description |
---|---|---|
path |
Cartesian3 | DroneSimulationWaypoint | DroneSimulationPhotoGrammetry | DroneSimulationVerticalScan |
추가할 경로. Path to add. |
Returns:
추가된 경로.
Added path.
Added path.
addRoute(route) → Array.<(DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan)>
시뮬레이션 라우트 추가.
Add Simulation route.
Add Simulation route.
Name | Type | Description |
---|---|---|
route |
Array.<(DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan)> |
추가할 라우트. Route to add. |
Returns:
추가된 라우트.
Added route.
Added route.
시뮬레이션 진행 및 작업 초기화.
Simulation progress and task initialization.
Simulation progress and task initialization.
시뮬레이션 경로 포함 여부 확인.
Check if simulation path is included.
Check if simulation path is included.
Name | Type | Description |
---|---|---|
path |
DroneSimulationWaypoint | DroneSimulationPhotogrammetry | DroneSimulationVerticalScan |
확인하려는 경로. Path you want to check. |
Returns:
포함 여부.
Included or not.
Included or not.
시뮬레이션 이어하기.
Continue the simulation.
Continue the simulation.
웨이포인트 연결 작업 생성
Name | Type | Description |
---|---|---|
startIndex |
number | |
endIndex |
number |
시뮬레이션 인스턴스 제거.
Remove simulation instance.
Remove simulation instance.
get(index) → DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan|undefined
인덱스에 해당하는 경로 반환.
Returns the path corresponding to the index.
Returns the path corresponding to the index.
Name | Type | Description |
---|---|---|
index |
string |
경로 인덱스. Path index. |
Returns:
요청한 경로.
Requested path.
Requested path.
getById(id) → DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan|undefined
지정된 아이디를 갖는 경로 반환.
Returns the path with the specified ID.
Returns the path with the specified ID.
Name | Type | Description |
---|---|---|
id |
string |
경로 아이디. Path id. |
Returns:
요청한 경로.
Requested path.
Requested path.
getStartingPosition() → Cartesian3|undefined
시작점 반환.
Return starting point.
Return starting point.
Returns:
시뮬레이션 스케줄 작업 초기화.
Initializing Simulation Schedule Tasks.
Initializing Simulation Schedule Tasks.
pushInto(fromIndex, toIndex) → Array.<(DroneSimulationWaypoint|DroneSimulationPhotogrammetry|DroneSimulationVerticalScan)>
경로 순서 변경.
Change path order.
Change path order.
Name | Type | Description |
---|---|---|
fromIndex |
number |
밀어넣을 경로의 인덱스. Index of the path to push. |
toIndex |
number |
새롬게 배치될곳의 인덱스. Index of the new location to be placed. |
Returns:
변경된 라우트.
Changed route.
Changed route.
인덱스에 해당하는 경로 제거.
Remove path corresponding to index.
Remove path corresponding to index.
Name | Type | Description |
---|---|---|
index |
number |
삭제하려는 경로의 인덱스. Index of the path to be deleted. |
Returns:
제거된 경우 True, 경로가 없는 경우 False.
True if removed, False if path does not exist.
True if removed, False if path does not exist.
지정된 아이디를 갖는 경로 제거.
Remove path with specified ID.
Remove path with specified ID.
Name | Type | Description |
---|---|---|
id |
string |
Returns:
제거된 경우 True, 경로가 없는 경우 False.
True if removed, False if path does not exist.
True if removed, False if path does not exist.
시뮬레이션 진행 초기화.
Reset simulation progress.
Reset simulation progress.
set(route) → Array.<(DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan)>
시뮬레이션 라우트 설정.
Simulation route set.
Simulation route set.
Name | Type | Description |
---|---|---|
route |
Array.<(DroneSimulationWaypoint|DroneSimulationPhotoGrammetry|DroneSimulationVerticalScan)> |
세팅할 라우트. Route to set. |
Returns:
세팅된 라우트.
Set route.
Set route.
시뮬레이션 시작.
Start simulation.
Start simulation.
시뮬레이션 중지.
Stop simulation.
Stop simulation.