Skip to content

Commit

Permalink
Rosapi fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carter committed Oct 22, 2023
1 parent de44534 commit b27a872
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions roslibrust/src/rosapi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
use crate::{ClientHandle, RosLibRustResult};
use async_trait::async_trait;

// TODO Fix this... this sucks
roslibrust_codegen_macro::find_and_generate_ros_messages_relative_to_manifest_dir!(
"../assets/ros1_common_interfaces/rosapi"
);
// TODO major issue here for folks who actually try to use rosapi in their project
// This macro isn't going to expand correctly when not used from this crate's workspace
// We almost certainly need to generate and commit the resulting messages, or
// do some include_str!() hax to be able to ship these types with the crate...
roslibrust_codegen_macro::find_and_generate_ros_messages!("assets/ros1_common_interfaces/rosapi");

/// Represents the ability to interact with the interfaces provided by the rosapi node.
/// This trait is implemented for ClientHandle when the `rosapi` feature is enabled.
Expand Down

0 comments on commit b27a872

Please sign in to comment.