ros2_interfaces_rolling/moveit_msgs/msg/
motion_plan_response.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct MotionPlanResponse {
5 pub trajectory_start: crate::moveit_msgs::msg::RobotState,
6 pub group_name: ::std::string::String,
7 pub trajectory: crate::moveit_msgs::msg::RobotTrajectory,
8 pub planning_time: f64,
9 pub error_code: crate::moveit_msgs::msg::MoveItErrorCodes,
10}
11
12impl Default for MotionPlanResponse {
13 fn default() -> Self {
14 MotionPlanResponse {
15 trajectory_start: crate::moveit_msgs::msg::RobotState::default(),
16 group_name: ::std::string::String::new(),
17 trajectory: crate::moveit_msgs::msg::RobotTrajectory::default(),
18 planning_time: 0.0,
19 error_code: crate::moveit_msgs::msg::MoveItErrorCodes::default(),
20 }
21 }
22}
23
24impl ros2_client::Message for MotionPlanResponse {}