Skip to content

Commit 3359047

Browse files
pablogs9Your NameAcuadros95
authored
Modify RMW API include (#286)
* multichange tool * Apply suggestions from code review * Update doc rmw include Co-authored-by: Your Name <you@example.com> Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com> Co-authored-by: Antonio cuadros <acuadros1995@gmail.com>
1 parent 054bb09 commit 3359047

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • _docs/tutorials/advanced

‎_docs/tutorials/advanced/create_custom_transports/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ These two modes can be selected by activating and deactivating the `framing` par
2323
An example on how to set these external transport callbacks in the micro-ROS Client API is:
2424

2525
```c
26-
#include <rmw_uros/options.h>
26+
#include <rmw_microros/rmw_microros.h>
2727

2828
...
2929

‎_docs/tutorials/advanced/microxrcedds_rmw_configuration/index.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ For example, in the [ping-pong application](https://micro-ros.github.io//docs/tu
8686
There are some build time parameters related to Client-to-Agent connection (such as **CONFIG_RMW_DEFAULT_UDP_PORT**, **CONFIG_RMW_DEFAULT_UDP_IP** and **CONFIG_RMW_DEFAULT_SERIAL_DEVICE**) that can be configured either at build time or at run-time.
8787
This means that you can set them in the [configuration file](https://github.com/micro-ROS/micro_ros_setup/blob/foxy/config/host/generic/client-host-colcon.meta) mentioned above and that micro-ROS provides a user configuration API for setting some RMW and middleware parameters at run-time.
8888

89-
The following example code shows the [API](https://github.com/micro-ROS/rmw-microxrcedds/blob/foxy/rmw_microxrcedds_c/include/rmw_uros/options.h) calls needed to set the agent's IP address, port or serial device:
89+
The following example code shows the [API](https://github.com/micro-ROS/rmw-microxrcedds/blob/foxy/rmw_microxrcedds_c/include/rmw_uros/init_options.h) calls needed to set the agent's IP address, port or serial device:
9090

9191
```c
92-
#include <rmw_uros/options.h>
92+
#include <rmw_microros/rmw_microros.h>
9393

9494
// Init RCL options and context
9595
rcl_init_options_t init_options = rcl_get_zero_initialized_init_options();

0 commit comments

Comments
 (0)