ros2_interfaces_rolling/moveit_msgs/msg/
planning_options.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct PlanningOptions {
5    pub planning_scene_diff: crate::moveit_msgs::msg::PlanningScene,
6    pub plan_only: bool,
7    pub look_around: bool,
8    pub look_around_attempts: i32,
9    pub max_safe_execution_cost: f64,
10    pub replan: bool,
11    pub replan_attempts: i32,
12    pub replan_delay: f64,
13}
14
15impl Default for PlanningOptions {
16    fn default() -> Self {
17        PlanningOptions {
18            planning_scene_diff: crate::moveit_msgs::msg::PlanningScene::default(),
19            plan_only: false,
20            look_around: false,
21            look_around_attempts: 0,
22            max_safe_execution_cost: 0.0,
23            replan: false,
24            replan_attempts: 0,
25            replan_delay: 0.0,
26        }
27    }
28}
29
30impl ros2_client::Message for PlanningOptions {}