From 1b746234567047c4c95d4dbb69748aaca5937a1e Mon Sep 17 00:00:00 2001 From: carter Date: Tue, 21 May 2024 10:44:19 -0600 Subject: [PATCH] Fixing dependency leaks finally --- Cargo.lock | 17 +- example_package/Cargo.toml | 13 +- roslibrust_codegen/Cargo.toml | 5 + roslibrust_codegen/src/gen.rs | 13 +- roslibrust_codegen/src/lib.rs | 11 +- roslibrust_test/Cargo.toml | 5 - roslibrust_test/src/ros1.rs | 1455 +++++++++++++++++++-------------- roslibrust_test/src/ros2.rs | 993 ++++++++++++---------- 8 files changed, 1426 insertions(+), 1086 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef7c9993..724712bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -481,10 +481,7 @@ name = "example_package" version = "0.1.0" dependencies = [ "cargo-emit", - "roslibrust", "roslibrust_codegen", - "serde", - "smart-default 0.7.1", ] [[package]] @@ -1271,7 +1268,7 @@ dependencies = [ [[package]] name = "roslibrust" -version = "0.8.0" +version = "0.9.0" dependencies = [ "abort-on-drop", "anyhow", @@ -1308,7 +1305,7 @@ dependencies = [ [[package]] name = "roslibrust_codegen" -version = "0.8.0" +version = "0.9.0" dependencies = [ "env_logger 0.10.0", "lazy_static", @@ -1317,8 +1314,10 @@ dependencies = [ "proc-macro2", "quote", "serde", + "serde-big-array", "serde_json", "simple-error", + "smart-default 0.7.1", "syn 1.0.109", "test-log", "tokio", @@ -1328,7 +1327,7 @@ dependencies = [ [[package]] name = "roslibrust_codegen_macro" -version = "0.8.0" +version = "0.9.0" dependencies = [ "proc-macro2", "quote", @@ -1338,7 +1337,7 @@ dependencies = [ [[package]] name = "roslibrust_genmsg" -version = "0.1.0" +version = "0.9.0" dependencies = [ "clap", "const_format", @@ -1361,10 +1360,6 @@ dependencies = [ "lazy_static", "roslibrust", "roslibrust_codegen", - "serde", - "serde-big-array", - "serde_json", - "smart-default 0.6.0", ] [[package]] diff --git a/example_package/Cargo.toml b/example_package/Cargo.toml index 6d712e42..f8ae9618 100644 --- a/example_package/Cargo.toml +++ b/example_package/Cargo.toml @@ -4,19 +4,12 @@ version = "0.1.0" edition = "2021" [dependencies] -# This is what we need for using this package in our mono-repo -roslibrust = { path = "../roslibrust" } -# Normally you would have: roslibrust = "0.7" -# TODO in the current state of this example, we don't actually need roslibrust -# These dependencies are needed by the code that roslibrust_codegen autogenerates -# They are silently "leaked dependencies of the crate" -# See https://github.com/Carter12s/roslibrust/issues/72 for resolution path -serde = "1.0" -smart-default = "0.7" +# The code generated by roslibrust_codegen has dependendencies +# We need to depend on the crate at build time so that the generate code has access to these dependencies roslibrust_codegen = { path = "../roslibrust_codegen" } [build-dependencies] -# We depend on codegen as a build dependency as we (should) only need it to generate our types +# We depend on codegen as a build dependency as we invoke it in build.rs roslibrust_codegen = { path = "../roslibrust_codegen" } # This crate is very helpful for build.rs files but not required cargo-emit = "0.2" \ No newline at end of file diff --git a/roslibrust_codegen/Cargo.toml b/roslibrust_codegen/Cargo.toml index d759459d..c5f490de 100644 --- a/roslibrust_codegen/Cargo.toml +++ b/roslibrust_codegen/Cargo.toml @@ -25,6 +25,11 @@ syn = "1.0" tokio = { version = "1.0", features = ["time", "signal"], optional = true} walkdir = "2.3" xml-rs = "0.8" +# Not a direct dependencies of the crate, but something generated code uses +# We include them as dependencies here and expose them with a `pub use` +# So that the generate code can find them, and users don't have to added dependencies themselves +smart-default = "0.7" +serde-big-array = "0.5" [dev-dependencies] env_logger = "0.10" diff --git a/roslibrust_codegen/src/gen.rs b/roslibrust_codegen/src/gen.rs index bc97f892..118eef11 100644 --- a/roslibrust_codegen/src/gen.rs +++ b/roslibrust_codegen/src/gen.rs @@ -10,17 +10,14 @@ use crate::{bail, Error}; use crate::{ConstantInfo, FieldInfo, MessageFile, RosLiteral, ServiceFile}; fn derive_attrs() -> Vec { - // TODO we should look into using $crate here... - // The way we're currently doing it leaks a dependency on these crates to users... - // However using $crate breaks the generated code in non-macro usage - // Pass a flag in "if_macro"? vec![ - parse_quote! { #[derive(::serde::Deserialize)] }, - parse_quote! { #[derive(::serde::Serialize)] }, - parse_quote! { #[derive(::smart_default::SmartDefault)] }, + parse_quote! { #[derive(::roslibrust_codegen::Deserialize)] }, + parse_quote! { #[derive(::roslibrust_codegen::Serialize)] }, + parse_quote! { #[derive(::roslibrust_codegen::SmartDefault)] }, parse_quote! { #[derive(Debug)] }, parse_quote! { #[derive(Clone)] }, parse_quote! { #[derive(PartialEq)] }, + parse_quote! { #[serde(crate = "::roslibrust_codegen::serde")] }, ] } @@ -179,7 +176,7 @@ fn generate_field_definition( const MAX_FIXED_ARRAY_LEN: usize = 32; let serde_line = match field.field_type.array_info { Some(Some(fixed_array_len)) if fixed_array_len > MAX_FIXED_ARRAY_LEN => { - quote! { #[serde(with = "::serde_big_array::BigArray")] } + quote! { #[serde(with = "::roslibrust_codegen::BigArray")] } } _ => quote! {}, }; diff --git a/roslibrust_codegen/src/lib.rs b/roslibrust_codegen/src/lib.rs index 40f52beb..d17d9e7f 100644 --- a/roslibrust_codegen/src/lib.rs +++ b/roslibrust_codegen/src/lib.rs @@ -1,8 +1,6 @@ use log::*; use proc_macro2::TokenStream; use quote::quote; -use serde::de::DeserializeOwned; -use serde::Serialize; use simple_error::{bail, SimpleError as Error}; use std::collections::{BTreeMap, VecDeque}; use std::fmt::{Debug, Display}; @@ -19,6 +17,15 @@ use utils::RosVersion; pub mod integral_types; pub use integral_types::*; +// These pub use statements are here to be able to export the dependencies of the generated code +// so that crates using this crate don't need to add these dependencies themselves. +// Our generated code should find these exports. +// Modeled from: https://users.rust-lang.org/t/proc-macros-using-third-party-crate/42465/4 +pub use serde::{de::DeserializeOwned, Deserialize, Serialize}; +pub use ::serde; +pub use smart_default::SmartDefault; +pub use serde_big_array::BigArray; + /// Fundamental traits for message types this crate works with /// This trait will be satisfied for any types generated with this crate's message_gen functionality pub trait RosMessageType: diff --git a/roslibrust_test/Cargo.toml b/roslibrust_test/Cargo.toml index 1d84ba24..f16c63aa 100644 --- a/roslibrust_test/Cargo.toml +++ b/roslibrust_test/Cargo.toml @@ -8,11 +8,6 @@ env_logger = "0.10" roslibrust = { path = "../roslibrust" } roslibrust_codegen = { path = "../roslibrust_codegen" } lazy_static = "1.4" -# None of these three dependencies should have to be in here, they are leaking from generated code... -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -smart-default = "0.6" -serde-big-array = "0.5" [dev-dependencies] diffy = "0.3.0" \ No newline at end of file diff --git a/roslibrust_test/src/ros1.rs b/roslibrust_test/src/ros1.rs index 69707ac8..863e91ad 100644 --- a/roslibrust_test/src/ros1.rs +++ b/roslibrust_test/src/ros1.rs @@ -15,13 +15,14 @@ pub mod actionlib_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalID { pub r#stamp: ::roslibrust_codegen::integral_types::Time, pub r#id: ::std::string::String, @@ -33,13 +34,14 @@ pub mod actionlib_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalStatus { pub r#goal_id: self::GoalID, pub r#status: u8, @@ -64,13 +66,14 @@ pub mod actionlib_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalStatusArray { pub r#header: std_msgs::Header, pub r#status_list: ::std::vec::Vec, @@ -98,13 +101,14 @@ pub mod diagnostic_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DiagnosticArray { pub r#header: std_msgs::Header, pub r#status: ::std::vec::Vec, @@ -116,13 +120,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DiagnosticStatus { pub r#level: u8, pub r#name: ::std::string::String, @@ -143,13 +148,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct KeyValue { pub r#key: ::std::string::String, pub r#value: ::std::string::String, @@ -161,13 +167,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddDiagnosticsRequest { pub r#load_namespace: ::std::string::String, } @@ -178,13 +185,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddDiagnosticsResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -203,13 +211,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SelfTestRequest {} impl ::roslibrust_codegen::RosMessageType for SelfTestRequest { const ROS_TYPE_NAME: &'static str = "diagnostic_msgs/SelfTestRequest"; @@ -218,13 +227,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SelfTestResponse { pub r#id: ::std::string::String, pub r#passed: u8, @@ -260,13 +270,14 @@ pub mod geometry_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Accel { pub r#linear: self::Vector3, pub r#angular: self::Vector3, @@ -278,13 +289,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelStamped { pub r#header: std_msgs::Header, pub r#accel: self::Accel, @@ -297,17 +309,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelWithCovariance { pub r#accel: self::Accel, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for AccelWithCovariance { @@ -317,13 +330,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#accel: self::AccelWithCovariance, @@ -335,13 +349,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Inertia { pub r#m: f64, pub r#com: self::Vector3, @@ -359,13 +374,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InertiaStamped { pub r#header: std_msgs::Header, pub r#inertia: self::Inertia, @@ -377,13 +393,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Point { pub r#x: f64, pub r#y: f64, @@ -396,13 +413,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Point32 { pub r#x: f32, pub r#y: f32, @@ -415,13 +433,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointStamped { pub r#header: std_msgs::Header, pub r#point: self::Point, @@ -433,13 +452,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Polygon { pub r#points: ::std::vec::Vec, } @@ -450,13 +470,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PolygonStamped { pub r#header: std_msgs::Header, pub r#polygon: self::Polygon, @@ -468,13 +489,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Pose { pub r#position: self::Point, pub r#orientation: self::Quaternion, @@ -486,13 +508,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Pose2D { pub r#x: f64, pub r#y: f64, @@ -505,13 +528,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseArray { pub r#header: std_msgs::Header, pub r#poses: ::std::vec::Vec, @@ -523,13 +547,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseStamped { pub r#header: std_msgs::Header, pub r#pose: self::Pose, @@ -542,17 +567,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseWithCovariance { pub r#pose: self::Pose, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for PoseWithCovariance { @@ -562,13 +588,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#pose: self::PoseWithCovariance, @@ -580,13 +607,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Quaternion { pub r#x: f64, pub r#y: f64, @@ -600,13 +628,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct QuaternionStamped { pub r#header: std_msgs::Header, pub r#quaternion: self::Quaternion, @@ -618,13 +647,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Transform { pub r#translation: self::Vector3, pub r#rotation: self::Quaternion, @@ -636,13 +666,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TransformStamped { pub r#header: std_msgs::Header, pub r#child_frame_id: ::std::string::String, @@ -655,13 +686,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Twist { pub r#linear: self::Vector3, pub r#angular: self::Vector3, @@ -673,13 +705,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistStamped { pub r#header: std_msgs::Header, pub r#twist: self::Twist, @@ -692,17 +725,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistWithCovariance { pub r#twist: self::Twist, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for TwistWithCovariance { @@ -712,13 +746,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#twist: self::TwistWithCovariance, @@ -730,13 +765,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Vector3 { pub r#x: f64, pub r#y: f64, @@ -749,13 +785,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Vector3Stamped { pub r#header: std_msgs::Header, pub r#vector: self::Vector3, @@ -767,13 +804,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Wrench { pub r#force: self::Vector3, pub r#torque: self::Vector3, @@ -785,13 +823,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct WrenchStamped { pub r#header: std_msgs::Header, pub r#wrench: self::Wrench, @@ -819,13 +858,14 @@ pub mod nav_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapAction { pub r#action_goal: self::GetMapActionGoal, pub r#action_result: self::GetMapActionResult, @@ -838,13 +878,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapActionFeedback { pub r#header: std_msgs::Header, pub r#status: actionlib_msgs::GoalStatus, @@ -858,13 +899,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapActionGoal { pub r#header: std_msgs::Header, pub r#goal_id: actionlib_msgs::GoalID, @@ -878,13 +920,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapActionResult { pub r#header: std_msgs::Header, pub r#status: actionlib_msgs::GoalStatus, @@ -898,13 +941,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapFeedback {} impl ::roslibrust_codegen::RosMessageType for GetMapFeedback { const ROS_TYPE_NAME: &'static str = "nav_msgs/GetMapFeedback"; @@ -913,13 +957,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapGoal {} impl ::roslibrust_codegen::RosMessageType for GetMapGoal { const ROS_TYPE_NAME: &'static str = "nav_msgs/GetMapGoal"; @@ -928,13 +973,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapResult { pub r#map: self::OccupancyGrid, } @@ -945,13 +991,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GridCells { pub r#header: std_msgs::Header, pub r#cell_width: f32, @@ -965,13 +1012,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MapMetaData { pub r#map_load_time: ::roslibrust_codegen::integral_types::Time, pub r#resolution: f32, @@ -986,13 +1034,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct OccupancyGrid { pub r#header: std_msgs::Header, pub r#info: self::MapMetaData, @@ -1005,13 +1054,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Odometry { pub r#header: std_msgs::Header, pub r#child_frame_id: ::std::string::String, @@ -1025,13 +1075,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Path { pub r#header: std_msgs::Header, pub r#poses: ::std::vec::Vec, @@ -1043,13 +1094,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapRequest {} impl ::roslibrust_codegen::RosMessageType for GetMapRequest { const ROS_TYPE_NAME: &'static str = "nav_msgs/GetMapRequest"; @@ -1058,13 +1110,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapResponse { pub r#map: self::OccupancyGrid, } @@ -1082,13 +1135,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetPlanRequest { pub r#start: geometry_msgs::PoseStamped, pub r#goal: geometry_msgs::PoseStamped, @@ -1101,13 +1155,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetPlanResponse { pub r#plan: self::Path, } @@ -1125,13 +1180,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LoadMapRequest { pub r#map_url: ::std::string::String, } @@ -1142,13 +1198,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LoadMapResponse { pub r#map: self::OccupancyGrid, pub r#result: u8, @@ -1174,13 +1231,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetMapRequest { pub r#map: self::OccupancyGrid, pub r#initial_pose: geometry_msgs::PoseWithCovarianceStamped, @@ -1192,13 +1250,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetMapResponse { pub r#success: bool, } @@ -1232,13 +1291,14 @@ pub mod rosapi { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TypeDef { pub r#type: ::std::string::String, pub r#fieldnames: ::std::vec::Vec<::std::string::String>, @@ -1255,13 +1315,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DeleteParamRequest { pub r#name: ::std::string::String, } @@ -1272,13 +1333,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DeleteParamResponse {} impl ::roslibrust_codegen::RosMessageType for DeleteParamResponse { const ROS_TYPE_NAME: &'static str = "rosapi/DeleteParamResponse"; @@ -1294,13 +1356,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetActionServersRequest {} impl ::roslibrust_codegen::RosMessageType for GetActionServersRequest { const ROS_TYPE_NAME: &'static str = "rosapi/GetActionServersRequest"; @@ -1309,13 +1372,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetActionServersResponse { pub r#action_servers: ::std::vec::Vec<::std::string::String>, } @@ -1333,13 +1397,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetParamRequest { pub r#name: ::std::string::String, pub r#default: ::std::string::String, @@ -1351,13 +1416,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetParamResponse { pub r#value: ::std::string::String, } @@ -1375,13 +1441,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetParamNamesRequest {} impl ::roslibrust_codegen::RosMessageType for GetParamNamesRequest { const ROS_TYPE_NAME: &'static str = "rosapi/GetParamNamesRequest"; @@ -1390,13 +1457,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetParamNamesResponse { pub r#names: ::std::vec::Vec<::std::string::String>, } @@ -1414,13 +1482,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetTimeRequest {} impl ::roslibrust_codegen::RosMessageType for GetTimeRequest { const ROS_TYPE_NAME: &'static str = "rosapi/GetTimeRequest"; @@ -1429,13 +1498,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetTimeResponse { pub r#time: ::roslibrust_codegen::integral_types::Time, } @@ -1453,13 +1523,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct HasParamRequest { pub r#name: ::std::string::String, } @@ -1470,13 +1541,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct HasParamResponse { pub r#exists: bool, } @@ -1494,13 +1566,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MessageDetailsRequest { pub r#type: ::std::string::String, } @@ -1511,13 +1584,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MessageDetailsResponse { pub r#typedefs: ::std::vec::Vec, } @@ -1535,13 +1609,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NodeDetailsRequest { pub r#node: ::std::string::String, } @@ -1552,13 +1627,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NodeDetailsResponse { pub r#subscribing: ::std::vec::Vec<::std::string::String>, pub r#publishing: ::std::vec::Vec<::std::string::String>, @@ -1579,13 +1655,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NodesRequest {} impl ::roslibrust_codegen::RosMessageType for NodesRequest { const ROS_TYPE_NAME: &'static str = "rosapi/NodesRequest"; @@ -1594,13 +1671,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NodesResponse { pub r#nodes: ::std::vec::Vec<::std::string::String>, } @@ -1618,13 +1696,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PublishersRequest { pub r#topic: ::std::string::String, } @@ -1635,13 +1714,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PublishersResponse { pub r#publishers: ::std::vec::Vec<::std::string::String>, } @@ -1659,13 +1739,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SearchParamRequest { pub r#name: ::std::string::String, } @@ -1676,13 +1757,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SearchParamResponse { pub r#global_name: ::std::string::String, } @@ -1700,13 +1782,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceHostRequest { pub r#service: ::std::string::String, } @@ -1717,13 +1800,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceHostResponse { pub r#host: ::std::string::String, } @@ -1741,13 +1825,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceNodeRequest { pub r#service: ::std::string::String, } @@ -1758,13 +1843,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceNodeResponse { pub r#node: ::std::string::String, } @@ -1782,13 +1868,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceProvidersRequest { pub r#service: ::std::string::String, } @@ -1799,13 +1886,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceProvidersResponse { pub r#providers: ::std::vec::Vec<::std::string::String>, } @@ -1823,13 +1911,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceRequestDetailsRequest { pub r#type: ::std::string::String, } @@ -1840,13 +1929,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceRequestDetailsResponse { pub r#typedefs: ::std::vec::Vec, } @@ -1864,13 +1954,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceResponseDetailsRequest { pub r#type: ::std::string::String, } @@ -1881,13 +1972,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceResponseDetailsResponse { pub r#typedefs: ::std::vec::Vec, } @@ -1905,13 +1997,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceTypeRequest { pub r#service: ::std::string::String, } @@ -1922,13 +2015,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServiceTypeResponse { pub r#type: ::std::string::String, } @@ -1946,13 +2040,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServicesRequest {} impl ::roslibrust_codegen::RosMessageType for ServicesRequest { const ROS_TYPE_NAME: &'static str = "rosapi/ServicesRequest"; @@ -1961,13 +2056,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServicesResponse { pub r#services: ::std::vec::Vec<::std::string::String>, } @@ -1985,13 +2081,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServicesForTypeRequest { pub r#type: ::std::string::String, } @@ -2002,13 +2099,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ServicesForTypeResponse { pub r#services: ::std::vec::Vec<::std::string::String>, } @@ -2026,13 +2124,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetParamRequest { pub r#name: ::std::string::String, pub r#value: ::std::string::String, @@ -2044,13 +2143,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetParamResponse {} impl ::roslibrust_codegen::RosMessageType for SetParamResponse { const ROS_TYPE_NAME: &'static str = "rosapi/SetParamResponse"; @@ -2066,13 +2166,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SubscribersRequest { pub r#topic: ::std::string::String, } @@ -2083,13 +2184,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SubscribersResponse { pub r#subscribers: ::std::vec::Vec<::std::string::String>, } @@ -2107,13 +2209,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicTypeRequest { pub r#topic: ::std::string::String, } @@ -2124,13 +2227,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicTypeResponse { pub r#type: ::std::string::String, } @@ -2148,13 +2252,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsRequest {} impl ::roslibrust_codegen::RosMessageType for TopicsRequest { const ROS_TYPE_NAME: &'static str = "rosapi/TopicsRequest"; @@ -2163,13 +2268,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsResponse { pub r#topics: ::std::vec::Vec<::std::string::String>, pub r#types: ::std::vec::Vec<::std::string::String>, @@ -2188,13 +2294,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsAndRawTypesRequest {} impl ::roslibrust_codegen::RosMessageType for TopicsAndRawTypesRequest { const ROS_TYPE_NAME: &'static str = "rosapi/TopicsAndRawTypesRequest"; @@ -2203,13 +2310,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsAndRawTypesResponse { pub r#topics: ::std::vec::Vec<::std::string::String>, pub r#types: ::std::vec::Vec<::std::string::String>, @@ -2230,13 +2338,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsForTypeRequest { pub r#type: ::std::string::String, } @@ -2247,13 +2356,14 @@ pub mod rosapi { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicsForTypeResponse { pub r#topics: ::std::vec::Vec<::std::string::String>, } @@ -2287,13 +2397,14 @@ pub mod rosgraph_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Clock { pub r#clock: ::roslibrust_codegen::integral_types::Time, } @@ -2304,13 +2415,14 @@ pub mod rosgraph_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Log { pub r#header: std_msgs::Header, pub r#level: u8, @@ -2335,13 +2447,14 @@ pub mod rosgraph_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TopicStatistics { pub r#topic: ::std::string::String, pub r#node_pub: ::std::string::String, @@ -2381,13 +2494,14 @@ pub mod sensor_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct BatteryState { pub r#header: std_msgs::Header, pub r#voltage: f32, @@ -2436,13 +2550,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct CameraInfo { pub r#header: std_msgs::Header, pub r#height: u32, @@ -2463,13 +2578,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ChannelFloat32 { pub r#name: ::std::string::String, pub r#values: ::std::vec::Vec, @@ -2481,13 +2597,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct CompressedImage { pub r#header: std_msgs::Header, pub r#format: ::std::string::String, @@ -2500,13 +2617,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct FluidPressure { pub r#header: std_msgs::Header, pub r#fluid_pressure: f64, @@ -2519,13 +2637,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Illuminance { pub r#header: std_msgs::Header, pub r#illuminance: f64, @@ -2538,13 +2657,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Image { pub r#header: std_msgs::Header, pub r#height: u32, @@ -2561,13 +2681,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Imu { pub r#header: std_msgs::Header, pub r#orientation: geometry_msgs::Quaternion, @@ -2584,13 +2705,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointState { pub r#header: std_msgs::Header, pub r#name: ::std::vec::Vec<::std::string::String>, @@ -2605,13 +2727,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Joy { pub r#header: std_msgs::Header, pub r#axes: ::std::vec::Vec, @@ -2624,13 +2747,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JoyFeedback { pub r#type: u8, pub r#id: u8, @@ -2648,13 +2772,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JoyFeedbackArray { pub r#array: ::std::vec::Vec, } @@ -2666,13 +2791,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LaserEcho { pub r#echoes: ::std::vec::Vec, } @@ -2683,13 +2809,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LaserScan { pub r#header: std_msgs::Header, pub r#angle_min: f32, @@ -2709,13 +2836,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MagneticField { pub r#header: std_msgs::Header, pub r#magnetic_field: geometry_msgs::Vector3, @@ -2728,13 +2856,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointState { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -2749,13 +2878,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiEchoLaserScan { pub r#header: std_msgs::Header, pub r#angle_min: f32, @@ -2775,13 +2905,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NavSatFix { pub r#header: std_msgs::Header, pub r#status: self::NavSatStatus, @@ -2804,13 +2935,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NavSatStatus { pub r#status: i8, pub r#service: u16, @@ -2832,13 +2964,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointCloud { pub r#header: std_msgs::Header, pub r#points: ::std::vec::Vec, @@ -2851,13 +2984,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointCloud2 { pub r#header: std_msgs::Header, pub r#height: u32, @@ -2876,13 +3010,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointField { pub r#name: ::std::string::String, pub r#offset: u32, @@ -2906,13 +3041,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Range { pub r#header: std_msgs::Header, pub r#radiation_type: u8, @@ -2932,13 +3068,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct RegionOfInterest { pub r#x_offset: u32, pub r#y_offset: u32, @@ -2953,13 +3090,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct RelativeHumidity { pub r#header: std_msgs::Header, pub r#relative_humidity: f64, @@ -2972,13 +3110,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Temperature { pub r#header: std_msgs::Header, pub r#temperature: f64, @@ -2991,13 +3130,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TimeReference { pub r#header: std_msgs::Header, pub r#time_ref: ::roslibrust_codegen::integral_types::Time, @@ -3010,13 +3150,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetCameraInfoRequest { pub r#camera_info: self::CameraInfo, } @@ -3027,13 +3168,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetCameraInfoResponse { pub r#success: bool, pub r#status_message: ::std::string::String, @@ -3068,13 +3210,14 @@ pub mod shape_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Mesh { pub r#triangles: ::std::vec::Vec, pub r#vertices: ::std::vec::Vec, @@ -3086,13 +3229,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MeshTriangle { pub r#vertex_indices: [u32; 3], } @@ -3104,13 +3248,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Plane { pub r#coef: [f64; 4], } @@ -3121,13 +3266,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SolidPrimitive { pub r#type: u8, pub r#dimensions: ::std::vec::Vec, @@ -3169,13 +3315,14 @@ pub mod std_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Bool { pub r#data: bool, } @@ -3186,13 +3333,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Byte { pub r#data: u8, } @@ -3203,13 +3351,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ByteMultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3221,13 +3370,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Char { pub r#data: u8, } @@ -3238,13 +3388,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ColorRGBA { pub r#r: f32, pub r#g: f32, @@ -3258,13 +3409,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Duration { pub r#data: ::roslibrust_codegen::integral_types::Duration, } @@ -3275,13 +3427,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Empty {} impl ::roslibrust_codegen::RosMessageType for Empty { const ROS_TYPE_NAME: &'static str = "std_msgs/Empty"; @@ -3290,13 +3443,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float32 { pub r#data: f32, } @@ -3307,13 +3461,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3325,13 +3480,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float64 { pub r#data: f64, } @@ -3342,13 +3498,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3360,13 +3517,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Header { pub r#seq: u32, pub r#stamp: ::roslibrust_codegen::integral_types::Time, @@ -3379,13 +3537,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int16 { pub r#data: i16, } @@ -3396,13 +3555,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int16MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3414,13 +3574,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int32 { pub r#data: i32, } @@ -3431,13 +3592,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3449,13 +3611,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int64 { pub r#data: i64, } @@ -3466,13 +3629,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3484,13 +3648,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int8 { pub r#data: i8, } @@ -3501,13 +3666,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int8MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3519,13 +3685,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiArrayDimension { pub r#label: ::std::string::String, pub r#size: u32, @@ -3538,13 +3705,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiArrayLayout { pub r#dim: ::std::vec::Vec, pub r#data_offset: u32, @@ -3556,13 +3724,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct String { pub r#data: ::std::string::String, } @@ -3573,13 +3742,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Time { pub r#data: ::roslibrust_codegen::integral_types::Time, } @@ -3590,13 +3760,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt16 { pub r#data: u16, } @@ -3607,13 +3778,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt16MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3625,13 +3797,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt32 { pub r#data: u32, } @@ -3642,13 +3815,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3660,13 +3834,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt64 { pub r#data: u64, } @@ -3677,13 +3852,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3695,13 +3871,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt8 { pub r#data: u8, } @@ -3712,13 +3889,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt8MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -3746,13 +3924,14 @@ pub mod std_srvs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct EmptyRequest {} impl ::roslibrust_codegen::RosMessageType for EmptyRequest { const ROS_TYPE_NAME: &'static str = "std_srvs/EmptyRequest"; @@ -3761,13 +3940,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct EmptyResponse {} impl ::roslibrust_codegen::RosMessageType for EmptyResponse { const ROS_TYPE_NAME: &'static str = "std_srvs/EmptyResponse"; @@ -3783,13 +3963,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetBoolRequest { pub r#data: bool, } @@ -3800,13 +3981,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetBoolResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -3825,13 +4007,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TriggerRequest {} impl ::roslibrust_codegen::RosMessageType for TriggerRequest { const ROS_TYPE_NAME: &'static str = "std_srvs/TriggerRequest"; @@ -3840,13 +4023,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TriggerResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -3881,13 +4065,14 @@ pub mod stereo_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DisparityImage { pub r#header: std_msgs::Header, pub r#image: sensor_msgs::Image, @@ -3921,13 +4106,14 @@ pub mod test_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Constants {} impl ::roslibrust_codegen::RosMessageType for Constants { const ROS_TYPE_NAME: &'static str = "test_msgs/Constants"; @@ -3943,13 +4129,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float64Stamped { pub r#header: std_msgs::Header, pub r#value: f64, @@ -3961,13 +4148,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LoggerLevel { pub r#level: ::std::string::String, } @@ -3978,13 +4166,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Metric { pub r#name: ::std::string::String, pub r#time: f64, @@ -3997,13 +4186,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MetricPair { pub r#key: ::std::string::String, pub r#value: f64, @@ -4015,13 +4205,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NodeInfo { pub r#node_name: ::std::string::String, pub r#pid: i64, @@ -4042,13 +4233,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddTwoIntsRequest { pub r#a: i64, pub r#b: i64, @@ -4060,13 +4252,14 @@ pub mod test_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddTwoIntsResponse { pub r#sum: i64, } @@ -4100,13 +4293,14 @@ pub mod trajectory_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointTrajectory { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -4120,13 +4314,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointTrajectoryPoint { pub r#positions: ::std::vec::Vec, pub r#velocities: ::std::vec::Vec, @@ -4141,13 +4336,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointTrajectory { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -4160,13 +4356,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointTrajectoryPoint { pub r#transforms: ::std::vec::Vec, pub r#velocities: ::std::vec::Vec, @@ -4196,13 +4393,14 @@ pub mod visualization_msgs { use super::trajectory_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ImageMarker { pub r#header: std_msgs::Header, pub r#ns: ::std::string::String, @@ -4234,13 +4432,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarker { pub r#header: std_msgs::Header, pub r#pose: geometry_msgs::Pose, @@ -4257,13 +4456,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerControl { pub r#name: ::std::string::String, pub r#orientation: geometry_msgs::Quaternion, @@ -4296,13 +4496,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerFeedback { pub r#header: std_msgs::Header, pub r#client_id: ::std::string::String, @@ -4329,13 +4530,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerInit { pub r#server_id: ::std::string::String, pub r#seq_num: u64, @@ -4348,13 +4550,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerPose { pub r#header: std_msgs::Header, pub r#pose: geometry_msgs::Pose, @@ -4367,13 +4570,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerUpdate { pub r#server_id: ::std::string::String, pub r#seq_num: u64, @@ -4393,13 +4597,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Marker { pub r#header: std_msgs::Header, pub r#ns: ::std::string::String, @@ -4442,13 +4647,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MarkerArray { pub r#markers: ::std::vec::Vec, } @@ -4459,13 +4665,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MenuEntry { pub r#id: u32, pub r#parent_id: u32, diff --git a/roslibrust_test/src/ros2.rs b/roslibrust_test/src/ros2.rs index a9e9844e..0364f4ef 100644 --- a/roslibrust_test/src/ros2.rs +++ b/roslibrust_test/src/ros2.rs @@ -13,13 +13,14 @@ pub mod actionlib_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalID { pub r#stamp: ::roslibrust_codegen::integral_types::Time, pub r#id: ::std::string::String, @@ -31,13 +32,14 @@ pub mod actionlib_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalStatus { pub r#goal_id: self::GoalID, pub r#status: u8, @@ -62,13 +64,14 @@ pub mod actionlib_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GoalStatusArray { pub r#header: std_msgs::Header, pub r#status_list: ::std::vec::Vec, @@ -94,13 +97,14 @@ pub mod diagnostic_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DiagnosticArray { pub r#header: std_msgs::Header, pub r#status: ::std::vec::Vec, @@ -112,13 +116,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DiagnosticStatus { pub r#level: u8, pub r#name: ::std::string::String, @@ -139,13 +144,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct KeyValue { pub r#key: ::std::string::String, pub r#value: ::std::string::String, @@ -157,13 +163,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddDiagnosticsRequest { pub r#load_namespace: ::std::string::String, } @@ -174,13 +181,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AddDiagnosticsResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -199,13 +207,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SelfTestRequest {} impl ::roslibrust_codegen::RosMessageType for SelfTestRequest { const ROS_TYPE_NAME: &'static str = "diagnostic_msgs/SelfTestRequest"; @@ -214,13 +223,14 @@ pub mod diagnostic_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SelfTestResponse { pub r#id: ::std::string::String, pub r#passed: u8, @@ -254,13 +264,14 @@ pub mod geometry_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Accel { pub r#linear: self::Vector3, pub r#angular: self::Vector3, @@ -272,13 +283,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelStamped { pub r#header: std_msgs::Header, pub r#accel: self::Accel, @@ -290,17 +302,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelWithCovariance { pub r#accel: self::Accel, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for AccelWithCovariance { @@ -310,13 +323,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct AccelWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#accel: self::AccelWithCovariance, @@ -328,13 +342,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Inertia { pub r#m: f64, pub r#com: self::Vector3, @@ -352,13 +367,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InertiaStamped { pub r#header: std_msgs::Header, pub r#inertia: self::Inertia, @@ -370,13 +386,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Point { pub r#x: f64, pub r#y: f64, @@ -389,13 +406,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Point32 { pub r#x: f32, pub r#y: f32, @@ -408,13 +426,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointStamped { pub r#header: std_msgs::Header, pub r#point: self::Point, @@ -426,13 +445,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Polygon { pub r#points: ::std::vec::Vec, } @@ -443,13 +463,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PolygonStamped { pub r#header: std_msgs::Header, pub r#polygon: self::Polygon, @@ -461,13 +482,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Pose { pub r#position: self::Point, pub r#orientation: self::Quaternion, @@ -479,13 +501,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Pose2D { pub r#x: f64, pub r#y: f64, @@ -498,13 +521,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseArray { pub r#header: std_msgs::Header, pub r#poses: ::std::vec::Vec, @@ -516,13 +540,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseStamped { pub r#header: std_msgs::Header, pub r#pose: self::Pose, @@ -534,17 +559,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseWithCovariance { pub r#pose: self::Pose, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for PoseWithCovariance { @@ -554,13 +580,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PoseWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#pose: self::PoseWithCovariance, @@ -572,13 +599,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Quaternion { #[default(0f64)] pub r#x: f64, @@ -596,13 +624,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct QuaternionStamped { pub r#header: std_msgs::Header, pub r#quaternion: self::Quaternion, @@ -614,13 +643,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Transform { pub r#translation: self::Vector3, pub r#rotation: self::Quaternion, @@ -632,13 +662,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TransformStamped { pub r#header: std_msgs::Header, pub r#child_frame_id: ::std::string::String, @@ -651,13 +682,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Twist { pub r#linear: self::Vector3, pub r#angular: self::Vector3, @@ -669,13 +701,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistStamped { pub r#header: std_msgs::Header, pub r#twist: self::Twist, @@ -687,17 +720,18 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistWithCovariance { pub r#twist: self::Twist, #[default(_code = "[Default::default(); 36]")] - #[serde(with = "::serde_big_array::BigArray")] + #[serde(with = "::roslibrust_codegen::BigArray")] pub r#covariance: [f64; 36], } impl ::roslibrust_codegen::RosMessageType for TwistWithCovariance { @@ -707,13 +741,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TwistWithCovarianceStamped { pub r#header: std_msgs::Header, pub r#twist: self::TwistWithCovariance, @@ -725,13 +760,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Vector3 { pub r#x: f64, pub r#y: f64, @@ -744,13 +780,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Vector3Stamped { pub r#header: std_msgs::Header, pub r#vector: self::Vector3, @@ -762,13 +799,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Wrench { pub r#force: self::Vector3, pub r#torque: self::Vector3, @@ -780,13 +818,14 @@ pub mod geometry_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct WrenchStamped { pub r#header: std_msgs::Header, pub r#wrench: self::Wrench, @@ -812,13 +851,14 @@ pub mod nav_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GridCells { pub r#header: std_msgs::Header, pub r#cell_width: f32, @@ -832,13 +872,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MapMetaData { pub r#map_load_time: ::roslibrust_codegen::integral_types::Time, pub r#resolution: f32, @@ -853,13 +894,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct OccupancyGrid { pub r#header: std_msgs::Header, pub r#info: self::MapMetaData, @@ -872,13 +914,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Odometry { pub r#header: std_msgs::Header, pub r#child_frame_id: ::std::string::String, @@ -892,13 +935,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Path { pub r#header: std_msgs::Header, pub r#poses: ::std::vec::Vec, @@ -910,13 +954,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapRequest {} impl ::roslibrust_codegen::RosMessageType for GetMapRequest { const ROS_TYPE_NAME: &'static str = "nav_msgs/GetMapRequest"; @@ -925,13 +970,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetMapResponse { pub r#map: self::OccupancyGrid, } @@ -950,13 +996,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetPlanRequest { pub r#start: geometry_msgs::PoseStamped, pub r#goal: geometry_msgs::PoseStamped, @@ -969,13 +1016,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetPlanResponse { pub r#plan: self::Path, } @@ -994,13 +1042,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LoadMapRequest { pub r#map_url: ::std::string::String, } @@ -1011,13 +1060,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LoadMapResponse { pub r#map: self::OccupancyGrid, pub r#result: u8, @@ -1043,13 +1093,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetMapRequest { pub r#map: self::OccupancyGrid, pub r#initial_pose: geometry_msgs::PoseWithCovarianceStamped, @@ -1061,13 +1112,14 @@ pub mod nav_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetMapResponse { pub r#success: bool, } @@ -1100,13 +1152,14 @@ pub mod sensor_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct BatteryState { pub r#header: std_msgs::Header, pub r#voltage: f32, @@ -1155,13 +1208,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct CameraInfo { pub r#header: std_msgs::Header, pub r#height: u32, @@ -1182,13 +1236,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ChannelFloat32 { pub r#name: ::std::string::String, pub r#values: ::std::vec::Vec, @@ -1200,13 +1255,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct CompressedImage { pub r#header: std_msgs::Header, pub r#format: ::std::string::String, @@ -1219,13 +1275,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct FluidPressure { pub r#header: std_msgs::Header, pub r#fluid_pressure: f64, @@ -1238,13 +1295,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Illuminance { pub r#header: std_msgs::Header, pub r#illuminance: f64, @@ -1257,13 +1315,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Image { pub r#header: std_msgs::Header, pub r#height: u32, @@ -1280,13 +1339,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Imu { pub r#header: std_msgs::Header, pub r#orientation: geometry_msgs::Quaternion, @@ -1303,13 +1363,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointState { pub r#header: std_msgs::Header, pub r#name: ::std::vec::Vec<::std::string::String>, @@ -1324,13 +1385,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Joy { pub r#header: std_msgs::Header, pub r#axes: ::std::vec::Vec, @@ -1343,13 +1405,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JoyFeedback { pub r#type: u8, pub r#id: u8, @@ -1367,13 +1430,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JoyFeedbackArray { pub r#array: ::std::vec::Vec, } @@ -1385,13 +1449,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LaserEcho { pub r#echoes: ::std::vec::Vec, } @@ -1402,13 +1467,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct LaserScan { pub r#header: std_msgs::Header, pub r#angle_min: f32, @@ -1428,13 +1494,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MagneticField { pub r#header: std_msgs::Header, pub r#magnetic_field: geometry_msgs::Vector3, @@ -1447,13 +1514,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointState { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -1468,13 +1536,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiEchoLaserScan { pub r#header: std_msgs::Header, pub r#angle_min: f32, @@ -1494,13 +1563,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NavSatFix { pub r#header: std_msgs::Header, pub r#status: self::NavSatStatus, @@ -1523,13 +1593,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct NavSatStatus { pub r#status: i8, pub r#service: u16, @@ -1551,13 +1622,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointCloud { pub r#header: std_msgs::Header, pub r#points: ::std::vec::Vec, @@ -1570,13 +1642,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointCloud2 { pub r#header: std_msgs::Header, pub r#height: u32, @@ -1595,13 +1668,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct PointField { pub r#name: ::std::string::String, pub r#offset: u32, @@ -1625,13 +1699,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Range { pub r#header: std_msgs::Header, pub r#radiation_type: u8, @@ -1651,13 +1726,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct RegionOfInterest { pub r#x_offset: u32, pub r#y_offset: u32, @@ -1672,13 +1748,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct RelativeHumidity { pub r#header: std_msgs::Header, pub r#relative_humidity: f64, @@ -1691,13 +1768,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Temperature { pub r#header: std_msgs::Header, pub r#temperature: f64, @@ -1710,13 +1788,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TimeReference { pub r#header: std_msgs::Header, pub r#time_ref: ::roslibrust_codegen::integral_types::Time, @@ -1729,13 +1808,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetCameraInfoRequest { pub r#camera_info: self::CameraInfo, } @@ -1746,13 +1826,14 @@ pub mod sensor_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetCameraInfoResponse { pub r#success: bool, pub r#status_message: ::std::string::String, @@ -1785,13 +1866,14 @@ pub mod shape_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Mesh { pub r#triangles: ::std::vec::Vec, pub r#vertices: ::std::vec::Vec, @@ -1803,13 +1885,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MeshTriangle { pub r#vertex_indices: [u32; 3], } @@ -1821,13 +1904,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Plane { pub r#coef: [f64; 4], } @@ -1838,13 +1922,14 @@ pub mod shape_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SolidPrimitive { pub r#type: u8, pub r#dimensions: [f64; 0], @@ -1887,13 +1972,14 @@ pub mod std_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Bool { pub r#data: bool, } @@ -1904,13 +1990,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Byte { pub r#data: u8, } @@ -1921,13 +2008,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ByteMultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -1939,13 +2027,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Char { pub r#data: u8, } @@ -1956,13 +2045,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ColorRGBA { pub r#r: f32, pub r#g: f32, @@ -1976,13 +2066,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Empty {} impl ::roslibrust_codegen::RosMessageType for Empty { const ROS_TYPE_NAME: &'static str = "std_msgs/Empty"; @@ -1991,13 +2082,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float32 { pub r#data: f32, } @@ -2008,13 +2100,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2026,13 +2119,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float64 { pub r#data: f64, } @@ -2043,13 +2137,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Float64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2061,13 +2156,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Header { pub r#stamp: ::roslibrust_codegen::integral_types::Time, pub r#frame_id: ::std::string::String, @@ -2079,13 +2175,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int16 { pub r#data: i16, } @@ -2096,13 +2193,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int16MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2114,13 +2212,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int32 { pub r#data: i32, } @@ -2131,13 +2230,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2149,13 +2249,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int64 { pub r#data: i64, } @@ -2166,13 +2267,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2184,13 +2286,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int8 { pub r#data: i8, } @@ -2201,13 +2304,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Int8MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2219,13 +2323,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiArrayDimension { pub r#label: ::std::string::String, pub r#size: u32, @@ -2238,13 +2343,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiArrayLayout { pub r#dim: ::std::vec::Vec, pub r#data_offset: u32, @@ -2256,13 +2362,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct String { pub r#data: ::std::string::String, } @@ -2273,13 +2380,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt16 { pub r#data: u16, } @@ -2290,13 +2398,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt16MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2308,13 +2417,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt32 { pub r#data: u32, } @@ -2325,13 +2435,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt32MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2343,13 +2454,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt64 { pub r#data: u64, } @@ -2360,13 +2472,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt64MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2378,13 +2491,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt8 { pub r#data: u8, } @@ -2395,13 +2509,14 @@ pub mod std_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UInt8MultiArray { pub r#layout: self::MultiArrayLayout, pub r#data: ::std::vec::Vec, @@ -2427,13 +2542,14 @@ pub mod std_srvs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct EmptyRequest {} impl ::roslibrust_codegen::RosMessageType for EmptyRequest { const ROS_TYPE_NAME: &'static str = "std_srvs/EmptyRequest"; @@ -2442,13 +2558,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct EmptyResponse {} impl ::roslibrust_codegen::RosMessageType for EmptyResponse { const ROS_TYPE_NAME: &'static str = "std_srvs/EmptyResponse"; @@ -2464,13 +2581,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetBoolRequest { pub r#data: bool, } @@ -2481,13 +2599,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct SetBoolResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -2506,13 +2625,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TriggerRequest {} impl ::roslibrust_codegen::RosMessageType for TriggerRequest { const ROS_TYPE_NAME: &'static str = "std_srvs/TriggerRequest"; @@ -2521,13 +2641,14 @@ pub mod std_srvs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct TriggerResponse { pub r#success: bool, pub r#message: ::std::string::String, @@ -2560,13 +2681,14 @@ pub mod stereo_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct DisparityImage { pub r#header: std_msgs::Header, pub r#image: sensor_msgs::Image, @@ -2598,13 +2720,14 @@ pub mod test_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Defaults { #[default(42u8)] pub r#x: u8, @@ -2640,13 +2763,14 @@ pub mod trajectory_msgs { use super::visualization_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointTrajectory { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -2659,13 +2783,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct JointTrajectoryPoint { pub r#positions: ::std::vec::Vec, pub r#velocities: ::std::vec::Vec, @@ -2680,13 +2805,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointTrajectory { pub r#header: std_msgs::Header, pub r#joint_names: ::std::vec::Vec<::std::string::String>, @@ -2699,13 +2825,14 @@ pub mod trajectory_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MultiDOFJointTrajectoryPoint { pub r#transforms: ::std::vec::Vec, pub r#velocities: ::std::vec::Vec, @@ -2733,13 +2860,14 @@ pub mod visualization_msgs { use super::trajectory_msgs; #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct ImageMarker { pub r#header: std_msgs::Header, pub r#ns: ::std::string::String, @@ -2771,13 +2899,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarker { pub r#header: std_msgs::Header, pub r#pose: geometry_msgs::Pose, @@ -2794,13 +2923,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerControl { pub r#name: ::std::string::String, pub r#orientation: geometry_msgs::Quaternion, @@ -2833,13 +2963,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerFeedback { pub r#header: std_msgs::Header, pub r#client_id: ::std::string::String, @@ -2866,13 +2997,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerInit { pub r#server_id: ::std::string::String, pub r#seq_num: u64, @@ -2885,13 +3017,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerPose { pub r#header: std_msgs::Header, pub r#pose: geometry_msgs::Pose, @@ -2904,13 +3037,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct InteractiveMarkerUpdate { pub r#server_id: ::std::string::String, pub r#seq_num: u64, @@ -2930,13 +3064,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct Marker { pub r#header: std_msgs::Header, pub r#ns: ::std::string::String, @@ -2983,13 +3118,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MarkerArray { pub r#markers: ::std::vec::Vec, } @@ -3000,13 +3136,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MenuEntry { pub r#id: u32, pub r#parent_id: u32, @@ -3026,13 +3163,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct MeshFile { pub r#filename: ::std::string::String, pub r#data: ::std::vec::Vec, @@ -3044,13 +3182,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct UVCoordinate { pub r#u: f32, pub r#v: f32, @@ -3062,13 +3201,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetInteractiveMarkersRequest {} impl ::roslibrust_codegen::RosMessageType for GetInteractiveMarkersRequest { const ROS_TYPE_NAME: &'static str = "visualization_msgs/GetInteractiveMarkersRequest"; @@ -3077,13 +3217,14 @@ pub mod visualization_msgs { } #[allow(non_snake_case)] #[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - :: smart_default :: SmartDefault, + :: roslibrust_codegen :: Deserialize, + :: roslibrust_codegen :: Serialize, + :: roslibrust_codegen :: SmartDefault, Debug, Clone, PartialEq, )] + #[serde(crate = "::roslibrust_codegen::serde")] pub struct GetInteractiveMarkersResponse { pub r#sequence_number: u64, pub r#markers: ::std::vec::Vec,