Hello, I have some questions to be clarified when following the Unit 5.4 Create an Action Interface.
We were prompted to create the Action directory in the custom_interface created couple units ago, however, I find that the name of the directory needs to be lower case action and the .action
file needs to be capitalized Move.action
(Also, why is it specifically looking for Move.action and not Custom_name.action?)
In addition, inside the CMakeLists.txt
we need to remain unchanged for project(custom_interfaces)
instead of changing it to project(t3_action_msg)
and in package.xml
remain <name>custom_interfaces</name>
instead of <name>t3_action_msg</name>
If I change anything, the colon build
will break…
I just wanted to ensure I’m not breaking any rules or missing any consistency with naming.
Lastly, there’s a warning which I’m not sure what it means when building:
user:~/ros2_ws$ colcon build --packages-select custom_interfaces
[0.638s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'custom_interfaces' is in: /home/user/ros2_ws/install/custom_interfaces
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so
may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding custom_interfaces
This may be promoted to an error in a future release of colcon-override-check.
Starting >>> custom_interfaces
Finished <<< custom_interfaces [4.21s]
Summary: 1 package finished [4.66s]