Skip to content

Commit

Permalink
use newer version of roslibrust so rostopic hz and rosbag record work…
Browse files Browse the repository at this point in the history
…s on published topics
  • Loading branch information
lucasw committed Jun 29, 2024
1 parent 5f6972b commit 8a0c98c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions ros1_rlr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ros1_rlr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8a0c98c

Please sign in to comment.