fix TimeMsg build when rosrust enabled
This commit is contained in:
parent
3d85d740e3
commit
90c32dc642
|
|
@ -24,7 +24,6 @@
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
/// [Time](https://docs.ros2.org/latest/api/builtin_interfaces/msg/Time.html) representation for ROS messages.
|
/// [Time](https://docs.ros2.org/latest/api/builtin_interfaces/msg/Time.html) representation for ROS messages.
|
||||||
#[cfg(not(feature = "rosrust_msg"))]
|
|
||||||
#[derive(Clone, Debug, Default)]
|
#[derive(Clone, Debug, Default)]
|
||||||
pub struct TimeMsg {
|
pub struct TimeMsg {
|
||||||
pub sec: i32,
|
pub sec: i32,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue