Skip to content

Commit 6608192

Browse files
committed
Remove dbg outputs
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 7d540c2 commit 6608192

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

rclrs/src/node.rs

-5
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ mod tests {
866866

867867
#[test]
868868
fn test_create_timer() -> Result<(), RclrsError> {
869-
dbg!();
870869
let mut executor = Context::default().create_basic_executor();
871870
let node = executor.create_node("node_with_timer")?;
872871

@@ -875,7 +874,6 @@ mod tests {
875874
let _repeating_timer = node.create_timer_repeating(
876875
Duration::from_millis(1),
877876
move || {
878-
dbg!();
879877
repeat_counter.fetch_add(1, Ordering::AcqRel);
880878
},
881879
)?;
@@ -886,7 +884,6 @@ mod tests {
886884
Duration::from_millis(1)
887885
.node_time(),
888886
move || {
889-
dbg!();
890887
oneshot_counter.fetch_add(1, Ordering::AcqRel);
891888
},
892889
)?;
@@ -896,12 +893,10 @@ mod tests {
896893
let _oneshot_resetting_timer = node.create_timer_oneshot(
897894
Duration::from_millis(1),
898895
move |timer: &Timer| {
899-
dbg!();
900896
recursive_oneshot(timer, oneshot_resetting_counter);
901897
},
902898
);
903899

904-
dbg!();
905900
executor.spin(SpinOptions::new().timeout(Duration::from_millis(10)));
906901

907902
// We give a little leeway to the exact count since timers won't always

rclrs/src/service/worker_service_callback.rs

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ where
3636
any_payload: &mut dyn Any,
3737
) -> Result<(), RclrsError> {
3838
let Some(payload) = any_payload.downcast_mut::<Payload>() else {
39-
dbg!();
4039
return Err(RclrsError::InvalidPayload {
4140
expected: std::any::TypeId::of::<Payload>(),
4241
received: (*any_payload).type_id(),

rclrs/src/wait_set/wait_set_runner.rs

-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ impl WaitSetRunner {
163163
}
164164
});
165165

166-
dbg!(&timeout);
167-
168166
let mut at_least_one = false;
169167
self.wait_set.wait(timeout, |executable| {
170168
at_least_one = true;

0 commit comments

Comments
 (0)