@@ -53,13 +53,13 @@ foreach(_idl_file ${rosidl_generate_interfaces_ABS_IDL_FILES})
53
53
54
54
if (_parent_folder STREQUAL "msg" )
55
55
set (_has_msg TRUE )
56
- set (_idl_file_without_actions ${_idl_file_without_actions } ${_idl_file} )
56
+ set (_idl_files ${_idl_files } ${_idl_file} )
57
57
elseif (_parent_folder STREQUAL "srv" )
58
58
set (_has_srv TRUE )
59
- set (_idl_file_without_actions ${_idl_file_without_actions } ${_idl_file} )
59
+ set (_idl_files ${_idl_files } ${_idl_file} )
60
60
elseif (_parent_folder STREQUAL "action" )
61
61
set (_has_action TRUE )
62
- message (WARNING "Rust actions generation is not implemented" )
62
+ set (_idl_files ${_idl_files} ${_idl_file} )
63
63
else ()
64
64
message (FATAL_ERROR "Interface file with unknown parent folder: ${_idl_file} " )
65
65
endif ()
@@ -107,12 +107,13 @@ endforeach()
107
107
set (target_dependencies
108
108
"${rosidl_generator_rs_BIN} "
109
109
${rosidl_generator_rs_GENERATOR_FILES}
110
+ "${rosidl_generator_rs_TEMPLATE_DIR} /action.rs.em"
110
111
"${rosidl_generator_rs_TEMPLATE_DIR} /msg_idiomatic.rs.em"
111
112
"${rosidl_generator_rs_TEMPLATE_DIR} /msg_rmw.rs.em"
112
113
"${rosidl_generator_rs_TEMPLATE_DIR} /msg.rs.em"
113
114
"${rosidl_generator_rs_TEMPLATE_DIR} /srv.rs.em"
114
115
${rosidl_generate_interfaces_ABS_IDL_FILES}
115
- ${_idl_file_without_actions }
116
+ ${_idl_files }
116
117
${_dependency_files} )
117
118
foreach (dep ${target_dependencies} )
118
119
if (NOT EXISTS "${dep} " )
@@ -125,7 +126,7 @@ rosidl_write_generator_arguments(
125
126
"${generator_arguments_file} "
126
127
PACKAGE_NAME "${PROJECT_NAME} "
127
128
IDL_TUPLES "${rosidl_generate_interfaces_IDL_TUPLES} "
128
- ROS_INTERFACE_FILES "${_idl_file_without_actions } "
129
+ ROS_INTERFACE_FILES "${_idl_files } "
129
130
ROS_INTERFACE_DEPENDENCIES "${_dependencies} "
130
131
OUTPUT_DIR "${_output_path} "
131
132
TEMPLATE_DIR "${rosidl_generator_rs_TEMPLATE_DIR} "
0 commit comments