File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
boards/espressif_esp32s3_devkitc_1_n8r2_ros Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ void common_hal_rclcpy_node_deinit(rclcpy_node_obj_t *self) {
30
30
// Clean up Micro-ROS object
31
31
rcl_ret_t ret = rcl_node_fini (& self -> rcl_node );
32
32
if (ret != RCL_RET_OK ) {
33
+ // TODO: node_fini returns a fail here, but doesn't impede microros
34
+ // from restarting. Debug left for future investigation.
33
35
ESP_LOGW ("RCLCPY" , "Node cleanup error: %d" , ret );
34
36
// rclcpy_default_context.critical_fail=RCLCPY_NODE_FAIL;
35
37
}
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ void common_hal_rclcpy_publisher_deinit(rclcpy_publisher_obj_t *self) {
37
37
// Clean up Micro-ROS object
38
38
rcl_ret_t ret = rcl_publisher_fini (& self -> rcl_publisher , & self -> node -> rcl_node );
39
39
if (ret != RCL_RET_OK ) {
40
+ // TODO: publisher_fini returns a fail here, but doesn't impede microros
41
+ // from restarting. Debug left for future investigation.
40
42
ESP_LOGW ("RCLCPY" , "Publisher cleanup error: %d" , ret );
41
43
// rclcpy_default_context.critical_fail=RCLCPY_PUB_FAIL;
42
44
}
You can’t perform that action at this time.
0 commit comments