Skip to content

Commit 0e8f599

Browse files
author
Shota Aoki
authored
トピックの送信周期を早くするため、loop内のdelayの削除と、spine_someのタイムアウト時間を削減した (#15)
1 parent 109abd5 commit 0e8f599

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

uROS_STEP10_tfMsg/uROS_STEP10_tfMsg.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,5 @@ void loop()
298298
RCSOFTCHECK(rcl_publish(&g_publisher, g_tf_message, NULL));
299299
RCSOFTCHECK(rcl_publish(&g_publisher2, &g_jstate, NULL));
300300

301-
RCCHECK(rclc_executor_spin_some(&g_executor, RCL_MS_TO_NS(100))); //for subscription
302-
303-
delay(10);
301+
RCCHECK(rclc_executor_spin_some(&g_executor, RCL_MS_TO_NS(10))); //for subscription
304302
}

0 commit comments

Comments
 (0)