Task planning and path generation software for automated data collection equipment (hyperspectral cameras, DSLR, depth cameras). - Generate mission plans (JSON) with subtasks per device - Generate scan path binary files (.RecordLine3) - Multi-rectangle area planning with reference map support - Device-specific FOV defaults (Pika L 17.6°, Pika NIR 21.7°, etc.) - Timeline scheduling with constraint validation - Tauri 2.x + Vue 3 + Naive UI + Pinia
24 lines
750 B
Rust
24 lines
750 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
pub struct PathLineRecord {
|
|
#[serde(rename = "targetYPosition")]
|
|
pub target_y_position: f64,
|
|
#[serde(rename = "speedTargetYPosition")]
|
|
pub speed_target_y_position: f64,
|
|
#[serde(rename = "targetXMinPosition")]
|
|
pub target_x_min_position: f64,
|
|
#[serde(rename = "speedTargetXMinPosition")]
|
|
pub speed_target_x_min_position: f64,
|
|
#[serde(rename = "targetXMaxPosition")]
|
|
pub target_x_max_position: f64,
|
|
#[serde(rename = "speedTargetXMaxPosition")]
|
|
pub speed_target_x_max_position: f64,
|
|
}
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
pub struct PathLineFile {
|
|
pub count: u64,
|
|
pub records: Vec<PathLineRecord>,
|
|
}
|