Skip to content

Commit 0ee1ee3

Browse files
pablogs9Your NameAcuadros95
authored
Modify RMW API include (#41)
* multichange tool * Apply suggestions from code review Co-authored-by: Your Name <you@example.com> Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com>
1 parent 97aba34 commit 0ee1ee3

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

  • examples
    • int32_publisher_custom_transport/main
    • int32_publisher/main
    • low_consumption/main

examples/int32_publisher/main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <std_msgs/msg/int32.h>
1414
#include <rclc/rclc.h>
1515
#include <rclc/executor.h>
16-
#include <rmw_uros/options.h>
16+
#include <rmw_microros/rmw_microros.h>
1717
#include "uxr/client/config.h"
1818

1919
#define RCCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Aborting.\n",__LINE__,(int)temp_rc);vTaskDelete(NULL);}}
@@ -100,4 +100,4 @@ void app_main(void)
100100
NULL,
101101
CONFIG_MICRO_ROS_APP_TASK_PRIO,
102102
NULL);
103-
}
103+
}

examples/int32_publisher_custom_transport/main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <rclc/executor.h>
1616

1717
#include <rmw_microxrcedds_c/config.h>
18-
#include <rmw_uros/options.h>
18+
#include <rmw_microros/rmw_microros.h>
1919
#include "esp32_serial_transport.h"
2020

2121
#define RCCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Aborting.\n",__LINE__,(int)temp_rc);vTaskDelete(NULL);}}
@@ -103,4 +103,4 @@ void app_main(void)
103103
NULL,
104104
CONFIG_MICRO_ROS_APP_TASK_PRIO,
105105
NULL);
106-
}
106+
}

examples/low_consumption/main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <std_msgs/msg/int32.h>
1414
#include <rclc/rclc.h>
1515
#include <rclc/executor.h>
16-
#include <rmw_uros/options.h>
16+
#include <rmw_microros/rmw_microros.h>
1717
#include "uxr/client/config.h"
1818

1919
#ifdef CONFIG_PM_ENABLE
@@ -141,4 +141,4 @@ void app_main(void)
141141
NULL,
142142
CONFIG_MICRO_ROS_APP_TASK_PRIO,
143143
NULL);
144-
}
144+
}

0 commit comments

Comments
 (0)