Skip to content

Commit 03033a8

Browse files
committed
Fix ci/main
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
1 parent 2693f1b commit 03033a8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ci/src/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void timer_callback(rcl_timer_t * timer, int64_t last_call_time)
3636
RCLC_UNUSED(last_call_time);
3737
if (timer != NULL) {
3838
RCSOFTCHECK(rcl_publish(&publisher, &msg, NULL));
39-
msg.data = 555;
39+
msg.data++;
4040
}
4141
}
4242

@@ -84,11 +84,10 @@ void setup() {
8484
"microros_platformio_publisher"));
8585

8686
// create timer,
87-
const unsigned int timer_timeout = 1;
8887
RCCHECK(rclc_timer_init_default(
8988
&timer,
9089
&support,
91-
RCL_MS_TO_NS(timer_timeout),
90+
RCL_MS_TO_NS(100),
9291
timer_callback));
9392

9493
// create executor

0 commit comments

Comments
 (0)