diff --git a/mcap_to_rerun/src/main.rs b/mcap_to_rerun/src/main.rs index 09e5b0d..c97d2ac 100644 --- a/mcap_to_rerun/src/main.rs +++ b/mcap_to_rerun/src/main.rs @@ -44,7 +44,6 @@ fn main() -> Result<(), Box> { let len_header = message.data.len() as u32; let mut msg_with_header = Vec::from(len_header.to_le_bytes()); let mut message_data = Vec::from(message.data.clone()); - // println!("{:?}", print_type_of(&message)); msg_with_header.append(&mut message_data); /* @@ -61,10 +60,10 @@ fn main() -> Result<(), Box> { } */ - // match serde_rosmsg::from_slice::(&msg_with_header) { - match serde_rosmsg::from_slice::(&msg_with_header) { + // match serde_rosmsg::from_slice::(&msg_with_header) { + match serde_rosmsg::from_slice::(&msg_with_header) { Ok(odom_msg) => { - println!("{:#?}", odom_msg.header); + println!("{:#?}", odom_msg); }, Err(e) => { println!("{:?}", e);