Initial commit: Happa Mission Plan v0.1.0
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
This commit is contained in:
23
src-tauri/src/models/path_line.rs
Normal file
23
src-tauri/src/models/path_line.rs
Normal file
@ -0,0 +1,23 @@
|
||||
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>,
|
||||
}
|
||||
Reference in New Issue
Block a user