diff --git a/tests/helpers/ros_service_caller.rs b/tests/helpers/ros_service_caller.rs index d68a2cf..4c7d1fc 100644 --- a/tests/helpers/ros_service_caller.rs +++ b/tests/helpers/ros_service_caller.rs @@ -34,21 +34,16 @@ impl ServiceCaller { } pub fn start(&self) { - println!("Starting ROS Service Client"); - while !self.client.service_is_ready().unwrap() { std::thread::sleep(std::time::Duration::from_millis(10)); } - println!("ROS Service Client is ready"); } pub fn call(&self) { - println!("Calling a ROS Service"); let num_calls_clone = Arc::clone(&self.number_of_calls); self.client .async_send_request_with_callback( &self.request, move |_response: std_srvs::srv::Empty_Response| { - println!("Got an answer"); let mut num_calls = num_calls_clone.lock().unwrap(); *num_calls += 1; }, diff --git a/tests/helpers/ros_subscriber.rs b/tests/helpers/ros_subscriber.rs index 72ad65d..912be06 100644 --- a/tests/helpers/ros_subscriber.rs +++ b/tests/helpers/ros_subscriber.rs @@ -39,19 +39,6 @@ impl Subscriber { } fn callback(&self, msg: JointStateMsg) { self.num_messages.fetch_add(1, Ordering::SeqCst); - println!("msg {}", msg.clone().position.first().unwrap()); *self.data.lock().unwrap() = Some(msg); - - println!( - "data {}", - self.data - .lock() - .unwrap() - .as_mut() - .unwrap() - .position - .first() - .unwrap() - ); } }