ros2_interfaces_humble/ros_ign_interfaces/msg/
entity_factory.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct EntityFactory {
5    pub name: ::std::string::String,
6    pub allow_renaming: bool, // default: false
7    pub sdf: ::std::string::String,
8    pub sdf_filename: ::std::string::String,
9    pub clone_name: ::std::string::String,
10    pub pose: crate::geometry_msgs::msg::Pose,
11    pub relative_to: ::std::string::String, // default: "world"
12}
13
14impl Default for EntityFactory {
15    fn default() -> Self {
16        EntityFactory {
17            name: ::std::string::String::new(),
18            allow_renaming: false,
19            sdf: ::std::string::String::new(),
20            sdf_filename: ::std::string::String::new(),
21            clone_name: ::std::string::String::new(),
22            pose: crate::geometry_msgs::msg::Pose::default(),
23            relative_to: ::std::string::String::from("world"),
24        }
25    }
26}
27
28impl ros2_client::Message for EntityFactory {}