Skip to content

Commit c5d2d1f

Browse files
authored
Fixed links to executor sample files.
1 parent 5a0b72f commit c5d2d1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • _docs/tutorials/core/programming_rcl_rclc

_docs/tutorials/core/programming_rcl_rclc/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ return 0;
422422
} // main
423423
```
424424
425-
This completes the example. The source code can be found in the package rclc-examples [rclc-examples/example_executor_convenience.c](https://github.com/micro-ROS/rclc-examples/example_executor_convenience.c).
425+
This completes the example. The source code can be found in the package rclc-examples [rclc-examples/example_executor_convenience.c](https://github.com/micro-ROS/rclc/blob/master/rclc_examples/src/example_executor_convenience.c).
426426
427427
#### Example 2: Triggered execution
428428
In robotic applications often multiple sensors are used to improve localization precision. These sensors can have different frequencies, for example, a high frequency IMU sensor and a low frequency laser scanner. One way is to trigger execution upon arrival of a laser scan and only then evaluate the most recent data from the aggregated IMU data.
@@ -909,4 +909,4 @@ The following code will setup the executor accordingly:
909909
```
910910
The custom structs `pub_trigger_object_t` are used to save the pointer of the handles. The timers `my_string_timer` and `my_int_timer` for the publishing executor; and, likewise, the subscriptions `my_string_sub` and `my_int_sub` for the subscribing executor. The configuration is done also with the `rclc_executor_set_trigger` by passing the trigger function and the trigger object, e.g. `pub_trigger` and `comm_obj_pub` for the `executor_pub`, respectivly.
911911

912-
The complete source code of this example can be found in the file [rclc-examples/example_executor_trigger.c](https://github.com/micro-ROS/rclc-examples/example_executor_trigger.c).
912+
The complete source code of this example can be found in the file [rclc-examples/example_executor_trigger.c](https://github.com/micro-ROS/rclc/rclc_examples/example_executor_trigger.c).

0 commit comments

Comments
 (0)