Skip to content

Depending on RCLRS with the serde feature fails to compile #532

@S3ckShUn21

Description

@S3ckShUn21

Bug Report

It looks like a couple of the autogenerated vendor bindings in rclrs/src/vendor have been improperly generated.

Both example_interfaces/action.rs and test_msgs/action.rs have multiple definitions of the

use serde::{Deserialize, Serialize};

After deleting the second copy of that line within both files, my binary compiled just fine.

Environment

  • Arch: x86_64
  • OS: Ubuntu 24.04.2LTS
  • ROS: ROS2 Jazzy
  • rclrs commit: 3c706a2207cbba415
  • I'm declaring the dependency on rlcrs with rclrs = { version = "*", features = ["serde"] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions