Skip to content

Commit 0e8dd58

Browse files
Update _docs/tutorials/core/programming_rcl_rclc/index.md
Co-authored-by: Ralph Lange <ralph-lange@users.noreply.github.com>
1 parent a70ca63 commit 0e8dd58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • _docs/tutorials/core/programming_rcl_rclc

_docs/tutorials/core/programming_rcl_rclc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ void my_timer_callback(rcl_timer_t * timer, int64_t last_call_time)
273273
}
274274
}
275275
```
276-
After defining the callback functions, we present now the `main()` function. First, some initialization for ROS 2 is necessary to create later rcl objects. That is an `allocator` for dynamic memory allocation, and a `support` object, which contains some rcl-objects simplifying the initialization of an rcl-node, an rcl-subscription, an rcl-timer and an rclc-executor.
276+
After defining the callback functions, we present now the `main()` function. First, some initialization is necessary to create later rcl objects. That is an `allocator` for dynamic memory allocation, and a `support` object, which contains some rcl-objects simplifying the initialization of an rcl-node, an rcl-subscription, an rcl-timer and an rclc-executor.
277277
```C
278278
int main(int argc, const char * argv[])
279279
{

0 commit comments

Comments
 (0)