diff --git a/ros1_rlr/Cargo.toml b/ros1_rlr/Cargo.toml index da6cf5b..2a65649 100644 --- a/ros1_rlr/Cargo.toml +++ b/ros1_rlr/Cargo.toml @@ -8,9 +8,12 @@ publish = false [dependencies] anyhow = "1.0.86" -roslibrust = { version="0.9.0", features = ["ros1"] } -roslibrust_codegen = "0.9.0" -roslibrust_codegen_macro = "0.9.0" +# roslibrust = { version="0.9.0", features = ["ros1"] } +# roslibrust_codegen = "0.9.0" +# roslibrust_codegen_macro = "0.9.0" +roslibrust = { git = "https://github.com/Carter12s/roslibrust.git", rev = "883057f8d159b0298c243744d65971e746ec5dbc", features = ["ros1"] } +roslibrust_codegen = { git = "https://github.com/Carter12s/roslibrust.git", rev = "883057f8d159b0298c243744d65971e746ec5dbc" } +roslibrust_codegen_macro = { git = "https://github.com/Carter12s/roslibrust.git", rev = "883057f8d159b0298c243744d65971e746ec5dbc" } serde = { version = "1.0", features = ["derive"] } serde-big-array = "0.5.1" smart-default = "0.7.1" diff --git a/ros1_rlr/src/main.rs b/ros1_rlr/src/main.rs index 5575e2d..326cbd6 100644 --- a/ros1_rlr/src/main.rs +++ b/ros1_rlr/src/main.rs @@ -60,7 +60,7 @@ async fn main() -> Result<(), anyhow::Error> { tokio::select! { _ = async { loop { let new_float_msg = float_sub.next().await.unwrap(); - *float_msg.clone().lock().unwrap() = new_float_msg; + *float_msg.clone().lock().unwrap() = new_float_msg.unwrap(); }} => {}, _ = async { loop { let mut point_msg = geometry_msgs::PointStamped::default();