December 2019
Intermediate to advanced
456 pages
11h 33m
English
To make our package understand action definitions and aid in their usage, we need to modify our package.xml and CMakeLists.txt files. In the package.xml file, ensure the following lines of code are available to call the action package. If not, please add them:
<build_depend>actionlib_msgs</build_depend><exec_depend>actionlib_msgs</exec_depend>
In the CMakeLists.txt file, add the action files to the add_action_files() call:
add_action_files(DIRECTORY actionFILES battery_sim.action)
Indicate the dependencies in the generate_messages() call:
generate_messages(Read now
Unlock full access