We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2693f1b commit 03033a8Copy full SHA for 03033a8
1 file changed
ci/src/main.cpp
@@ -36,7 +36,7 @@ void timer_callback(rcl_timer_t * timer, int64_t last_call_time)
36
RCLC_UNUSED(last_call_time);
37
if (timer != NULL) {
38
RCSOFTCHECK(rcl_publish(&publisher, &msg, NULL));
39
- msg.data = 555;
+ msg.data++;
40
}
41
42
@@ -84,11 +84,10 @@ void setup() {
84
"microros_platformio_publisher"));
85
86
// create timer,
87
- const unsigned int timer_timeout = 1;
88
RCCHECK(rclc_timer_init_default(
89
&timer,
90
&support,
91
- RCL_MS_TO_NS(timer_timeout),
+ RCL_MS_TO_NS(100),
92
timer_callback));
93
94
// create executor
0 commit comments