diff --git a/.gitignore b/.gitignore index 0098f73..cde6b81 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +install/ devel/ logs/ build/ diff --git a/README.md b/README.md index a6b8620..974ad3a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Tactigon ROS2 Nodes Installation and Usage Guide ![ROS2 Logo](https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Ros_logo.svg/1920px-Ros_logo.svg.png) +![Tactigon Logo](https://pypi-camo.freetls.fastly.net/90dce08d567e5182bf672f417aded1b75e57b728/68747470733a2f2f617661746172732e67697468756275736572636f6e74656e742e636f6d2f752f36333032303238353f733d32303026763d34) + Welcome to the **Tactigon ROS2 Nodes** guide! This document will help you install and use the Tactigon-based ROS2 packages. @@ -13,6 +15,10 @@ Download and install Ubuntu 24.04 LTS from the [official website](https://ubuntu ### 2️⃣ Install ROS2 Jazzy Follow the official [ROS2 Jazzy Installation Guide](https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debians.html) to install ROS2 and its developer tools. +It is also suggested to run the following command after the installation in order to avoid having to source ros2 on each new terminal +```bash +echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc +``` --- @@ -21,8 +27,7 @@ Follow the official [ROS2 Jazzy Installation Guide](https://docs.ros.org/en/jazz ### 1️⃣ Download and Extract Files Download the compressed file containing the following folders: ``` -examples/ -tactigon_gear-5.4.0.tar.gz +models/ src/ ``` Extract the file into a directory named `ros2_ws`: @@ -35,8 +40,7 @@ cd ~/ros2_ws Your workspace structure should look like this: ``` ros2_ws/ -├── examples/ -├── tactigon_gear-5.4.0.tar.gz +├── models/ └── src/ ├── tactigon_msgs/ # Custom message definitions └── tactigon_ros/ # Python package with nodes @@ -44,33 +48,16 @@ ros2_ws/ --- -## 🔧 Installing Tactigon-Gear Library - -### 1️⃣ Create a Virtual Environment -```bash -cd ~/ros2_ws -python3 -m venv ros_venv -source ros_venv/bin/activate -``` - -### 2️⃣ Install Tactigon-Gear -```bash -pip install tactigon_gear-5.4.0.tar.gz -``` - -### 3️⃣ Deactivate Virtual Environment -```bash -deactivate -``` - ---- - ## 🔨 Building the ROS2 Workspace ### 1️⃣ Install Dependencies ```bash cd ~/ros2_ws -rosdep install --from-paths src --ignore-src -y --skip-keys tactigon-gear +export PIP_BREAK_SYSTEM_PACKAGES=1 +sudo apt install python3-pip +sudo rosdep init +rosdep update +rosdep install --from-paths src --ignore-src -y ``` ### 2️⃣ Build the Workspace @@ -82,12 +69,6 @@ colcon build ```bash source install/setup.bash ``` - -### 4️⃣ Add Virtual Environment to `PYTHONPATH` -```bash -export PYTHONPATH=$PYTHONPATH:~/ros2_ws/ros_venv/lib/python3.12/site-packages -``` - --- ## 📦 The `tactigon_msgs` Package @@ -122,29 +103,35 @@ float32 gesture_probability ## ▶ Running the Nodes ### 1️⃣ Start the `tactigon_ros` Nodes -#### `tactigon_data` - Publishes Tactigon data +#### `tactigon_data` - Publishes Tactigon data +This node handles the connection with the Tactigon Skin and publishes a message with the current state on the "/tactigon_state" topic. + +Before running this node it is neccesary to modify `TSKIN_MAC = "C0:83:35:34:28:38"` with your own Tactigon Skin MAC address. ```bash ros2 run tactigon_ros tactigon_data ``` #### `tactigon_logger` - Logs sensor data +This node outputs a CSV file with the logged data of the tactigon. Has to be runned in parallel to the tactigon_data node. ```bash ros2 run tactigon_ros tactigon_logger ``` #### `tactigon_turtlesim_controller` - Controls Turtlesim via gestures +This node is a simple demo. The node maps certain Tactigon gestures to the control inputs of the turtlebot 2D simulation. Note: run this two nodes in different terminals in parallel. ```bash ros2 run turtlesim turtlesim_node +``` +```bash ros2 run tactigon_ros tactigon_turtlesim_controller ``` ### 2️⃣ Check Topics -Verify the nodes are publishing correctly: +At any point you it is possible to verify if the nodes are publishing correctly: ```bash ros2 topic list ``` Expected output: ``` -/tactigon/state -/tactigon/log +/tactigon_state /turtle1/cmd_vel ``` diff --git a/install/.colcon_install_layout b/install/.colcon_install_layout deleted file mode 100644 index 3aad533..0000000 --- a/install/.colcon_install_layout +++ /dev/null @@ -1 +0,0 @@ -isolated diff --git a/install/COLCON_IGNORE b/install/COLCON_IGNORE deleted file mode 100644 index e69de29..0000000 diff --git a/install/_local_setup_util_ps1.py b/install/_local_setup_util_ps1.py deleted file mode 100644 index 3c6d9e8..0000000 --- a/install/_local_setup_util_ps1.py +++ /dev/null @@ -1,407 +0,0 @@ -# Copyright 2016-2019 Dirk Thomas -# Licensed under the Apache License, Version 2.0 - -import argparse -from collections import OrderedDict -import os -from pathlib import Path -import sys - - -FORMAT_STR_COMMENT_LINE = '# {comment}' -FORMAT_STR_SET_ENV_VAR = 'Set-Item -Path "Env:{name}" -Value "{value}"' -FORMAT_STR_USE_ENV_VAR = '$env:{name}' -FORMAT_STR_INVOKE_SCRIPT = '_colcon_prefix_powershell_source_script "{script_path}"' # noqa: E501 -FORMAT_STR_REMOVE_LEADING_SEPARATOR = '' # noqa: E501 -FORMAT_STR_REMOVE_TRAILING_SEPARATOR = '' # noqa: E501 - -DSV_TYPE_APPEND_NON_DUPLICATE = 'append-non-duplicate' -DSV_TYPE_PREPEND_NON_DUPLICATE = 'prepend-non-duplicate' -DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS = 'prepend-non-duplicate-if-exists' -DSV_TYPE_SET = 'set' -DSV_TYPE_SET_IF_UNSET = 'set-if-unset' -DSV_TYPE_SOURCE = 'source' - - -def main(argv=sys.argv[1:]): # noqa: D103 - parser = argparse.ArgumentParser( - description='Output shell commands for the packages in topological ' - 'order') - parser.add_argument( - 'primary_extension', - help='The file extension of the primary shell') - parser.add_argument( - 'additional_extension', nargs='?', - help='The additional file extension to be considered') - parser.add_argument( - '--merged-install', action='store_true', - help='All install prefixes are merged into a single location') - args = parser.parse_args(argv) - - packages = get_packages(Path(__file__).parent, args.merged_install) - - ordered_packages = order_packages(packages) - for pkg_name in ordered_packages: - if _include_comments(): - print( - FORMAT_STR_COMMENT_LINE.format_map( - {'comment': 'Package: ' + pkg_name})) - prefix = os.path.abspath(os.path.dirname(__file__)) - if not args.merged_install: - prefix = os.path.join(prefix, pkg_name) - for line in get_commands( - pkg_name, prefix, args.primary_extension, - args.additional_extension - ): - print(line) - - for line in _remove_ending_separators(): - print(line) - - -def get_packages(prefix_path, merged_install): - """ - Find packages based on colcon-specific files created during installation. - - :param Path prefix_path: The install prefix path of all packages - :param bool merged_install: The flag if the packages are all installed - directly in the prefix or if each package is installed in a subdirectory - named after the package - :returns: A mapping from the package name to the set of runtime - dependencies - :rtype: dict - """ - packages = {} - # since importing colcon_core isn't feasible here the following constant - # must match colcon_core.location.get_relative_package_index_path() - subdirectory = 'share/colcon-core/packages' - if merged_install: - # return if workspace is empty - if not (prefix_path / subdirectory).is_dir(): - return packages - # find all files in the subdirectory - for p in (prefix_path / subdirectory).iterdir(): - if not p.is_file(): - continue - if p.name.startswith('.'): - continue - add_package_runtime_dependencies(p, packages) - else: - # for each subdirectory look for the package specific file - for p in prefix_path.iterdir(): - if not p.is_dir(): - continue - if p.name.startswith('.'): - continue - p = p / subdirectory / p.name - if p.is_file(): - add_package_runtime_dependencies(p, packages) - - # remove unknown dependencies - pkg_names = set(packages.keys()) - for k in packages.keys(): - packages[k] = {d for d in packages[k] if d in pkg_names} - - return packages - - -def add_package_runtime_dependencies(path, packages): - """ - Check the path and if it exists extract the packages runtime dependencies. - - :param Path path: The resource file containing the runtime dependencies - :param dict packages: A mapping from package names to the sets of runtime - dependencies to add to - """ - content = path.read_text() - dependencies = set(content.split(os.pathsep) if content else []) - packages[path.name] = dependencies - - -def order_packages(packages): - """ - Order packages topologically. - - :param dict packages: A mapping from package name to the set of runtime - dependencies - :returns: The package names - :rtype: list - """ - # select packages with no dependencies in alphabetical order - to_be_ordered = list(packages.keys()) - ordered = [] - while to_be_ordered: - pkg_names_without_deps = [ - name for name in to_be_ordered if not packages[name]] - if not pkg_names_without_deps: - reduce_cycle_set(packages) - raise RuntimeError( - 'Circular dependency between: ' + ', '.join(sorted(packages))) - pkg_names_without_deps.sort() - pkg_name = pkg_names_without_deps[0] - to_be_ordered.remove(pkg_name) - ordered.append(pkg_name) - # remove item from dependency lists - for k in list(packages.keys()): - if pkg_name in packages[k]: - packages[k].remove(pkg_name) - return ordered - - -def reduce_cycle_set(packages): - """ - Reduce the set of packages to the ones part of the circular dependency. - - :param dict packages: A mapping from package name to the set of runtime - dependencies which is modified in place - """ - last_depended = None - while len(packages) > 0: - # get all remaining dependencies - depended = set() - for pkg_name, dependencies in packages.items(): - depended = depended.union(dependencies) - # remove all packages which are not dependent on - for name in list(packages.keys()): - if name not in depended: - del packages[name] - if last_depended: - # if remaining packages haven't changed return them - if last_depended == depended: - return packages.keys() - # otherwise reduce again - last_depended = depended - - -def _include_comments(): - # skipping comment lines when COLCON_TRACE is not set speeds up the - # processing especially on Windows - return bool(os.environ.get('COLCON_TRACE')) - - -def get_commands(pkg_name, prefix, primary_extension, additional_extension): - commands = [] - package_dsv_path = os.path.join(prefix, 'share', pkg_name, 'package.dsv') - if os.path.exists(package_dsv_path): - commands += process_dsv_file( - package_dsv_path, prefix, primary_extension, additional_extension) - return commands - - -def process_dsv_file( - dsv_path, prefix, primary_extension=None, additional_extension=None -): - commands = [] - if _include_comments(): - commands.append(FORMAT_STR_COMMENT_LINE.format_map({'comment': dsv_path})) - with open(dsv_path, 'r') as h: - content = h.read() - lines = content.splitlines() - - basenames = OrderedDict() - for i, line in enumerate(lines): - # skip over empty or whitespace-only lines - if not line.strip(): - continue - # skip over comments - if line.startswith('#'): - continue - try: - type_, remainder = line.split(';', 1) - except ValueError: - raise RuntimeError( - "Line %d in '%s' doesn't contain a semicolon separating the " - 'type from the arguments' % (i + 1, dsv_path)) - if type_ != DSV_TYPE_SOURCE: - # handle non-source lines - try: - commands += handle_dsv_types_except_source( - type_, remainder, prefix) - except RuntimeError as e: - raise RuntimeError( - "Line %d in '%s' %s" % (i + 1, dsv_path, e)) from e - else: - # group remaining source lines by basename - path_without_ext, ext = os.path.splitext(remainder) - if path_without_ext not in basenames: - basenames[path_without_ext] = set() - assert ext.startswith('.') - ext = ext[1:] - if ext in (primary_extension, additional_extension): - basenames[path_without_ext].add(ext) - - # add the dsv extension to each basename if the file exists - for basename, extensions in basenames.items(): - if not os.path.isabs(basename): - basename = os.path.join(prefix, basename) - if os.path.exists(basename + '.dsv'): - extensions.add('dsv') - - for basename, extensions in basenames.items(): - if not os.path.isabs(basename): - basename = os.path.join(prefix, basename) - if 'dsv' in extensions: - # process dsv files recursively - commands += process_dsv_file( - basename + '.dsv', prefix, primary_extension=primary_extension, - additional_extension=additional_extension) - elif primary_extension in extensions and len(extensions) == 1: - # source primary-only files - commands += [ - FORMAT_STR_INVOKE_SCRIPT.format_map({ - 'prefix': prefix, - 'script_path': basename + '.' + primary_extension})] - elif additional_extension in extensions: - # source non-primary files - commands += [ - FORMAT_STR_INVOKE_SCRIPT.format_map({ - 'prefix': prefix, - 'script_path': basename + '.' + additional_extension})] - - return commands - - -def handle_dsv_types_except_source(type_, remainder, prefix): - commands = [] - if type_ in (DSV_TYPE_SET, DSV_TYPE_SET_IF_UNSET): - try: - env_name, value = remainder.split(';', 1) - except ValueError: - raise RuntimeError( - "doesn't contain a semicolon separating the environment name " - 'from the value') - try_prefixed_value = os.path.join(prefix, value) if value else prefix - if os.path.exists(try_prefixed_value): - value = try_prefixed_value - if type_ == DSV_TYPE_SET: - commands += _set(env_name, value) - elif type_ == DSV_TYPE_SET_IF_UNSET: - commands += _set_if_unset(env_name, value) - else: - assert False - elif type_ in ( - DSV_TYPE_APPEND_NON_DUPLICATE, - DSV_TYPE_PREPEND_NON_DUPLICATE, - DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS - ): - try: - env_name_and_values = remainder.split(';') - except ValueError: - raise RuntimeError( - "doesn't contain a semicolon separating the environment name " - 'from the values') - env_name = env_name_and_values[0] - values = env_name_and_values[1:] - for value in values: - if not value: - value = prefix - elif not os.path.isabs(value): - value = os.path.join(prefix, value) - if ( - type_ == DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS and - not os.path.exists(value) - ): - comment = f'skip extending {env_name} with not existing ' \ - f'path: {value}' - if _include_comments(): - commands.append( - FORMAT_STR_COMMENT_LINE.format_map({'comment': comment})) - elif type_ == DSV_TYPE_APPEND_NON_DUPLICATE: - commands += _append_unique_value(env_name, value) - else: - commands += _prepend_unique_value(env_name, value) - else: - raise RuntimeError( - 'contains an unknown environment hook type: ' + type_) - return commands - - -env_state = {} - - -def _append_unique_value(name, value): - global env_state - if name not in env_state: - if os.environ.get(name): - env_state[name] = set(os.environ[name].split(os.pathsep)) - else: - env_state[name] = set() - # append even if the variable has not been set yet, in case a shell script sets the - # same variable without the knowledge of this Python script. - # later _remove_ending_separators() will cleanup any unintentional leading separator - extend = FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + os.pathsep - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': extend + value}) - if value not in env_state[name]: - env_state[name].add(value) - else: - if not _include_comments(): - return [] - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -def _prepend_unique_value(name, value): - global env_state - if name not in env_state: - if os.environ.get(name): - env_state[name] = set(os.environ[name].split(os.pathsep)) - else: - env_state[name] = set() - # prepend even if the variable has not been set yet, in case a shell script sets the - # same variable without the knowledge of this Python script. - # later _remove_ending_separators() will cleanup any unintentional trailing separator - extend = os.pathsep + FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value + extend}) - if value not in env_state[name]: - env_state[name].add(value) - else: - if not _include_comments(): - return [] - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -# generate commands for removing prepended underscores -def _remove_ending_separators(): - # do nothing if the shell extension does not implement the logic - if FORMAT_STR_REMOVE_TRAILING_SEPARATOR is None: - return [] - - global env_state - commands = [] - for name in env_state: - # skip variables that already had values before this script started prepending - if name in os.environ: - continue - commands += [ - FORMAT_STR_REMOVE_LEADING_SEPARATOR.format_map({'name': name}), - FORMAT_STR_REMOVE_TRAILING_SEPARATOR.format_map({'name': name})] - return commands - - -def _set(name, value): - global env_state - env_state[name] = value - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value}) - return [line] - - -def _set_if_unset(name, value): - global env_state - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value}) - if env_state.get(name, os.environ.get(name)): - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -if __name__ == '__main__': # pragma: no cover - try: - rc = main() - except RuntimeError as e: - print(str(e), file=sys.stderr) - rc = 1 - sys.exit(rc) diff --git a/install/_local_setup_util_sh.py b/install/_local_setup_util_sh.py deleted file mode 100644 index f67eaa9..0000000 --- a/install/_local_setup_util_sh.py +++ /dev/null @@ -1,407 +0,0 @@ -# Copyright 2016-2019 Dirk Thomas -# Licensed under the Apache License, Version 2.0 - -import argparse -from collections import OrderedDict -import os -from pathlib import Path -import sys - - -FORMAT_STR_COMMENT_LINE = '# {comment}' -FORMAT_STR_SET_ENV_VAR = 'export {name}="{value}"' -FORMAT_STR_USE_ENV_VAR = '${name}' -FORMAT_STR_INVOKE_SCRIPT = 'COLCON_CURRENT_PREFIX="{prefix}" _colcon_prefix_sh_source_script "{script_path}"' # noqa: E501 -FORMAT_STR_REMOVE_LEADING_SEPARATOR = 'if [ "$(echo -n ${name} | head -c 1)" = ":" ]; then export {name}=${{{name}#?}} ; fi' # noqa: E501 -FORMAT_STR_REMOVE_TRAILING_SEPARATOR = 'if [ "$(echo -n ${name} | tail -c 1)" = ":" ]; then export {name}=${{{name}%?}} ; fi' # noqa: E501 - -DSV_TYPE_APPEND_NON_DUPLICATE = 'append-non-duplicate' -DSV_TYPE_PREPEND_NON_DUPLICATE = 'prepend-non-duplicate' -DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS = 'prepend-non-duplicate-if-exists' -DSV_TYPE_SET = 'set' -DSV_TYPE_SET_IF_UNSET = 'set-if-unset' -DSV_TYPE_SOURCE = 'source' - - -def main(argv=sys.argv[1:]): # noqa: D103 - parser = argparse.ArgumentParser( - description='Output shell commands for the packages in topological ' - 'order') - parser.add_argument( - 'primary_extension', - help='The file extension of the primary shell') - parser.add_argument( - 'additional_extension', nargs='?', - help='The additional file extension to be considered') - parser.add_argument( - '--merged-install', action='store_true', - help='All install prefixes are merged into a single location') - args = parser.parse_args(argv) - - packages = get_packages(Path(__file__).parent, args.merged_install) - - ordered_packages = order_packages(packages) - for pkg_name in ordered_packages: - if _include_comments(): - print( - FORMAT_STR_COMMENT_LINE.format_map( - {'comment': 'Package: ' + pkg_name})) - prefix = os.path.abspath(os.path.dirname(__file__)) - if not args.merged_install: - prefix = os.path.join(prefix, pkg_name) - for line in get_commands( - pkg_name, prefix, args.primary_extension, - args.additional_extension - ): - print(line) - - for line in _remove_ending_separators(): - print(line) - - -def get_packages(prefix_path, merged_install): - """ - Find packages based on colcon-specific files created during installation. - - :param Path prefix_path: The install prefix path of all packages - :param bool merged_install: The flag if the packages are all installed - directly in the prefix or if each package is installed in a subdirectory - named after the package - :returns: A mapping from the package name to the set of runtime - dependencies - :rtype: dict - """ - packages = {} - # since importing colcon_core isn't feasible here the following constant - # must match colcon_core.location.get_relative_package_index_path() - subdirectory = 'share/colcon-core/packages' - if merged_install: - # return if workspace is empty - if not (prefix_path / subdirectory).is_dir(): - return packages - # find all files in the subdirectory - for p in (prefix_path / subdirectory).iterdir(): - if not p.is_file(): - continue - if p.name.startswith('.'): - continue - add_package_runtime_dependencies(p, packages) - else: - # for each subdirectory look for the package specific file - for p in prefix_path.iterdir(): - if not p.is_dir(): - continue - if p.name.startswith('.'): - continue - p = p / subdirectory / p.name - if p.is_file(): - add_package_runtime_dependencies(p, packages) - - # remove unknown dependencies - pkg_names = set(packages.keys()) - for k in packages.keys(): - packages[k] = {d for d in packages[k] if d in pkg_names} - - return packages - - -def add_package_runtime_dependencies(path, packages): - """ - Check the path and if it exists extract the packages runtime dependencies. - - :param Path path: The resource file containing the runtime dependencies - :param dict packages: A mapping from package names to the sets of runtime - dependencies to add to - """ - content = path.read_text() - dependencies = set(content.split(os.pathsep) if content else []) - packages[path.name] = dependencies - - -def order_packages(packages): - """ - Order packages topologically. - - :param dict packages: A mapping from package name to the set of runtime - dependencies - :returns: The package names - :rtype: list - """ - # select packages with no dependencies in alphabetical order - to_be_ordered = list(packages.keys()) - ordered = [] - while to_be_ordered: - pkg_names_without_deps = [ - name for name in to_be_ordered if not packages[name]] - if not pkg_names_without_deps: - reduce_cycle_set(packages) - raise RuntimeError( - 'Circular dependency between: ' + ', '.join(sorted(packages))) - pkg_names_without_deps.sort() - pkg_name = pkg_names_without_deps[0] - to_be_ordered.remove(pkg_name) - ordered.append(pkg_name) - # remove item from dependency lists - for k in list(packages.keys()): - if pkg_name in packages[k]: - packages[k].remove(pkg_name) - return ordered - - -def reduce_cycle_set(packages): - """ - Reduce the set of packages to the ones part of the circular dependency. - - :param dict packages: A mapping from package name to the set of runtime - dependencies which is modified in place - """ - last_depended = None - while len(packages) > 0: - # get all remaining dependencies - depended = set() - for pkg_name, dependencies in packages.items(): - depended = depended.union(dependencies) - # remove all packages which are not dependent on - for name in list(packages.keys()): - if name not in depended: - del packages[name] - if last_depended: - # if remaining packages haven't changed return them - if last_depended == depended: - return packages.keys() - # otherwise reduce again - last_depended = depended - - -def _include_comments(): - # skipping comment lines when COLCON_TRACE is not set speeds up the - # processing especially on Windows - return bool(os.environ.get('COLCON_TRACE')) - - -def get_commands(pkg_name, prefix, primary_extension, additional_extension): - commands = [] - package_dsv_path = os.path.join(prefix, 'share', pkg_name, 'package.dsv') - if os.path.exists(package_dsv_path): - commands += process_dsv_file( - package_dsv_path, prefix, primary_extension, additional_extension) - return commands - - -def process_dsv_file( - dsv_path, prefix, primary_extension=None, additional_extension=None -): - commands = [] - if _include_comments(): - commands.append(FORMAT_STR_COMMENT_LINE.format_map({'comment': dsv_path})) - with open(dsv_path, 'r') as h: - content = h.read() - lines = content.splitlines() - - basenames = OrderedDict() - for i, line in enumerate(lines): - # skip over empty or whitespace-only lines - if not line.strip(): - continue - # skip over comments - if line.startswith('#'): - continue - try: - type_, remainder = line.split(';', 1) - except ValueError: - raise RuntimeError( - "Line %d in '%s' doesn't contain a semicolon separating the " - 'type from the arguments' % (i + 1, dsv_path)) - if type_ != DSV_TYPE_SOURCE: - # handle non-source lines - try: - commands += handle_dsv_types_except_source( - type_, remainder, prefix) - except RuntimeError as e: - raise RuntimeError( - "Line %d in '%s' %s" % (i + 1, dsv_path, e)) from e - else: - # group remaining source lines by basename - path_without_ext, ext = os.path.splitext(remainder) - if path_without_ext not in basenames: - basenames[path_without_ext] = set() - assert ext.startswith('.') - ext = ext[1:] - if ext in (primary_extension, additional_extension): - basenames[path_without_ext].add(ext) - - # add the dsv extension to each basename if the file exists - for basename, extensions in basenames.items(): - if not os.path.isabs(basename): - basename = os.path.join(prefix, basename) - if os.path.exists(basename + '.dsv'): - extensions.add('dsv') - - for basename, extensions in basenames.items(): - if not os.path.isabs(basename): - basename = os.path.join(prefix, basename) - if 'dsv' in extensions: - # process dsv files recursively - commands += process_dsv_file( - basename + '.dsv', prefix, primary_extension=primary_extension, - additional_extension=additional_extension) - elif primary_extension in extensions and len(extensions) == 1: - # source primary-only files - commands += [ - FORMAT_STR_INVOKE_SCRIPT.format_map({ - 'prefix': prefix, - 'script_path': basename + '.' + primary_extension})] - elif additional_extension in extensions: - # source non-primary files - commands += [ - FORMAT_STR_INVOKE_SCRIPT.format_map({ - 'prefix': prefix, - 'script_path': basename + '.' + additional_extension})] - - return commands - - -def handle_dsv_types_except_source(type_, remainder, prefix): - commands = [] - if type_ in (DSV_TYPE_SET, DSV_TYPE_SET_IF_UNSET): - try: - env_name, value = remainder.split(';', 1) - except ValueError: - raise RuntimeError( - "doesn't contain a semicolon separating the environment name " - 'from the value') - try_prefixed_value = os.path.join(prefix, value) if value else prefix - if os.path.exists(try_prefixed_value): - value = try_prefixed_value - if type_ == DSV_TYPE_SET: - commands += _set(env_name, value) - elif type_ == DSV_TYPE_SET_IF_UNSET: - commands += _set_if_unset(env_name, value) - else: - assert False - elif type_ in ( - DSV_TYPE_APPEND_NON_DUPLICATE, - DSV_TYPE_PREPEND_NON_DUPLICATE, - DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS - ): - try: - env_name_and_values = remainder.split(';') - except ValueError: - raise RuntimeError( - "doesn't contain a semicolon separating the environment name " - 'from the values') - env_name = env_name_and_values[0] - values = env_name_and_values[1:] - for value in values: - if not value: - value = prefix - elif not os.path.isabs(value): - value = os.path.join(prefix, value) - if ( - type_ == DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS and - not os.path.exists(value) - ): - comment = f'skip extending {env_name} with not existing ' \ - f'path: {value}' - if _include_comments(): - commands.append( - FORMAT_STR_COMMENT_LINE.format_map({'comment': comment})) - elif type_ == DSV_TYPE_APPEND_NON_DUPLICATE: - commands += _append_unique_value(env_name, value) - else: - commands += _prepend_unique_value(env_name, value) - else: - raise RuntimeError( - 'contains an unknown environment hook type: ' + type_) - return commands - - -env_state = {} - - -def _append_unique_value(name, value): - global env_state - if name not in env_state: - if os.environ.get(name): - env_state[name] = set(os.environ[name].split(os.pathsep)) - else: - env_state[name] = set() - # append even if the variable has not been set yet, in case a shell script sets the - # same variable without the knowledge of this Python script. - # later _remove_ending_separators() will cleanup any unintentional leading separator - extend = FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + os.pathsep - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': extend + value}) - if value not in env_state[name]: - env_state[name].add(value) - else: - if not _include_comments(): - return [] - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -def _prepend_unique_value(name, value): - global env_state - if name not in env_state: - if os.environ.get(name): - env_state[name] = set(os.environ[name].split(os.pathsep)) - else: - env_state[name] = set() - # prepend even if the variable has not been set yet, in case a shell script sets the - # same variable without the knowledge of this Python script. - # later _remove_ending_separators() will cleanup any unintentional trailing separator - extend = os.pathsep + FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value + extend}) - if value not in env_state[name]: - env_state[name].add(value) - else: - if not _include_comments(): - return [] - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -# generate commands for removing prepended underscores -def _remove_ending_separators(): - # do nothing if the shell extension does not implement the logic - if FORMAT_STR_REMOVE_TRAILING_SEPARATOR is None: - return [] - - global env_state - commands = [] - for name in env_state: - # skip variables that already had values before this script started prepending - if name in os.environ: - continue - commands += [ - FORMAT_STR_REMOVE_LEADING_SEPARATOR.format_map({'name': name}), - FORMAT_STR_REMOVE_TRAILING_SEPARATOR.format_map({'name': name})] - return commands - - -def _set(name, value): - global env_state - env_state[name] = value - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value}) - return [line] - - -def _set_if_unset(name, value): - global env_state - line = FORMAT_STR_SET_ENV_VAR.format_map( - {'name': name, 'value': value}) - if env_state.get(name, os.environ.get(name)): - line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) - return [line] - - -if __name__ == '__main__': # pragma: no cover - try: - rc = main() - except RuntimeError as e: - print(str(e), file=sys.stderr) - rc = 1 - sys.exit(rc) diff --git a/install/local_setup.bash b/install/local_setup.bash deleted file mode 100644 index 03f0025..0000000 --- a/install/local_setup.bash +++ /dev/null @@ -1,121 +0,0 @@ -# generated from colcon_bash/shell/template/prefix.bash.em - -# This script extends the environment with all packages contained in this -# prefix path. - -# a bash script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - _colcon_prefix_bash_COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" -else - _colcon_prefix_bash_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -_colcon_prefix_bash_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - - # get values from variable - eval _values=\"\$$_listname\" - # backup the field separator - _colcon_prefix_bash_prepend_unique_value_IFS="$IFS" - IFS=":" - # start with the new value - _all_values="$_value" - _contained_value="" - # iterate over existing values in the variable - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - # ignore duplicates of _value - if [ "$_item" = "$_value" ]; then - _contained_value=1 - continue - fi - # keep non-duplicate values - _all_values="$_all_values:$_item" - done - unset _item - if [ -z "$_contained_value" ]; then - if [ -n "$COLCON_TRACE" ]; then - if [ "$_all_values" = "$_value" ]; then - echo "export $_listname=$_value" - else - echo "export $_listname=$_value:\$$_listname" - fi - fi - fi - unset _contained_value - # restore the field separator - IFS="$_colcon_prefix_bash_prepend_unique_value_IFS" - unset _colcon_prefix_bash_prepend_unique_value_IFS - # export the updated variable - eval export $_listname=\"$_all_values\" - unset _all_values - unset _values - - unset _value - unset _listname -} - -# add this prefix to the COLCON_PREFIX_PATH -_colcon_prefix_bash_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_bash_COLCON_CURRENT_PREFIX" -unset _colcon_prefix_bash_prepend_unique_value - -# check environment variable for custom Python executable -if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then - if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then - echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" - return 1 - fi - _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" -else - # try the Python executable known at configure time - _colcon_python_executable="/usr/bin/python3" - # if it doesn't exist try a fall back - if [ ! -f "$_colcon_python_executable" ]; then - if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then - echo "error: unable to find python3 executable" - return 1 - fi - _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` - fi -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# get all commands in topological order -_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_bash_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh bash)" -unset _colcon_python_executable -if [ -n "$COLCON_TRACE" ]; then - echo "$(declare -f _colcon_prefix_sh_source_script)" - echo "# Execute generated script:" - echo "# <<<" - echo "${_colcon_ordered_commands}" - echo "# >>>" - echo "unset _colcon_prefix_sh_source_script" -fi -eval "${_colcon_ordered_commands}" -unset _colcon_ordered_commands - -unset _colcon_prefix_sh_source_script - -unset _colcon_prefix_bash_COLCON_CURRENT_PREFIX diff --git a/install/local_setup.ps1 b/install/local_setup.ps1 deleted file mode 100644 index 6f68c8d..0000000 --- a/install/local_setup.ps1 +++ /dev/null @@ -1,55 +0,0 @@ -# generated from colcon_powershell/shell/template/prefix.ps1.em - -# This script extends the environment with all packages contained in this -# prefix path. - -# check environment variable for custom Python executable -if ($env:COLCON_PYTHON_EXECUTABLE) { - if (!(Test-Path "$env:COLCON_PYTHON_EXECUTABLE" -PathType Leaf)) { - echo "error: COLCON_PYTHON_EXECUTABLE '$env:COLCON_PYTHON_EXECUTABLE' doesn't exist" - exit 1 - } - $_colcon_python_executable="$env:COLCON_PYTHON_EXECUTABLE" -} else { - # use the Python executable known at configure time - $_colcon_python_executable="/usr/bin/python3" - # if it doesn't exist try a fall back - if (!(Test-Path "$_colcon_python_executable" -PathType Leaf)) { - if (!(Get-Command "python3" -ErrorAction SilentlyContinue)) { - echo "error: unable to find python3 executable" - exit 1 - } - $_colcon_python_executable="python3" - } -} - -# function to source another script with conditional trace output -# first argument: the path of the script -function _colcon_prefix_powershell_source_script { - param ( - $_colcon_prefix_powershell_source_script_param - ) - # source script with conditional trace output - if (Test-Path $_colcon_prefix_powershell_source_script_param) { - if ($env:COLCON_TRACE) { - echo ". '$_colcon_prefix_powershell_source_script_param'" - } - . "$_colcon_prefix_powershell_source_script_param" - } else { - Write-Error "not found: '$_colcon_prefix_powershell_source_script_param'" - } -} - -# get all commands in topological order -$_colcon_ordered_commands = & "$_colcon_python_executable" "$(Split-Path $PSCommandPath -Parent)/_local_setup_util_ps1.py" ps1 - -# execute all commands in topological order -if ($env:COLCON_TRACE) { - echo "Execute generated script:" - echo "<<<" - $_colcon_ordered_commands.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Write-Output - echo ">>>" -} -if ($_colcon_ordered_commands) { - $_colcon_ordered_commands.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Invoke-Expression -} diff --git a/install/local_setup.sh b/install/local_setup.sh deleted file mode 100644 index aa80c71..0000000 --- a/install/local_setup.sh +++ /dev/null @@ -1,137 +0,0 @@ -# generated from colcon_core/shell/template/prefix.sh.em - -# This script extends the environment with all packages contained in this -# prefix path. - -# since a plain shell script can't determine its own path when being sourced -# either use the provided COLCON_CURRENT_PREFIX -# or fall back to the build time prefix (if it exists) -_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/home/banjov2/ros2_ws/install" -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - if [ ! -d "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" ]; then - echo "The build time path \"$_colcon_prefix_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 - unset _colcon_prefix_sh_COLCON_CURRENT_PREFIX - return 1 - fi -else - _colcon_prefix_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -_colcon_prefix_sh_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - - # get values from variable - eval _values=\"\$$_listname\" - # backup the field separator - _colcon_prefix_sh_prepend_unique_value_IFS="$IFS" - IFS=":" - # start with the new value - _all_values="$_value" - _contained_value="" - # iterate over existing values in the variable - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - # ignore duplicates of _value - if [ "$_item" = "$_value" ]; then - _contained_value=1 - continue - fi - # keep non-duplicate values - _all_values="$_all_values:$_item" - done - unset _item - if [ -z "$_contained_value" ]; then - if [ -n "$COLCON_TRACE" ]; then - if [ "$_all_values" = "$_value" ]; then - echo "export $_listname=$_value" - else - echo "export $_listname=$_value:\$$_listname" - fi - fi - fi - unset _contained_value - # restore the field separator - IFS="$_colcon_prefix_sh_prepend_unique_value_IFS" - unset _colcon_prefix_sh_prepend_unique_value_IFS - # export the updated variable - eval export $_listname=\"$_all_values\" - unset _all_values - unset _values - - unset _value - unset _listname -} - -# add this prefix to the COLCON_PREFIX_PATH -_colcon_prefix_sh_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" -unset _colcon_prefix_sh_prepend_unique_value - -# check environment variable for custom Python executable -if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then - if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then - echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" - return 1 - fi - _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" -else - # try the Python executable known at configure time - _colcon_python_executable="/usr/bin/python3" - # if it doesn't exist try a fall back - if [ ! -f "$_colcon_python_executable" ]; then - if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then - echo "error: unable to find python3 executable" - return 1 - fi - _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` - fi -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# get all commands in topological order -_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh)" -unset _colcon_python_executable -if [ -n "$COLCON_TRACE" ]; then - echo "_colcon_prefix_sh_source_script() { - if [ -f \"\$1\" ]; then - if [ -n \"\$COLCON_TRACE\" ]; then - echo \"# . \\\"\$1\\\"\" - fi - . \"\$1\" - else - echo \"not found: \\\"\$1\\\"\" 1>&2 - fi - }" - echo "# Execute generated script:" - echo "# <<<" - echo "${_colcon_ordered_commands}" - echo "# >>>" - echo "unset _colcon_prefix_sh_source_script" -fi -eval "${_colcon_ordered_commands}" -unset _colcon_ordered_commands - -unset _colcon_prefix_sh_source_script - -unset _colcon_prefix_sh_COLCON_CURRENT_PREFIX diff --git a/install/local_setup.zsh b/install/local_setup.zsh deleted file mode 100644 index b648710..0000000 --- a/install/local_setup.zsh +++ /dev/null @@ -1,134 +0,0 @@ -# generated from colcon_zsh/shell/template/prefix.zsh.em - -# This script extends the environment with all packages contained in this -# prefix path. - -# a zsh script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - _colcon_prefix_zsh_COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" -else - _colcon_prefix_zsh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to convert array-like strings into arrays -# to workaround SH_WORD_SPLIT not being set -_colcon_prefix_zsh_convert_to_array() { - local _listname=$1 - local _dollar="$" - local _split="{=" - local _to_array="(\"$_dollar$_split$_listname}\")" - eval $_listname=$_to_array -} - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -_colcon_prefix_zsh_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - - # get values from variable - eval _values=\"\$$_listname\" - # backup the field separator - _colcon_prefix_zsh_prepend_unique_value_IFS="$IFS" - IFS=":" - # start with the new value - _all_values="$_value" - _contained_value="" - # workaround SH_WORD_SPLIT not being set - _colcon_prefix_zsh_convert_to_array _values - # iterate over existing values in the variable - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - # ignore duplicates of _value - if [ "$_item" = "$_value" ]; then - _contained_value=1 - continue - fi - # keep non-duplicate values - _all_values="$_all_values:$_item" - done - unset _item - if [ -z "$_contained_value" ]; then - if [ -n "$COLCON_TRACE" ]; then - if [ "$_all_values" = "$_value" ]; then - echo "export $_listname=$_value" - else - echo "export $_listname=$_value:\$$_listname" - fi - fi - fi - unset _contained_value - # restore the field separator - IFS="$_colcon_prefix_zsh_prepend_unique_value_IFS" - unset _colcon_prefix_zsh_prepend_unique_value_IFS - # export the updated variable - eval export $_listname=\"$_all_values\" - unset _all_values - unset _values - - unset _value - unset _listname -} - -# add this prefix to the COLCON_PREFIX_PATH -_colcon_prefix_zsh_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_zsh_COLCON_CURRENT_PREFIX" -unset _colcon_prefix_zsh_prepend_unique_value -unset _colcon_prefix_zsh_convert_to_array - -# check environment variable for custom Python executable -if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then - if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then - echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" - return 1 - fi - _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" -else - # try the Python executable known at configure time - _colcon_python_executable="/usr/bin/python3" - # if it doesn't exist try a fall back - if [ ! -f "$_colcon_python_executable" ]; then - if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then - echo "error: unable to find python3 executable" - return 1 - fi - _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` - fi -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# get all commands in topological order -_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_zsh_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh zsh)" -unset _colcon_python_executable -if [ -n "$COLCON_TRACE" ]; then - echo "$(declare -f _colcon_prefix_sh_source_script)" - echo "# Execute generated script:" - echo "# <<<" - echo "${_colcon_ordered_commands}" - echo "# >>>" - echo "unset _colcon_prefix_sh_source_script" -fi -eval "${_colcon_ordered_commands}" -unset _colcon_ordered_commands - -unset _colcon_prefix_sh_source_script - -unset _colcon_prefix_zsh_COLCON_CURRENT_PREFIX diff --git a/install/setup.bash b/install/setup.bash deleted file mode 100644 index bb38dd2..0000000 --- a/install/setup.bash +++ /dev/null @@ -1,31 +0,0 @@ -# generated from colcon_bash/shell/template/prefix_chain.bash.em - -# This script extends the environment with the environment of other prefix -# paths which were sourced when this file was generated as well as all packages -# contained in this prefix path. - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_chain_bash_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/jazzy" -_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" - -# source this prefix -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" -_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" - -unset COLCON_CURRENT_PREFIX -unset _colcon_prefix_chain_bash_source_script diff --git a/install/setup.ps1 b/install/setup.ps1 deleted file mode 100644 index 0b38e3e..0000000 --- a/install/setup.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -# generated from colcon_powershell/shell/template/prefix_chain.ps1.em - -# This script extends the environment with the environment of other prefix -# paths which were sourced when this file was generated as well as all packages -# contained in this prefix path. - -# function to source another script with conditional trace output -# first argument: the path of the script -function _colcon_prefix_chain_powershell_source_script { - param ( - $_colcon_prefix_chain_powershell_source_script_param - ) - # source script with conditional trace output - if (Test-Path $_colcon_prefix_chain_powershell_source_script_param) { - if ($env:COLCON_TRACE) { - echo ". '$_colcon_prefix_chain_powershell_source_script_param'" - } - . "$_colcon_prefix_chain_powershell_source_script_param" - } else { - Write-Error "not found: '$_colcon_prefix_chain_powershell_source_script_param'" - } -} - -# source chained prefixes -_colcon_prefix_chain_powershell_source_script "/opt/ros/jazzy\local_setup.ps1" - -# source this prefix -$env:COLCON_CURRENT_PREFIX=(Split-Path $PSCommandPath -Parent) -_colcon_prefix_chain_powershell_source_script "$env:COLCON_CURRENT_PREFIX\local_setup.ps1" diff --git a/install/setup.sh b/install/setup.sh deleted file mode 100644 index e6ed1c4..0000000 --- a/install/setup.sh +++ /dev/null @@ -1,45 +0,0 @@ -# generated from colcon_core/shell/template/prefix_chain.sh.em - -# This script extends the environment with the environment of other prefix -# paths which were sourced when this file was generated as well as all packages -# contained in this prefix path. - -# since a plain shell script can't determine its own path when being sourced -# either use the provided COLCON_CURRENT_PREFIX -# or fall back to the build time prefix (if it exists) -_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/home/banjov2/ros2_ws/install -if [ ! -z "$COLCON_CURRENT_PREFIX" ]; then - _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -elif [ ! -d "$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" ]; then - echo "The build time path \"$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 - unset _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX - return 1 -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_chain_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/jazzy" -_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" - - -# source this prefix -# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script -COLCON_CURRENT_PREFIX="$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" -_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" - -unset _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX -unset _colcon_prefix_chain_sh_source_script -unset COLCON_CURRENT_PREFIX diff --git a/install/setup.zsh b/install/setup.zsh deleted file mode 100644 index 6e4a496..0000000 --- a/install/setup.zsh +++ /dev/null @@ -1,31 +0,0 @@ -# generated from colcon_zsh/shell/template/prefix_chain.zsh.em - -# This script extends the environment with the environment of other prefix -# paths which were sourced when this file was generated as well as all packages -# contained in this prefix path. - -# function to source another script with conditional trace output -# first argument: the path of the script -_colcon_prefix_chain_zsh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$1" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/jazzy" -_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" - -# source this prefix -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" -_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" - -unset COLCON_CURRENT_PREFIX -unset _colcon_prefix_chain_zsh_source_script diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.h deleted file mode 100644 index 1864e6f..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.h +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_c/resource/idl.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ANGLE_H_ -#define TACTIGON_MSGS__MSG__ANGLE_H_ - -#include "tactigon_msgs/msg/detail/angle__struct.h" -#include "tactigon_msgs/msg/detail/angle__functions.h" -#include "tactigon_msgs/msg/detail/angle__type_support.h" - -#endif // TACTIGON_MSGS__MSG__ANGLE_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.hpp deleted file mode 100644 index 189a84c..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/angle.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl.hpp.em -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ANGLE_HPP_ -#define TACTIGON_MSGS__MSG__ANGLE_HPP_ - -#include "tactigon_msgs/msg/detail/angle__struct.hpp" -#include "tactigon_msgs/msg/detail/angle__builder.hpp" -#include "tactigon_msgs/msg/detail/angle__traits.hpp" -#include "tactigon_msgs/msg/detail/angle__type_support.hpp" - -#endif // TACTIGON_MSGS__MSG__ANGLE_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__builder.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__builder.hpp deleted file mode 100644 index 41699d1..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__builder.hpp +++ /dev/null @@ -1,91 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__BUILDER_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__BUILDER_HPP_ - -#include -#include - -#include "tactigon_msgs/msg/detail/angle__struct.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace builder -{ - -class Init_Angle_yaw -{ -public: - explicit Init_Angle_yaw(::tactigon_msgs::msg::Angle & msg) - : msg_(msg) - {} - ::tactigon_msgs::msg::Angle yaw(::tactigon_msgs::msg::Angle::_yaw_type arg) - { - msg_.yaw = std::move(arg); - return std::move(msg_); - } - -private: - ::tactigon_msgs::msg::Angle msg_; -}; - -class Init_Angle_pitch -{ -public: - explicit Init_Angle_pitch(::tactigon_msgs::msg::Angle & msg) - : msg_(msg) - {} - Init_Angle_yaw pitch(::tactigon_msgs::msg::Angle::_pitch_type arg) - { - msg_.pitch = std::move(arg); - return Init_Angle_yaw(msg_); - } - -private: - ::tactigon_msgs::msg::Angle msg_; -}; - -class Init_Angle_roll -{ -public: - Init_Angle_roll() - : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP) - {} - Init_Angle_pitch roll(::tactigon_msgs::msg::Angle::_roll_type arg) - { - msg_.roll = std::move(arg); - return Init_Angle_pitch(msg_); - } - -private: - ::tactigon_msgs::msg::Angle msg_; -}; - -} // namespace builder - -} // namespace msg - -template -auto build(); - -template<> -inline -auto build<::tactigon_msgs::msg::Angle>() -{ - return tactigon_msgs::msg::builder::Init_Angle_roll(); -} - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__BUILDER_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__description.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__description.c deleted file mode 100644 index e8621c0..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__description.c +++ /dev/null @@ -1,125 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__description.c.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#include "tactigon_msgs/msg/detail/angle__functions.h" - -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Angle__get_type_hash( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_type_hash_t hash = {1, { - 0x41, 0x02, 0x94, 0xa0, 0x3d, 0xf0, 0xed, 0xff, - 0xa7, 0xb5, 0xfd, 0x4e, 0xaa, 0xe2, 0x6d, 0xe7, - 0x36, 0x08, 0x0c, 0xf4, 0x61, 0xd6, 0x77, 0x9b, - 0x5e, 0x67, 0x07, 0x8c, 0x37, 0x96, 0x6a, 0x1b, - }}; - return &hash; -} - -#include -#include - -// Include directives for referenced types - -// Hashes for external referenced types -#ifndef NDEBUG -#endif - -static char tactigon_msgs__msg__Angle__TYPE_NAME[] = "tactigon_msgs/msg/Angle"; - -// Define type names, field names, and default values -static char tactigon_msgs__msg__Angle__FIELD_NAME__roll[] = "roll"; -static char tactigon_msgs__msg__Angle__FIELD_NAME__pitch[] = "pitch"; -static char tactigon_msgs__msg__Angle__FIELD_NAME__yaw[] = "yaw"; - -static rosidl_runtime_c__type_description__Field tactigon_msgs__msg__Angle__FIELDS[] = { - { - {tactigon_msgs__msg__Angle__FIELD_NAME__roll, 4, 4}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Angle__FIELD_NAME__pitch, 5, 5}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Angle__FIELD_NAME__yaw, 3, 3}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, -}; - -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Angle__get_type_description( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static bool constructed = false; - static const rosidl_runtime_c__type_description__TypeDescription description = { - { - {tactigon_msgs__msg__Angle__TYPE_NAME, 23, 23}, - {tactigon_msgs__msg__Angle__FIELDS, 3, 3}, - }, - {NULL, 0, 0}, - }; - if (!constructed) { - constructed = true; - } - return &description; -} - -static char toplevel_type_raw_source[] = - "float32 roll\n" - "float32 pitch\n" - "float32 yaw"; - -static char msg_encoding[] = "msg"; - -// Define all individual source functions - -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Angle__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static const rosidl_runtime_c__type_description__TypeSource source = { - {tactigon_msgs__msg__Angle__TYPE_NAME, 23, 23}, - {msg_encoding, 3, 3}, - {toplevel_type_raw_source, 38, 38}, - }; - return &source; -} - -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Angle__get_type_description_sources( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_runtime_c__type_description__TypeSource sources[1]; - static const rosidl_runtime_c__type_description__TypeSource__Sequence source_sequence = {sources, 1, 1}; - static bool constructed = false; - if (!constructed) { - sources[0] = *tactigon_msgs__msg__Angle__get_individual_type_description_source(NULL), - constructed = true; - } - return &source_sequence; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.c deleted file mode 100644 index f758d26..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.c +++ /dev/null @@ -1,252 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.c.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice -#include "tactigon_msgs/msg/detail/angle__functions.h" - -#include -#include -#include -#include - -#include "rcutils/allocator.h" - - -bool -tactigon_msgs__msg__Angle__init(tactigon_msgs__msg__Angle * msg) -{ - if (!msg) { - return false; - } - // roll - // pitch - // yaw - return true; -} - -void -tactigon_msgs__msg__Angle__fini(tactigon_msgs__msg__Angle * msg) -{ - if (!msg) { - return; - } - // roll - // pitch - // yaw -} - -bool -tactigon_msgs__msg__Angle__are_equal(const tactigon_msgs__msg__Angle * lhs, const tactigon_msgs__msg__Angle * rhs) -{ - if (!lhs || !rhs) { - return false; - } - // roll - if (lhs->roll != rhs->roll) { - return false; - } - // pitch - if (lhs->pitch != rhs->pitch) { - return false; - } - // yaw - if (lhs->yaw != rhs->yaw) { - return false; - } - return true; -} - -bool -tactigon_msgs__msg__Angle__copy( - const tactigon_msgs__msg__Angle * input, - tactigon_msgs__msg__Angle * output) -{ - if (!input || !output) { - return false; - } - // roll - output->roll = input->roll; - // pitch - output->pitch = input->pitch; - // yaw - output->yaw = input->yaw; - return true; -} - -tactigon_msgs__msg__Angle * -tactigon_msgs__msg__Angle__create(void) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Angle * msg = (tactigon_msgs__msg__Angle *)allocator.allocate(sizeof(tactigon_msgs__msg__Angle), allocator.state); - if (!msg) { - return NULL; - } - memset(msg, 0, sizeof(tactigon_msgs__msg__Angle)); - bool success = tactigon_msgs__msg__Angle__init(msg); - if (!success) { - allocator.deallocate(msg, allocator.state); - return NULL; - } - return msg; -} - -void -tactigon_msgs__msg__Angle__destroy(tactigon_msgs__msg__Angle * msg) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (msg) { - tactigon_msgs__msg__Angle__fini(msg); - } - allocator.deallocate(msg, allocator.state); -} - - -bool -tactigon_msgs__msg__Angle__Sequence__init(tactigon_msgs__msg__Angle__Sequence * array, size_t size) -{ - if (!array) { - return false; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Angle * data = NULL; - - if (size) { - data = (tactigon_msgs__msg__Angle *)allocator.zero_allocate(size, sizeof(tactigon_msgs__msg__Angle), allocator.state); - if (!data) { - return false; - } - // initialize all array elements - size_t i; - for (i = 0; i < size; ++i) { - bool success = tactigon_msgs__msg__Angle__init(&data[i]); - if (!success) { - break; - } - } - if (i < size) { - // if initialization failed finalize the already initialized array elements - for (; i > 0; --i) { - tactigon_msgs__msg__Angle__fini(&data[i - 1]); - } - allocator.deallocate(data, allocator.state); - return false; - } - } - array->data = data; - array->size = size; - array->capacity = size; - return true; -} - -void -tactigon_msgs__msg__Angle__Sequence__fini(tactigon_msgs__msg__Angle__Sequence * array) -{ - if (!array) { - return; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - - if (array->data) { - // ensure that data and capacity values are consistent - assert(array->capacity > 0); - // finalize all array elements - for (size_t i = 0; i < array->capacity; ++i) { - tactigon_msgs__msg__Angle__fini(&array->data[i]); - } - allocator.deallocate(array->data, allocator.state); - array->data = NULL; - array->size = 0; - array->capacity = 0; - } else { - // ensure that data, size, and capacity values are consistent - assert(0 == array->size); - assert(0 == array->capacity); - } -} - -tactigon_msgs__msg__Angle__Sequence * -tactigon_msgs__msg__Angle__Sequence__create(size_t size) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Angle__Sequence * array = (tactigon_msgs__msg__Angle__Sequence *)allocator.allocate(sizeof(tactigon_msgs__msg__Angle__Sequence), allocator.state); - if (!array) { - return NULL; - } - bool success = tactigon_msgs__msg__Angle__Sequence__init(array, size); - if (!success) { - allocator.deallocate(array, allocator.state); - return NULL; - } - return array; -} - -void -tactigon_msgs__msg__Angle__Sequence__destroy(tactigon_msgs__msg__Angle__Sequence * array) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (array) { - tactigon_msgs__msg__Angle__Sequence__fini(array); - } - allocator.deallocate(array, allocator.state); -} - -bool -tactigon_msgs__msg__Angle__Sequence__are_equal(const tactigon_msgs__msg__Angle__Sequence * lhs, const tactigon_msgs__msg__Angle__Sequence * rhs) -{ - if (!lhs || !rhs) { - return false; - } - if (lhs->size != rhs->size) { - return false; - } - for (size_t i = 0; i < lhs->size; ++i) { - if (!tactigon_msgs__msg__Angle__are_equal(&(lhs->data[i]), &(rhs->data[i]))) { - return false; - } - } - return true; -} - -bool -tactigon_msgs__msg__Angle__Sequence__copy( - const tactigon_msgs__msg__Angle__Sequence * input, - tactigon_msgs__msg__Angle__Sequence * output) -{ - if (!input || !output) { - return false; - } - if (output->capacity < input->size) { - const size_t allocation_size = - input->size * sizeof(tactigon_msgs__msg__Angle); - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Angle * data = - (tactigon_msgs__msg__Angle *)allocator.reallocate( - output->data, allocation_size, allocator.state); - if (!data) { - return false; - } - // If reallocation succeeded, memory may or may not have been moved - // to fulfill the allocation request, invalidating output->data. - output->data = data; - for (size_t i = output->capacity; i < input->size; ++i) { - if (!tactigon_msgs__msg__Angle__init(&output->data[i])) { - // If initialization of any new item fails, roll back - // all previously initialized items. Existing items - // in output are to be left unmodified. - for (; i-- > output->capacity; ) { - tactigon_msgs__msg__Angle__fini(&output->data[i]); - } - return false; - } - } - output->capacity = input->size; - } - output->size = input->size; - for (size_t i = 0; i < input->size; ++i) { - if (!tactigon_msgs__msg__Angle__copy( - &(input->data[i]), &(output->data[i]))) - { - return false; - } - } - return true; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.h deleted file mode 100644 index 12a119d..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__functions.h +++ /dev/null @@ -1,210 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__FUNCTIONS_H_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__FUNCTIONS_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include - -#include "rosidl_runtime_c/action_type_support_struct.h" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_runtime_c/service_type_support_struct.h" -#include "rosidl_runtime_c/type_description/type_description__struct.h" -#include "rosidl_runtime_c/type_description/type_source__struct.h" -#include "rosidl_runtime_c/type_hash.h" -#include "rosidl_runtime_c/visibility_control.h" -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#include "tactigon_msgs/msg/detail/angle__struct.h" - -/// Initialize msg/Angle message. -/** - * If the init function is called twice for the same message without - * calling fini inbetween previously allocated memory will be leaked. - * \param[in,out] msg The previously allocated message pointer. - * Fields without a default value will not be initialized by this function. - * You might want to call memset(msg, 0, sizeof( - * tactigon_msgs__msg__Angle - * )) before or use - * tactigon_msgs__msg__Angle__create() - * to allocate and initialize the message. - * \return true if initialization was successful, otherwise false - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__init(tactigon_msgs__msg__Angle * msg); - -/// Finalize msg/Angle message. -/** - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Angle__fini(tactigon_msgs__msg__Angle * msg); - -/// Create msg/Angle message. -/** - * It allocates the memory for the message, sets the memory to zero, and - * calls - * tactigon_msgs__msg__Angle__init(). - * \return The pointer to the initialized message if successful, - * otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Angle * -tactigon_msgs__msg__Angle__create(void); - -/// Destroy msg/Angle message. -/** - * It calls - * tactigon_msgs__msg__Angle__fini() - * and frees the memory of the message. - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Angle__destroy(tactigon_msgs__msg__Angle * msg); - -/// Check for msg/Angle message equality. -/** - * \param[in] lhs The message on the left hand size of the equality operator. - * \param[in] rhs The message on the right hand size of the equality operator. - * \return true if messages are equal, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__are_equal(const tactigon_msgs__msg__Angle * lhs, const tactigon_msgs__msg__Angle * rhs); - -/// Copy a msg/Angle message. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source message pointer. - * \param[out] output The target message pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer is null - * or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__copy( - const tactigon_msgs__msg__Angle * input, - tactigon_msgs__msg__Angle * output); - -/// Retrieve pointer to the hash of the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Angle__get_type_hash( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Angle__get_type_description( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the single raw source text that defined this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Angle__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the recursive raw sources that defined the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Angle__get_type_description_sources( - const rosidl_message_type_support_t * type_support); - -/// Initialize array of msg/Angle messages. -/** - * It allocates the memory for the number of elements and calls - * tactigon_msgs__msg__Angle__init() - * for each element of the array. - * \param[in,out] array The allocated array pointer. - * \param[in] size The size / capacity of the array. - * \return true if initialization was successful, otherwise false - * If the array pointer is valid and the size is zero it is guaranteed - # to return true. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__Sequence__init(tactigon_msgs__msg__Angle__Sequence * array, size_t size); - -/// Finalize array of msg/Angle messages. -/** - * It calls - * tactigon_msgs__msg__Angle__fini() - * for each element of the array and frees the memory for the number of - * elements. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Angle__Sequence__fini(tactigon_msgs__msg__Angle__Sequence * array); - -/// Create array of msg/Angle messages. -/** - * It allocates the memory for the array and calls - * tactigon_msgs__msg__Angle__Sequence__init(). - * \param[in] size The size / capacity of the array. - * \return The pointer to the initialized array if successful, otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Angle__Sequence * -tactigon_msgs__msg__Angle__Sequence__create(size_t size); - -/// Destroy array of msg/Angle messages. -/** - * It calls - * tactigon_msgs__msg__Angle__Sequence__fini() - * on the array, - * and frees the memory of the array. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Angle__Sequence__destroy(tactigon_msgs__msg__Angle__Sequence * array); - -/// Check for msg/Angle message array equality. -/** - * \param[in] lhs The message array on the left hand size of the equality operator. - * \param[in] rhs The message array on the right hand size of the equality operator. - * \return true if message arrays are equal in size and content, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__Sequence__are_equal(const tactigon_msgs__msg__Angle__Sequence * lhs, const tactigon_msgs__msg__Angle__Sequence * rhs); - -/// Copy an array of msg/Angle messages. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source array pointer. - * \param[out] output The target array pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer - * is null or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Angle__Sequence__copy( - const tactigon_msgs__msg__Angle__Sequence * input, - tactigon_msgs__msg__Angle__Sequence * output); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__FUNCTIONS_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_c.h deleted file mode 100644 index c113c81..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_c.h +++ /dev/null @@ -1,65 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ - - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h" -#include "tactigon_msgs/msg/detail/angle__struct.h" -#include "fastcdr/Cdr.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_tactigon_msgs__msg__Angle( - const tactigon_msgs__msg__Angle * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_deserialize_tactigon_msgs__msg__Angle( - eprosima::fastcdr::Cdr &, - tactigon_msgs__msg__Angle * ros_message); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_tactigon_msgs__msg__Angle( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_tactigon_msgs__msg__Angle( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_key_tactigon_msgs__msg__Angle( - const tactigon_msgs__msg__Angle * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_key_tactigon_msgs__msg__Angle( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_key_tactigon_msgs__msg__Angle( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, tactigon_msgs, msg, Angle)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_cpp.hpp deleted file mode 100644 index 54503dd..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_fastrtps_cpp.hpp +++ /dev/null @@ -1,100 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h" -#include "tactigon_msgs/msg/detail/angle__struct.hpp" - -#ifndef _WIN32 -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# ifdef __clang__ -# pragma clang diagnostic ignored "-Wdeprecated-register" -# pragma clang diagnostic ignored "-Wreturn-type-c-linkage" -# endif -#endif -#ifndef _WIN32 -# pragma GCC diagnostic pop -#endif - -#include "fastcdr/Cdr.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace typesupport_fastrtps_cpp -{ - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize( - const tactigon_msgs::msg::Angle & ros_message, - eprosima::fastcdr::Cdr & cdr); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_deserialize( - eprosima::fastcdr::Cdr & cdr, - tactigon_msgs::msg::Angle & ros_message); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size( - const tactigon_msgs::msg::Angle & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_Angle( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize_key( - const tactigon_msgs::msg::Angle & ros_message, - eprosima::fastcdr::Cdr &); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size_key( - const tactigon_msgs::msg::Angle & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_key_Angle( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -} // namespace typesupport_fastrtps_cpp - -} // namespace msg - -} // namespace tactigon_msgs - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, tactigon_msgs, msg, Angle)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_c.h deleted file mode 100644 index cc76605..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_c.h +++ /dev/null @@ -1,26 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Angle)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_cpp.hpp deleted file mode 100644 index ca216f2..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_cpp.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -// TODO(dirk-thomas) these visibility macros should be message package specific -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Angle)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.h deleted file mode 100644 index d72062b..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.h +++ /dev/null @@ -1,44 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__struct.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include -#include - -// Constants defined in the message - -/// Struct defined in msg/Angle in the package tactigon_msgs. -typedef struct tactigon_msgs__msg__Angle -{ - float roll; - float pitch; - float yaw; -} tactigon_msgs__msg__Angle; - -// Struct for a sequence of tactigon_msgs__msg__Angle. -typedef struct tactigon_msgs__msg__Angle__Sequence -{ - tactigon_msgs__msg__Angle * data; - /// The number of valid items in data - size_t size; - /// The number of allocated items in data - size_t capacity; -} tactigon_msgs__msg__Angle__Sequence; - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.hpp deleted file mode 100644 index ce26da8..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__struct.hpp +++ /dev/null @@ -1,162 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_HPP_ - -#include -#include -#include -#include -#include - -#include "rosidl_runtime_cpp/bounded_vector.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -#ifndef _WIN32 -# define DEPRECATED__tactigon_msgs__msg__Angle __attribute__((deprecated)) -#else -# define DEPRECATED__tactigon_msgs__msg__Angle __declspec(deprecated) -#endif - -namespace tactigon_msgs -{ - -namespace msg -{ - -// message struct -template -struct Angle_ -{ - using Type = Angle_; - - explicit Angle_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->roll = 0.0f; - this->pitch = 0.0f; - this->yaw = 0.0f; - } - } - - explicit Angle_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - { - (void)_alloc; - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->roll = 0.0f; - this->pitch = 0.0f; - this->yaw = 0.0f; - } - } - - // field types and members - using _roll_type = - float; - _roll_type roll; - using _pitch_type = - float; - _pitch_type pitch; - using _yaw_type = - float; - _yaw_type yaw; - - // setters for named parameter idiom - Type & set__roll( - const float & _arg) - { - this->roll = _arg; - return *this; - } - Type & set__pitch( - const float & _arg) - { - this->pitch = _arg; - return *this; - } - Type & set__yaw( - const float & _arg) - { - this->yaw = _arg; - return *this; - } - - // constant declarations - - // pointer types - using RawPtr = - tactigon_msgs::msg::Angle_ *; - using ConstRawPtr = - const tactigon_msgs::msg::Angle_ *; - using SharedPtr = - std::shared_ptr>; - using ConstSharedPtr = - std::shared_ptr const>; - - template>> - using UniquePtrWithDeleter = - std::unique_ptr, Deleter>; - - using UniquePtr = UniquePtrWithDeleter<>; - - template>> - using ConstUniquePtrWithDeleter = - std::unique_ptr const, Deleter>; - using ConstUniquePtr = ConstUniquePtrWithDeleter<>; - - using WeakPtr = - std::weak_ptr>; - using ConstWeakPtr = - std::weak_ptr const>; - - // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead - // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly - typedef DEPRECATED__tactigon_msgs__msg__Angle - std::shared_ptr> - Ptr; - typedef DEPRECATED__tactigon_msgs__msg__Angle - std::shared_ptr const> - ConstPtr; - - // comparison operators - bool operator==(const Angle_ & other) const - { - if (this->roll != other.roll) { - return false; - } - if (this->pitch != other.pitch) { - return false; - } - if (this->yaw != other.yaw) { - return false; - } - return true; - } - bool operator!=(const Angle_ & other) const - { - return !this->operator==(other); - } -}; // struct Angle_ - -// alias to use template instance with default allocator -using Angle = - tactigon_msgs::msg::Angle_>; - -// constant definitions - -} // namespace msg - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__STRUCT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__traits.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__traits.hpp deleted file mode 100644 index 5e9ec65..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__traits.hpp +++ /dev/null @@ -1,146 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__TRAITS_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__TRAITS_HPP_ - -#include - -#include -#include -#include - -#include "tactigon_msgs/msg/detail/angle__struct.hpp" -#include "rosidl_runtime_cpp/traits.hpp" - -namespace tactigon_msgs -{ - -namespace msg -{ - -inline void to_flow_style_yaml( - const Angle & msg, - std::ostream & out) -{ - out << "{"; - // member: roll - { - out << "roll: "; - rosidl_generator_traits::value_to_yaml(msg.roll, out); - out << ", "; - } - - // member: pitch - { - out << "pitch: "; - rosidl_generator_traits::value_to_yaml(msg.pitch, out); - out << ", "; - } - - // member: yaw - { - out << "yaw: "; - rosidl_generator_traits::value_to_yaml(msg.yaw, out); - } - out << "}"; -} // NOLINT(readability/fn_size) - -inline void to_block_style_yaml( - const Angle & msg, - std::ostream & out, size_t indentation = 0) -{ - // member: roll - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "roll: "; - rosidl_generator_traits::value_to_yaml(msg.roll, out); - out << "\n"; - } - - // member: pitch - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "pitch: "; - rosidl_generator_traits::value_to_yaml(msg.pitch, out); - out << "\n"; - } - - // member: yaw - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "yaw: "; - rosidl_generator_traits::value_to_yaml(msg.yaw, out); - out << "\n"; - } -} // NOLINT(readability/fn_size) - -inline std::string to_yaml(const Angle & msg, bool use_flow_style = false) -{ - std::ostringstream out; - if (use_flow_style) { - to_flow_style_yaml(msg, out); - } else { - to_block_style_yaml(msg, out); - } - return out.str(); -} - -} // namespace msg - -} // namespace tactigon_msgs - -namespace rosidl_generator_traits -{ - -[[deprecated("use tactigon_msgs::msg::to_block_style_yaml() instead")]] -inline void to_yaml( - const tactigon_msgs::msg::Angle & msg, - std::ostream & out, size_t indentation = 0) -{ - tactigon_msgs::msg::to_block_style_yaml(msg, out, indentation); -} - -[[deprecated("use tactigon_msgs::msg::to_yaml() instead")]] -inline std::string to_yaml(const tactigon_msgs::msg::Angle & msg) -{ - return tactigon_msgs::msg::to_yaml(msg); -} - -template<> -inline const char * data_type() -{ - return "tactigon_msgs::msg::Angle"; -} - -template<> -inline const char * name() -{ - return "tactigon_msgs/msg/Angle"; -} - -template<> -struct has_fixed_size - : std::integral_constant {}; - -template<> -struct has_bounded_size - : std::integral_constant {}; - -template<> -struct is_message - : std::true_type {}; - -} // namespace rosidl_generator_traits - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__TRAITS_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.c deleted file mode 100644 index b061b35..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.c +++ /dev/null @@ -1,124 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#include -#include "tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_c.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" -#include "rosidl_typesupport_introspection_c/field_types.h" -#include "rosidl_typesupport_introspection_c/identifier.h" -#include "rosidl_typesupport_introspection_c/message_introspection.h" -#include "tactigon_msgs/msg/detail/angle__functions.h" -#include "tactigon_msgs/msg/detail/angle__struct.h" - - -#ifdef __cplusplus -extern "C" -{ -#endif - -void tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_init_function( - void * message_memory, enum rosidl_runtime_c__message_initialization _init) -{ - // TODO(karsten1987): initializers are not yet implemented for typesupport c - // see https://github.com/ros2/ros2/issues/397 - (void) _init; - tactigon_msgs__msg__Angle__init(message_memory); -} - -void tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_fini_function(void * message_memory) -{ - tactigon_msgs__msg__Angle__fini(message_memory); -} - -static rosidl_typesupport_introspection_c__MessageMember tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_member_array[3] = { - { - "roll", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Angle, roll), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "pitch", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Angle, pitch), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "yaw", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Angle, yaw), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - } -}; - -static const rosidl_typesupport_introspection_c__MessageMembers tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_members = { - "tactigon_msgs__msg", // message namespace - "Angle", // message name - 3, // number of fields - sizeof(tactigon_msgs__msg__Angle), - false, // has_any_key_member_ - tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_member_array, // message members - tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_init_function, // function to initialize message memory (memory has to be allocated) - tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_fini_function // function to terminate message instance (will not free memory) -}; - -// this is not const since it must be initialized on first access -// since C does not allow non-integral compile-time constants -static rosidl_message_type_support_t tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_type_support_handle = { - 0, - &tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Angle__get_type_hash, - &tactigon_msgs__msg__Angle__get_type_description, - &tactigon_msgs__msg__Angle__get_type_description_sources, -}; - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Angle)() { - if (!tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_type_support_handle.typesupport_identifier) { - tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_type_support_handle.typesupport_identifier = - rosidl_typesupport_introspection_c__identifier; - } - return &tactigon_msgs__msg__Angle__rosidl_typesupport_introspection_c__Angle_message_type_support_handle; -} -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.cpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.cpp deleted file mode 100644 index 77598b9..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.cpp +++ /dev/null @@ -1,151 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#include "array" -#include "cstddef" -#include "string" -#include "vector" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_cpp/message_type_support.hpp" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/detail/angle__functions.h" -#include "tactigon_msgs/msg/detail/angle__struct.hpp" -#include "rosidl_typesupport_introspection_cpp/field_types.hpp" -#include "rosidl_typesupport_introspection_cpp/identifier.hpp" -#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp" -#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace rosidl_typesupport_introspection_cpp -{ - -void Angle_init_function( - void * message_memory, rosidl_runtime_cpp::MessageInitialization _init) -{ - new (message_memory) tactigon_msgs::msg::Angle(_init); -} - -void Angle_fini_function(void * message_memory) -{ - auto typed_message = static_cast(message_memory); - typed_message->~Angle(); -} - -static const ::rosidl_typesupport_introspection_cpp::MessageMember Angle_message_member_array[3] = { - { - "roll", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Angle, roll), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "pitch", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Angle, pitch), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "yaw", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Angle, yaw), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - } -}; - -static const ::rosidl_typesupport_introspection_cpp::MessageMembers Angle_message_members = { - "tactigon_msgs::msg", // message namespace - "Angle", // message name - 3, // number of fields - sizeof(tactigon_msgs::msg::Angle), - false, // has_any_key_member_ - Angle_message_member_array, // message members - Angle_init_function, // function to initialize message memory (memory has to be allocated) - Angle_fini_function // function to terminate message instance (will not free memory) -}; - -static const rosidl_message_type_support_t Angle_message_type_support_handle = { - ::rosidl_typesupport_introspection_cpp::typesupport_identifier, - &Angle_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Angle__get_type_hash, - &tactigon_msgs__msg__Angle__get_type_description, - &tactigon_msgs__msg__Angle__get_type_description_sources, -}; - -} // namespace rosidl_typesupport_introspection_cpp - -} // namespace msg - -} // namespace tactigon_msgs - - -namespace rosidl_typesupport_introspection_cpp -{ - -template<> -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -get_message_type_support_handle() -{ - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Angle_message_type_support_handle; -} - -} // namespace rosidl_typesupport_introspection_cpp - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Angle)() { - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Angle_message_type_support_handle; -} - -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.h deleted file mode 100644 index d9ba37d..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.h +++ /dev/null @@ -1,36 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__type_support.h.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/angle.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_H_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include "rosidl_runtime_c/message_type_support_struct.h" - -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_c, - tactigon_msgs, - msg, - Angle -)(void); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.hpp deleted file mode 100644 index 004416a..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/angle__type_support.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em -// with input from tactigon_msgs:msg/Angle.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_HPP_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp" - -#include "rosidl_typesupport_cpp/message_type_support.hpp" - -#ifdef __cplusplus -extern "C" -{ -#endif -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_cpp, - tactigon_msgs, - msg, - Angle -)(); -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__ANGLE__TYPE_SUPPORT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__builder.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__builder.hpp deleted file mode 100644 index b8c0363..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__builder.hpp +++ /dev/null @@ -1,107 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__BUILDER_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__BUILDER_HPP_ - -#include -#include - -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace builder -{ - -class Init_Gesture_displacement -{ -public: - explicit Init_Gesture_displacement(::tactigon_msgs::msg::Gesture & msg) - : msg_(msg) - {} - ::tactigon_msgs::msg::Gesture displacement(::tactigon_msgs::msg::Gesture::_displacement_type arg) - { - msg_.displacement = std::move(arg); - return std::move(msg_); - } - -private: - ::tactigon_msgs::msg::Gesture msg_; -}; - -class Init_Gesture_confidence -{ -public: - explicit Init_Gesture_confidence(::tactigon_msgs::msg::Gesture & msg) - : msg_(msg) - {} - Init_Gesture_displacement confidence(::tactigon_msgs::msg::Gesture::_confidence_type arg) - { - msg_.confidence = std::move(arg); - return Init_Gesture_displacement(msg_); - } - -private: - ::tactigon_msgs::msg::Gesture msg_; -}; - -class Init_Gesture_probability -{ -public: - explicit Init_Gesture_probability(::tactigon_msgs::msg::Gesture & msg) - : msg_(msg) - {} - Init_Gesture_confidence probability(::tactigon_msgs::msg::Gesture::_probability_type arg) - { - msg_.probability = std::move(arg); - return Init_Gesture_confidence(msg_); - } - -private: - ::tactigon_msgs::msg::Gesture msg_; -}; - -class Init_Gesture_gesture -{ -public: - Init_Gesture_gesture() - : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP) - {} - Init_Gesture_probability gesture(::tactigon_msgs::msg::Gesture::_gesture_type arg) - { - msg_.gesture = std::move(arg); - return Init_Gesture_probability(msg_); - } - -private: - ::tactigon_msgs::msg::Gesture msg_; -}; - -} // namespace builder - -} // namespace msg - -template -auto build(); - -template<> -inline -auto build<::tactigon_msgs::msg::Gesture>() -{ - return tactigon_msgs::msg::builder::Init_Gesture_gesture(); -} - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__BUILDER_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__description.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__description.c deleted file mode 100644 index 9cc25f4..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__description.c +++ /dev/null @@ -1,137 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__description.c.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#include "tactigon_msgs/msg/detail/gesture__functions.h" - -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Gesture__get_type_hash( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_type_hash_t hash = {1, { - 0x27, 0xbb, 0xed, 0x86, 0x65, 0xee, 0x5a, 0x9f, - 0xf6, 0xc2, 0x2c, 0xb5, 0x99, 0x67, 0x06, 0xbc, - 0x14, 0x89, 0xc5, 0x66, 0xc8, 0x4b, 0xa3, 0x28, - 0x6b, 0xca, 0xe4, 0x6a, 0xd2, 0x39, 0x9d, 0x0c, - }}; - return &hash; -} - -#include -#include - -// Include directives for referenced types - -// Hashes for external referenced types -#ifndef NDEBUG -#endif - -static char tactigon_msgs__msg__Gesture__TYPE_NAME[] = "tactigon_msgs/msg/Gesture"; - -// Define type names, field names, and default values -static char tactigon_msgs__msg__Gesture__FIELD_NAME__gesture[] = "gesture"; -static char tactigon_msgs__msg__Gesture__FIELD_NAME__probability[] = "probability"; -static char tactigon_msgs__msg__Gesture__FIELD_NAME__confidence[] = "confidence"; -static char tactigon_msgs__msg__Gesture__FIELD_NAME__displacement[] = "displacement"; - -static rosidl_runtime_c__type_description__Field tactigon_msgs__msg__Gesture__FIELDS[] = { - { - {tactigon_msgs__msg__Gesture__FIELD_NAME__gesture, 7, 7}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Gesture__FIELD_NAME__probability, 11, 11}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Gesture__FIELD_NAME__confidence, 10, 10}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Gesture__FIELD_NAME__displacement, 12, 12}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, -}; - -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Gesture__get_type_description( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static bool constructed = false; - static const rosidl_runtime_c__type_description__TypeDescription description = { - { - {tactigon_msgs__msg__Gesture__TYPE_NAME, 25, 25}, - {tactigon_msgs__msg__Gesture__FIELDS, 4, 4}, - }, - {NULL, 0, 0}, - }; - if (!constructed) { - constructed = true; - } - return &description; -} - -static char toplevel_type_raw_source[] = - "string gesture\n" - "float32 probability\n" - "float32 confidence\n" - "float32 displacement"; - -static char msg_encoding[] = "msg"; - -// Define all individual source functions - -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Gesture__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static const rosidl_runtime_c__type_description__TypeSource source = { - {tactigon_msgs__msg__Gesture__TYPE_NAME, 25, 25}, - {msg_encoding, 3, 3}, - {toplevel_type_raw_source, 74, 74}, - }; - return &source; -} - -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Gesture__get_type_description_sources( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_runtime_c__type_description__TypeSource sources[1]; - static const rosidl_runtime_c__type_description__TypeSource__Sequence source_sequence = {sources, 1, 1}; - static bool constructed = false; - if (!constructed) { - sources[0] = *tactigon_msgs__msg__Gesture__get_individual_type_description_source(NULL), - constructed = true; - } - return &source_sequence; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.c deleted file mode 100644 index 1c7ea0c..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.c +++ /dev/null @@ -1,275 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.c.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice -#include "tactigon_msgs/msg/detail/gesture__functions.h" - -#include -#include -#include -#include - -#include "rcutils/allocator.h" - - -// Include directives for member types -// Member `gesture` -#include "rosidl_runtime_c/string_functions.h" - -bool -tactigon_msgs__msg__Gesture__init(tactigon_msgs__msg__Gesture * msg) -{ - if (!msg) { - return false; - } - // gesture - if (!rosidl_runtime_c__String__init(&msg->gesture)) { - tactigon_msgs__msg__Gesture__fini(msg); - return false; - } - // probability - // confidence - // displacement - return true; -} - -void -tactigon_msgs__msg__Gesture__fini(tactigon_msgs__msg__Gesture * msg) -{ - if (!msg) { - return; - } - // gesture - rosidl_runtime_c__String__fini(&msg->gesture); - // probability - // confidence - // displacement -} - -bool -tactigon_msgs__msg__Gesture__are_equal(const tactigon_msgs__msg__Gesture * lhs, const tactigon_msgs__msg__Gesture * rhs) -{ - if (!lhs || !rhs) { - return false; - } - // gesture - if (!rosidl_runtime_c__String__are_equal( - &(lhs->gesture), &(rhs->gesture))) - { - return false; - } - // probability - if (lhs->probability != rhs->probability) { - return false; - } - // confidence - if (lhs->confidence != rhs->confidence) { - return false; - } - // displacement - if (lhs->displacement != rhs->displacement) { - return false; - } - return true; -} - -bool -tactigon_msgs__msg__Gesture__copy( - const tactigon_msgs__msg__Gesture * input, - tactigon_msgs__msg__Gesture * output) -{ - if (!input || !output) { - return false; - } - // gesture - if (!rosidl_runtime_c__String__copy( - &(input->gesture), &(output->gesture))) - { - return false; - } - // probability - output->probability = input->probability; - // confidence - output->confidence = input->confidence; - // displacement - output->displacement = input->displacement; - return true; -} - -tactigon_msgs__msg__Gesture * -tactigon_msgs__msg__Gesture__create(void) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Gesture * msg = (tactigon_msgs__msg__Gesture *)allocator.allocate(sizeof(tactigon_msgs__msg__Gesture), allocator.state); - if (!msg) { - return NULL; - } - memset(msg, 0, sizeof(tactigon_msgs__msg__Gesture)); - bool success = tactigon_msgs__msg__Gesture__init(msg); - if (!success) { - allocator.deallocate(msg, allocator.state); - return NULL; - } - return msg; -} - -void -tactigon_msgs__msg__Gesture__destroy(tactigon_msgs__msg__Gesture * msg) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (msg) { - tactigon_msgs__msg__Gesture__fini(msg); - } - allocator.deallocate(msg, allocator.state); -} - - -bool -tactigon_msgs__msg__Gesture__Sequence__init(tactigon_msgs__msg__Gesture__Sequence * array, size_t size) -{ - if (!array) { - return false; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Gesture * data = NULL; - - if (size) { - data = (tactigon_msgs__msg__Gesture *)allocator.zero_allocate(size, sizeof(tactigon_msgs__msg__Gesture), allocator.state); - if (!data) { - return false; - } - // initialize all array elements - size_t i; - for (i = 0; i < size; ++i) { - bool success = tactigon_msgs__msg__Gesture__init(&data[i]); - if (!success) { - break; - } - } - if (i < size) { - // if initialization failed finalize the already initialized array elements - for (; i > 0; --i) { - tactigon_msgs__msg__Gesture__fini(&data[i - 1]); - } - allocator.deallocate(data, allocator.state); - return false; - } - } - array->data = data; - array->size = size; - array->capacity = size; - return true; -} - -void -tactigon_msgs__msg__Gesture__Sequence__fini(tactigon_msgs__msg__Gesture__Sequence * array) -{ - if (!array) { - return; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - - if (array->data) { - // ensure that data and capacity values are consistent - assert(array->capacity > 0); - // finalize all array elements - for (size_t i = 0; i < array->capacity; ++i) { - tactigon_msgs__msg__Gesture__fini(&array->data[i]); - } - allocator.deallocate(array->data, allocator.state); - array->data = NULL; - array->size = 0; - array->capacity = 0; - } else { - // ensure that data, size, and capacity values are consistent - assert(0 == array->size); - assert(0 == array->capacity); - } -} - -tactigon_msgs__msg__Gesture__Sequence * -tactigon_msgs__msg__Gesture__Sequence__create(size_t size) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Gesture__Sequence * array = (tactigon_msgs__msg__Gesture__Sequence *)allocator.allocate(sizeof(tactigon_msgs__msg__Gesture__Sequence), allocator.state); - if (!array) { - return NULL; - } - bool success = tactigon_msgs__msg__Gesture__Sequence__init(array, size); - if (!success) { - allocator.deallocate(array, allocator.state); - return NULL; - } - return array; -} - -void -tactigon_msgs__msg__Gesture__Sequence__destroy(tactigon_msgs__msg__Gesture__Sequence * array) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (array) { - tactigon_msgs__msg__Gesture__Sequence__fini(array); - } - allocator.deallocate(array, allocator.state); -} - -bool -tactigon_msgs__msg__Gesture__Sequence__are_equal(const tactigon_msgs__msg__Gesture__Sequence * lhs, const tactigon_msgs__msg__Gesture__Sequence * rhs) -{ - if (!lhs || !rhs) { - return false; - } - if (lhs->size != rhs->size) { - return false; - } - for (size_t i = 0; i < lhs->size; ++i) { - if (!tactigon_msgs__msg__Gesture__are_equal(&(lhs->data[i]), &(rhs->data[i]))) { - return false; - } - } - return true; -} - -bool -tactigon_msgs__msg__Gesture__Sequence__copy( - const tactigon_msgs__msg__Gesture__Sequence * input, - tactigon_msgs__msg__Gesture__Sequence * output) -{ - if (!input || !output) { - return false; - } - if (output->capacity < input->size) { - const size_t allocation_size = - input->size * sizeof(tactigon_msgs__msg__Gesture); - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Gesture * data = - (tactigon_msgs__msg__Gesture *)allocator.reallocate( - output->data, allocation_size, allocator.state); - if (!data) { - return false; - } - // If reallocation succeeded, memory may or may not have been moved - // to fulfill the allocation request, invalidating output->data. - output->data = data; - for (size_t i = output->capacity; i < input->size; ++i) { - if (!tactigon_msgs__msg__Gesture__init(&output->data[i])) { - // If initialization of any new item fails, roll back - // all previously initialized items. Existing items - // in output are to be left unmodified. - for (; i-- > output->capacity; ) { - tactigon_msgs__msg__Gesture__fini(&output->data[i]); - } - return false; - } - } - output->capacity = input->size; - } - output->size = input->size; - for (size_t i = 0; i < input->size; ++i) { - if (!tactigon_msgs__msg__Gesture__copy( - &(input->data[i]), &(output->data[i]))) - { - return false; - } - } - return true; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.h deleted file mode 100644 index 1de62b9..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__functions.h +++ /dev/null @@ -1,210 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__FUNCTIONS_H_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__FUNCTIONS_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include - -#include "rosidl_runtime_c/action_type_support_struct.h" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_runtime_c/service_type_support_struct.h" -#include "rosidl_runtime_c/type_description/type_description__struct.h" -#include "rosidl_runtime_c/type_description/type_source__struct.h" -#include "rosidl_runtime_c/type_hash.h" -#include "rosidl_runtime_c/visibility_control.h" -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#include "tactigon_msgs/msg/detail/gesture__struct.h" - -/// Initialize msg/Gesture message. -/** - * If the init function is called twice for the same message without - * calling fini inbetween previously allocated memory will be leaked. - * \param[in,out] msg The previously allocated message pointer. - * Fields without a default value will not be initialized by this function. - * You might want to call memset(msg, 0, sizeof( - * tactigon_msgs__msg__Gesture - * )) before or use - * tactigon_msgs__msg__Gesture__create() - * to allocate and initialize the message. - * \return true if initialization was successful, otherwise false - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__init(tactigon_msgs__msg__Gesture * msg); - -/// Finalize msg/Gesture message. -/** - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Gesture__fini(tactigon_msgs__msg__Gesture * msg); - -/// Create msg/Gesture message. -/** - * It allocates the memory for the message, sets the memory to zero, and - * calls - * tactigon_msgs__msg__Gesture__init(). - * \return The pointer to the initialized message if successful, - * otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Gesture * -tactigon_msgs__msg__Gesture__create(void); - -/// Destroy msg/Gesture message. -/** - * It calls - * tactigon_msgs__msg__Gesture__fini() - * and frees the memory of the message. - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Gesture__destroy(tactigon_msgs__msg__Gesture * msg); - -/// Check for msg/Gesture message equality. -/** - * \param[in] lhs The message on the left hand size of the equality operator. - * \param[in] rhs The message on the right hand size of the equality operator. - * \return true if messages are equal, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__are_equal(const tactigon_msgs__msg__Gesture * lhs, const tactigon_msgs__msg__Gesture * rhs); - -/// Copy a msg/Gesture message. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source message pointer. - * \param[out] output The target message pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer is null - * or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__copy( - const tactigon_msgs__msg__Gesture * input, - tactigon_msgs__msg__Gesture * output); - -/// Retrieve pointer to the hash of the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Gesture__get_type_hash( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Gesture__get_type_description( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the single raw source text that defined this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Gesture__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the recursive raw sources that defined the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Gesture__get_type_description_sources( - const rosidl_message_type_support_t * type_support); - -/// Initialize array of msg/Gesture messages. -/** - * It allocates the memory for the number of elements and calls - * tactigon_msgs__msg__Gesture__init() - * for each element of the array. - * \param[in,out] array The allocated array pointer. - * \param[in] size The size / capacity of the array. - * \return true if initialization was successful, otherwise false - * If the array pointer is valid and the size is zero it is guaranteed - # to return true. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__Sequence__init(tactigon_msgs__msg__Gesture__Sequence * array, size_t size); - -/// Finalize array of msg/Gesture messages. -/** - * It calls - * tactigon_msgs__msg__Gesture__fini() - * for each element of the array and frees the memory for the number of - * elements. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Gesture__Sequence__fini(tactigon_msgs__msg__Gesture__Sequence * array); - -/// Create array of msg/Gesture messages. -/** - * It allocates the memory for the array and calls - * tactigon_msgs__msg__Gesture__Sequence__init(). - * \param[in] size The size / capacity of the array. - * \return The pointer to the initialized array if successful, otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Gesture__Sequence * -tactigon_msgs__msg__Gesture__Sequence__create(size_t size); - -/// Destroy array of msg/Gesture messages. -/** - * It calls - * tactigon_msgs__msg__Gesture__Sequence__fini() - * on the array, - * and frees the memory of the array. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Gesture__Sequence__destroy(tactigon_msgs__msg__Gesture__Sequence * array); - -/// Check for msg/Gesture message array equality. -/** - * \param[in] lhs The message array on the left hand size of the equality operator. - * \param[in] rhs The message array on the right hand size of the equality operator. - * \return true if message arrays are equal in size and content, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__Sequence__are_equal(const tactigon_msgs__msg__Gesture__Sequence * lhs, const tactigon_msgs__msg__Gesture__Sequence * rhs); - -/// Copy an array of msg/Gesture messages. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source array pointer. - * \param[out] output The target array pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer - * is null or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Gesture__Sequence__copy( - const tactigon_msgs__msg__Gesture__Sequence * input, - tactigon_msgs__msg__Gesture__Sequence * output); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__FUNCTIONS_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_c.h deleted file mode 100644 index 54891b9..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_c.h +++ /dev/null @@ -1,65 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ - - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h" -#include "tactigon_msgs/msg/detail/gesture__struct.h" -#include "fastcdr/Cdr.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_tactigon_msgs__msg__Gesture( - const tactigon_msgs__msg__Gesture * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_deserialize_tactigon_msgs__msg__Gesture( - eprosima::fastcdr::Cdr &, - tactigon_msgs__msg__Gesture * ros_message); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_tactigon_msgs__msg__Gesture( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_tactigon_msgs__msg__Gesture( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_key_tactigon_msgs__msg__Gesture( - const tactigon_msgs__msg__Gesture * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_key_tactigon_msgs__msg__Gesture( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_key_tactigon_msgs__msg__Gesture( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, tactigon_msgs, msg, Gesture)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_cpp.hpp deleted file mode 100644 index 9e01dfa..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_fastrtps_cpp.hpp +++ /dev/null @@ -1,100 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h" -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" - -#ifndef _WIN32 -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# ifdef __clang__ -# pragma clang diagnostic ignored "-Wdeprecated-register" -# pragma clang diagnostic ignored "-Wreturn-type-c-linkage" -# endif -#endif -#ifndef _WIN32 -# pragma GCC diagnostic pop -#endif - -#include "fastcdr/Cdr.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace typesupport_fastrtps_cpp -{ - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize( - const tactigon_msgs::msg::Gesture & ros_message, - eprosima::fastcdr::Cdr & cdr); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_deserialize( - eprosima::fastcdr::Cdr & cdr, - tactigon_msgs::msg::Gesture & ros_message); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size( - const tactigon_msgs::msg::Gesture & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_Gesture( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize_key( - const tactigon_msgs::msg::Gesture & ros_message, - eprosima::fastcdr::Cdr &); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size_key( - const tactigon_msgs::msg::Gesture & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_key_Gesture( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -} // namespace typesupport_fastrtps_cpp - -} // namespace msg - -} // namespace tactigon_msgs - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, tactigon_msgs, msg, Gesture)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_c.h deleted file mode 100644 index de9aaf3..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_c.h +++ /dev/null @@ -1,26 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Gesture)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_cpp.hpp deleted file mode 100644 index 51bd129..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_cpp.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -// TODO(dirk-thomas) these visibility macros should be message package specific -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Gesture)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.h deleted file mode 100644 index 8c6dd89..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.h +++ /dev/null @@ -1,49 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__struct.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include -#include - -// Constants defined in the message - -// Include directives for member types -// Member 'gesture' -#include "rosidl_runtime_c/string.h" - -/// Struct defined in msg/Gesture in the package tactigon_msgs. -typedef struct tactigon_msgs__msg__Gesture -{ - rosidl_runtime_c__String gesture; - float probability; - float confidence; - float displacement; -} tactigon_msgs__msg__Gesture; - -// Struct for a sequence of tactigon_msgs__msg__Gesture. -typedef struct tactigon_msgs__msg__Gesture__Sequence -{ - tactigon_msgs__msg__Gesture * data; - /// The number of valid items in data - size_t size; - /// The number of allocated items in data - size_t capacity; -} tactigon_msgs__msg__Gesture__Sequence; - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.hpp deleted file mode 100644 index 08ad72d..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__struct.hpp +++ /dev/null @@ -1,176 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_HPP_ - -#include -#include -#include -#include -#include - -#include "rosidl_runtime_cpp/bounded_vector.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -#ifndef _WIN32 -# define DEPRECATED__tactigon_msgs__msg__Gesture __attribute__((deprecated)) -#else -# define DEPRECATED__tactigon_msgs__msg__Gesture __declspec(deprecated) -#endif - -namespace tactigon_msgs -{ - -namespace msg -{ - -// message struct -template -struct Gesture_ -{ - using Type = Gesture_; - - explicit Gesture_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->gesture = ""; - this->probability = 0.0f; - this->confidence = 0.0f; - this->displacement = 0.0f; - } - } - - explicit Gesture_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - : gesture(_alloc) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->gesture = ""; - this->probability = 0.0f; - this->confidence = 0.0f; - this->displacement = 0.0f; - } - } - - // field types and members - using _gesture_type = - std::basic_string, typename std::allocator_traits::template rebind_alloc>; - _gesture_type gesture; - using _probability_type = - float; - _probability_type probability; - using _confidence_type = - float; - _confidence_type confidence; - using _displacement_type = - float; - _displacement_type displacement; - - // setters for named parameter idiom - Type & set__gesture( - const std::basic_string, typename std::allocator_traits::template rebind_alloc> & _arg) - { - this->gesture = _arg; - return *this; - } - Type & set__probability( - const float & _arg) - { - this->probability = _arg; - return *this; - } - Type & set__confidence( - const float & _arg) - { - this->confidence = _arg; - return *this; - } - Type & set__displacement( - const float & _arg) - { - this->displacement = _arg; - return *this; - } - - // constant declarations - - // pointer types - using RawPtr = - tactigon_msgs::msg::Gesture_ *; - using ConstRawPtr = - const tactigon_msgs::msg::Gesture_ *; - using SharedPtr = - std::shared_ptr>; - using ConstSharedPtr = - std::shared_ptr const>; - - template>> - using UniquePtrWithDeleter = - std::unique_ptr, Deleter>; - - using UniquePtr = UniquePtrWithDeleter<>; - - template>> - using ConstUniquePtrWithDeleter = - std::unique_ptr const, Deleter>; - using ConstUniquePtr = ConstUniquePtrWithDeleter<>; - - using WeakPtr = - std::weak_ptr>; - using ConstWeakPtr = - std::weak_ptr const>; - - // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead - // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly - typedef DEPRECATED__tactigon_msgs__msg__Gesture - std::shared_ptr> - Ptr; - typedef DEPRECATED__tactigon_msgs__msg__Gesture - std::shared_ptr const> - ConstPtr; - - // comparison operators - bool operator==(const Gesture_ & other) const - { - if (this->gesture != other.gesture) { - return false; - } - if (this->probability != other.probability) { - return false; - } - if (this->confidence != other.confidence) { - return false; - } - if (this->displacement != other.displacement) { - return false; - } - return true; - } - bool operator!=(const Gesture_ & other) const - { - return !this->operator==(other); - } -}; // struct Gesture_ - -// alias to use template instance with default allocator -using Gesture = - tactigon_msgs::msg::Gesture_>; - -// constant definitions - -} // namespace msg - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__STRUCT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__traits.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__traits.hpp deleted file mode 100644 index ab7bccc..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__traits.hpp +++ /dev/null @@ -1,163 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__TRAITS_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__TRAITS_HPP_ - -#include - -#include -#include -#include - -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" -#include "rosidl_runtime_cpp/traits.hpp" - -namespace tactigon_msgs -{ - -namespace msg -{ - -inline void to_flow_style_yaml( - const Gesture & msg, - std::ostream & out) -{ - out << "{"; - // member: gesture - { - out << "gesture: "; - rosidl_generator_traits::value_to_yaml(msg.gesture, out); - out << ", "; - } - - // member: probability - { - out << "probability: "; - rosidl_generator_traits::value_to_yaml(msg.probability, out); - out << ", "; - } - - // member: confidence - { - out << "confidence: "; - rosidl_generator_traits::value_to_yaml(msg.confidence, out); - out << ", "; - } - - // member: displacement - { - out << "displacement: "; - rosidl_generator_traits::value_to_yaml(msg.displacement, out); - } - out << "}"; -} // NOLINT(readability/fn_size) - -inline void to_block_style_yaml( - const Gesture & msg, - std::ostream & out, size_t indentation = 0) -{ - // member: gesture - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "gesture: "; - rosidl_generator_traits::value_to_yaml(msg.gesture, out); - out << "\n"; - } - - // member: probability - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "probability: "; - rosidl_generator_traits::value_to_yaml(msg.probability, out); - out << "\n"; - } - - // member: confidence - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "confidence: "; - rosidl_generator_traits::value_to_yaml(msg.confidence, out); - out << "\n"; - } - - // member: displacement - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "displacement: "; - rosidl_generator_traits::value_to_yaml(msg.displacement, out); - out << "\n"; - } -} // NOLINT(readability/fn_size) - -inline std::string to_yaml(const Gesture & msg, bool use_flow_style = false) -{ - std::ostringstream out; - if (use_flow_style) { - to_flow_style_yaml(msg, out); - } else { - to_block_style_yaml(msg, out); - } - return out.str(); -} - -} // namespace msg - -} // namespace tactigon_msgs - -namespace rosidl_generator_traits -{ - -[[deprecated("use tactigon_msgs::msg::to_block_style_yaml() instead")]] -inline void to_yaml( - const tactigon_msgs::msg::Gesture & msg, - std::ostream & out, size_t indentation = 0) -{ - tactigon_msgs::msg::to_block_style_yaml(msg, out, indentation); -} - -[[deprecated("use tactigon_msgs::msg::to_yaml() instead")]] -inline std::string to_yaml(const tactigon_msgs::msg::Gesture & msg) -{ - return tactigon_msgs::msg::to_yaml(msg); -} - -template<> -inline const char * data_type() -{ - return "tactigon_msgs::msg::Gesture"; -} - -template<> -inline const char * name() -{ - return "tactigon_msgs/msg/Gesture"; -} - -template<> -struct has_fixed_size - : std::integral_constant {}; - -template<> -struct has_bounded_size - : std::integral_constant {}; - -template<> -struct is_message - : std::true_type {}; - -} // namespace rosidl_generator_traits - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__TRAITS_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.c deleted file mode 100644 index 20a4bef..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.c +++ /dev/null @@ -1,146 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#include -#include "tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_c.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" -#include "rosidl_typesupport_introspection_c/field_types.h" -#include "rosidl_typesupport_introspection_c/identifier.h" -#include "rosidl_typesupport_introspection_c/message_introspection.h" -#include "tactigon_msgs/msg/detail/gesture__functions.h" -#include "tactigon_msgs/msg/detail/gesture__struct.h" - - -// Include directives for member types -// Member `gesture` -#include "rosidl_runtime_c/string_functions.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -void tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_init_function( - void * message_memory, enum rosidl_runtime_c__message_initialization _init) -{ - // TODO(karsten1987): initializers are not yet implemented for typesupport c - // see https://github.com/ros2/ros2/issues/397 - (void) _init; - tactigon_msgs__msg__Gesture__init(message_memory); -} - -void tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_fini_function(void * message_memory) -{ - tactigon_msgs__msg__Gesture__fini(message_memory); -} - -static rosidl_typesupport_introspection_c__MessageMember tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_member_array[4] = { - { - "gesture", // name - rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Gesture, gesture), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "probability", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Gesture, probability), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "confidence", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Gesture, confidence), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "displacement", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Gesture, displacement), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - } -}; - -static const rosidl_typesupport_introspection_c__MessageMembers tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_members = { - "tactigon_msgs__msg", // message namespace - "Gesture", // message name - 4, // number of fields - sizeof(tactigon_msgs__msg__Gesture), - false, // has_any_key_member_ - tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_member_array, // message members - tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_init_function, // function to initialize message memory (memory has to be allocated) - tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_fini_function // function to terminate message instance (will not free memory) -}; - -// this is not const since it must be initialized on first access -// since C does not allow non-integral compile-time constants -static rosidl_message_type_support_t tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_type_support_handle = { - 0, - &tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Gesture__get_type_hash, - &tactigon_msgs__msg__Gesture__get_type_description, - &tactigon_msgs__msg__Gesture__get_type_description_sources, -}; - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Gesture)() { - if (!tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_type_support_handle.typesupport_identifier) { - tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_type_support_handle.typesupport_identifier = - rosidl_typesupport_introspection_c__identifier; - } - return &tactigon_msgs__msg__Gesture__rosidl_typesupport_introspection_c__Gesture_message_type_support_handle; -} -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.cpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.cpp deleted file mode 100644 index 3e0481c..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#include "array" -#include "cstddef" -#include "string" -#include "vector" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_cpp/message_type_support.hpp" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/detail/gesture__functions.h" -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" -#include "rosidl_typesupport_introspection_cpp/field_types.hpp" -#include "rosidl_typesupport_introspection_cpp/identifier.hpp" -#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp" -#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace rosidl_typesupport_introspection_cpp -{ - -void Gesture_init_function( - void * message_memory, rosidl_runtime_cpp::MessageInitialization _init) -{ - new (message_memory) tactigon_msgs::msg::Gesture(_init); -} - -void Gesture_fini_function(void * message_memory) -{ - auto typed_message = static_cast(message_memory); - typed_message->~Gesture(); -} - -static const ::rosidl_typesupport_introspection_cpp::MessageMember Gesture_message_member_array[4] = { - { - "gesture", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Gesture, gesture), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "probability", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Gesture, probability), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "confidence", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Gesture, confidence), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "displacement", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Gesture, displacement), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - } -}; - -static const ::rosidl_typesupport_introspection_cpp::MessageMembers Gesture_message_members = { - "tactigon_msgs::msg", // message namespace - "Gesture", // message name - 4, // number of fields - sizeof(tactigon_msgs::msg::Gesture), - false, // has_any_key_member_ - Gesture_message_member_array, // message members - Gesture_init_function, // function to initialize message memory (memory has to be allocated) - Gesture_fini_function // function to terminate message instance (will not free memory) -}; - -static const rosidl_message_type_support_t Gesture_message_type_support_handle = { - ::rosidl_typesupport_introspection_cpp::typesupport_identifier, - &Gesture_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Gesture__get_type_hash, - &tactigon_msgs__msg__Gesture__get_type_description, - &tactigon_msgs__msg__Gesture__get_type_description_sources, -}; - -} // namespace rosidl_typesupport_introspection_cpp - -} // namespace msg - -} // namespace tactigon_msgs - - -namespace rosidl_typesupport_introspection_cpp -{ - -template<> -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -get_message_type_support_handle() -{ - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Gesture_message_type_support_handle; -} - -} // namespace rosidl_typesupport_introspection_cpp - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Gesture)() { - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Gesture_message_type_support_handle; -} - -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.h deleted file mode 100644 index 8ba3130..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.h +++ /dev/null @@ -1,36 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__type_support.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/gesture.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_H_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include "rosidl_runtime_c/message_type_support_struct.h" - -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_c, - tactigon_msgs, - msg, - Gesture -)(void); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.hpp deleted file mode 100644 index 150655b..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/gesture__type_support.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_HPP_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp" - -#include "rosidl_typesupport_cpp/message_type_support.hpp" - -#ifdef __cplusplus -extern "C" -{ -#endif -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_cpp, - tactigon_msgs, - msg, - Gesture -)(); -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__GESTURE__TYPE_SUPPORT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__builder.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__builder.hpp deleted file mode 100644 index 8bc8fa4..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__builder.hpp +++ /dev/null @@ -1,203 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__BUILDER_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__BUILDER_HPP_ - -#include -#include - -#include "tactigon_msgs/msg/detail/t_skin_state__struct.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace builder -{ - -class Init_TSkinState_gesture_valid -{ -public: - explicit Init_TSkinState_gesture_valid(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - ::tactigon_msgs::msg::TSkinState gesture_valid(::tactigon_msgs::msg::TSkinState::_gesture_valid_type arg) - { - msg_.gesture_valid = std::move(arg); - return std::move(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_gesture -{ -public: - explicit Init_TSkinState_gesture(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_gesture_valid gesture(::tactigon_msgs::msg::TSkinState::_gesture_type arg) - { - msg_.gesture = std::move(arg); - return Init_TSkinState_gesture_valid(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_angle_valid -{ -public: - explicit Init_TSkinState_angle_valid(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_gesture angle_valid(::tactigon_msgs::msg::TSkinState::_angle_valid_type arg) - { - msg_.angle_valid = std::move(arg); - return Init_TSkinState_gesture(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_angle -{ -public: - explicit Init_TSkinState_angle(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_angle_valid angle(::tactigon_msgs::msg::TSkinState::_angle_type arg) - { - msg_.angle = std::move(arg); - return Init_TSkinState_angle_valid(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_touchpad_valid -{ -public: - explicit Init_TSkinState_touchpad_valid(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_angle touchpad_valid(::tactigon_msgs::msg::TSkinState::_touchpad_valid_type arg) - { - msg_.touchpad_valid = std::move(arg); - return Init_TSkinState_angle(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_touchpad -{ -public: - explicit Init_TSkinState_touchpad(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_touchpad_valid touchpad(::tactigon_msgs::msg::TSkinState::_touchpad_type arg) - { - msg_.touchpad = std::move(arg); - return Init_TSkinState_touchpad_valid(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_selector_valid -{ -public: - explicit Init_TSkinState_selector_valid(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_touchpad selector_valid(::tactigon_msgs::msg::TSkinState::_selector_valid_type arg) - { - msg_.selector_valid = std::move(arg); - return Init_TSkinState_touchpad(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_selector -{ -public: - explicit Init_TSkinState_selector(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_selector_valid selector(::tactigon_msgs::msg::TSkinState::_selector_type arg) - { - msg_.selector = std::move(arg); - return Init_TSkinState_selector_valid(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_battery -{ -public: - explicit Init_TSkinState_battery(::tactigon_msgs::msg::TSkinState & msg) - : msg_(msg) - {} - Init_TSkinState_selector battery(::tactigon_msgs::msg::TSkinState::_battery_type arg) - { - msg_.battery = std::move(arg); - return Init_TSkinState_selector(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -class Init_TSkinState_connected -{ -public: - Init_TSkinState_connected() - : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP) - {} - Init_TSkinState_battery connected(::tactigon_msgs::msg::TSkinState::_connected_type arg) - { - msg_.connected = std::move(arg); - return Init_TSkinState_battery(msg_); - } - -private: - ::tactigon_msgs::msg::TSkinState msg_; -}; - -} // namespace builder - -} // namespace msg - -template -auto build(); - -template<> -inline -auto build<::tactigon_msgs::msg::TSkinState>() -{ - return tactigon_msgs::msg::builder::Init_TSkinState_connected(); -} - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__BUILDER_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__description.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__description.c deleted file mode 100644 index 95358c3..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__description.c +++ /dev/null @@ -1,260 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__description.c.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#include "tactigon_msgs/msg/detail/t_skin_state__functions.h" - -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__TSkinState__get_type_hash( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_type_hash_t hash = {1, { - 0xfd, 0x25, 0xe0, 0xb5, 0x74, 0x3a, 0xcb, 0x95, - 0xb0, 0xeb, 0x3c, 0x36, 0xc6, 0x16, 0x28, 0x84, - 0x66, 0xa2, 0xd0, 0xbe, 0xd3, 0xab, 0x12, 0x2d, - 0x1e, 0x33, 0xfc, 0x3a, 0x35, 0xdc, 0x51, 0x5a, - }}; - return &hash; -} - -#include -#include - -// Include directives for referenced types -#include "tactigon_msgs/msg/detail/angle__functions.h" -#include "tactigon_msgs/msg/detail/touch__functions.h" -#include "tactigon_msgs/msg/detail/gesture__functions.h" - -// Hashes for external referenced types -#ifndef NDEBUG -static const rosidl_type_hash_t tactigon_msgs__msg__Angle__EXPECTED_HASH = {1, { - 0x41, 0x02, 0x94, 0xa0, 0x3d, 0xf0, 0xed, 0xff, - 0xa7, 0xb5, 0xfd, 0x4e, 0xaa, 0xe2, 0x6d, 0xe7, - 0x36, 0x08, 0x0c, 0xf4, 0x61, 0xd6, 0x77, 0x9b, - 0x5e, 0x67, 0x07, 0x8c, 0x37, 0x96, 0x6a, 0x1b, - }}; -static const rosidl_type_hash_t tactigon_msgs__msg__Gesture__EXPECTED_HASH = {1, { - 0x27, 0xbb, 0xed, 0x86, 0x65, 0xee, 0x5a, 0x9f, - 0xf6, 0xc2, 0x2c, 0xb5, 0x99, 0x67, 0x06, 0xbc, - 0x14, 0x89, 0xc5, 0x66, 0xc8, 0x4b, 0xa3, 0x28, - 0x6b, 0xca, 0xe4, 0x6a, 0xd2, 0x39, 0x9d, 0x0c, - }}; -static const rosidl_type_hash_t tactigon_msgs__msg__Touch__EXPECTED_HASH = {1, { - 0x42, 0xd5, 0xc5, 0x9b, 0x19, 0x2a, 0xec, 0x8f, - 0x9c, 0x55, 0xd6, 0x15, 0xbc, 0x51, 0x9c, 0x46, - 0xc8, 0x9d, 0x65, 0x6e, 0xc9, 0xd4, 0x62, 0x5e, - 0x81, 0xd3, 0xb3, 0xfa, 0xaa, 0x24, 0x33, 0xd4, - }}; -#endif - -static char tactigon_msgs__msg__TSkinState__TYPE_NAME[] = "tactigon_msgs/msg/TSkinState"; -static char tactigon_msgs__msg__Angle__TYPE_NAME[] = "tactigon_msgs/msg/Angle"; -static char tactigon_msgs__msg__Gesture__TYPE_NAME[] = "tactigon_msgs/msg/Gesture"; -static char tactigon_msgs__msg__Touch__TYPE_NAME[] = "tactigon_msgs/msg/Touch"; - -// Define type names, field names, and default values -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__connected[] = "connected"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__battery[] = "battery"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__selector[] = "selector"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__selector_valid[] = "selector_valid"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__touchpad[] = "touchpad"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__touchpad_valid[] = "touchpad_valid"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__angle[] = "angle"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__angle_valid[] = "angle_valid"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__gesture[] = "gesture"; -static char tactigon_msgs__msg__TSkinState__FIELD_NAME__gesture_valid[] = "gesture_valid"; - -static rosidl_runtime_c__type_description__Field tactigon_msgs__msg__TSkinState__FIELDS[] = { - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__connected, 9, 9}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__battery, 7, 7}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__selector, 8, 8}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__selector_valid, 14, 14}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__touchpad, 8, 8}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE, - 0, - 0, - {tactigon_msgs__msg__Touch__TYPE_NAME, 23, 23}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__touchpad_valid, 14, 14}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__angle, 5, 5}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE, - 0, - 0, - {tactigon_msgs__msg__Angle__TYPE_NAME, 23, 23}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__angle_valid, 11, 11}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__gesture, 7, 7}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE, - 0, - 0, - {tactigon_msgs__msg__Gesture__TYPE_NAME, 25, 25}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__TSkinState__FIELD_NAME__gesture_valid, 13, 13}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, -}; - -static rosidl_runtime_c__type_description__IndividualTypeDescription tactigon_msgs__msg__TSkinState__REFERENCED_TYPE_DESCRIPTIONS[] = { - { - {tactigon_msgs__msg__Angle__TYPE_NAME, 23, 23}, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Gesture__TYPE_NAME, 25, 25}, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Touch__TYPE_NAME, 23, 23}, - {NULL, 0, 0}, - }, -}; - -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__TSkinState__get_type_description( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static bool constructed = false; - static const rosidl_runtime_c__type_description__TypeDescription description = { - { - {tactigon_msgs__msg__TSkinState__TYPE_NAME, 28, 28}, - {tactigon_msgs__msg__TSkinState__FIELDS, 10, 10}, - }, - {tactigon_msgs__msg__TSkinState__REFERENCED_TYPE_DESCRIPTIONS, 3, 3}, - }; - if (!constructed) { - assert(0 == memcmp(&tactigon_msgs__msg__Angle__EXPECTED_HASH, tactigon_msgs__msg__Angle__get_type_hash(NULL), sizeof(rosidl_type_hash_t))); - description.referenced_type_descriptions.data[0].fields = tactigon_msgs__msg__Angle__get_type_description(NULL)->type_description.fields; - assert(0 == memcmp(&tactigon_msgs__msg__Gesture__EXPECTED_HASH, tactigon_msgs__msg__Gesture__get_type_hash(NULL), sizeof(rosidl_type_hash_t))); - description.referenced_type_descriptions.data[1].fields = tactigon_msgs__msg__Gesture__get_type_description(NULL)->type_description.fields; - assert(0 == memcmp(&tactigon_msgs__msg__Touch__EXPECTED_HASH, tactigon_msgs__msg__Touch__get_type_hash(NULL), sizeof(rosidl_type_hash_t))); - description.referenced_type_descriptions.data[2].fields = tactigon_msgs__msg__Touch__get_type_description(NULL)->type_description.fields; - constructed = true; - } - return &description; -} - -static char toplevel_type_raw_source[] = - "bool connected\n" - "float32 battery\n" - "uint8 selector\n" - "bool selector_valid\n" - "Touch touchpad\n" - "bool touchpad_valid\n" - "Angle angle\n" - "bool angle_valid\n" - "Gesture gesture\n" - "bool gesture_valid\n" - "uint8 BLE_SELECTOR_NONE=0\n" - "uint8 BLE_SELECTOR_SENSORS=1\n" - "uint8 BLE_SELECTOR_AUDIO=2"; - -static char msg_encoding[] = "msg"; - -// Define all individual source functions - -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__TSkinState__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static const rosidl_runtime_c__type_description__TypeSource source = { - {tactigon_msgs__msg__TSkinState__TYPE_NAME, 28, 28}, - {msg_encoding, 3, 3}, - {toplevel_type_raw_source, 246, 246}, - }; - return &source; -} - -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__TSkinState__get_type_description_sources( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_runtime_c__type_description__TypeSource sources[4]; - static const rosidl_runtime_c__type_description__TypeSource__Sequence source_sequence = {sources, 4, 4}; - static bool constructed = false; - if (!constructed) { - sources[0] = *tactigon_msgs__msg__TSkinState__get_individual_type_description_source(NULL), - sources[1] = *tactigon_msgs__msg__Angle__get_individual_type_description_source(NULL); - sources[2] = *tactigon_msgs__msg__Gesture__get_individual_type_description_source(NULL); - sources[3] = *tactigon_msgs__msg__Touch__get_individual_type_description_source(NULL); - constructed = true; - } - return &source_sequence; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.c deleted file mode 100644 index 44536af..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.c +++ /dev/null @@ -1,349 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.c.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice -#include "tactigon_msgs/msg/detail/t_skin_state__functions.h" - -#include -#include -#include -#include - -#include "rcutils/allocator.h" - - -// Include directives for member types -// Member `touchpad` -#include "tactigon_msgs/msg/detail/touch__functions.h" -// Member `angle` -#include "tactigon_msgs/msg/detail/angle__functions.h" -// Member `gesture` -#include "tactigon_msgs/msg/detail/gesture__functions.h" - -bool -tactigon_msgs__msg__TSkinState__init(tactigon_msgs__msg__TSkinState * msg) -{ - if (!msg) { - return false; - } - // connected - // battery - // selector - // selector_valid - // touchpad - if (!tactigon_msgs__msg__Touch__init(&msg->touchpad)) { - tactigon_msgs__msg__TSkinState__fini(msg); - return false; - } - // touchpad_valid - // angle - if (!tactigon_msgs__msg__Angle__init(&msg->angle)) { - tactigon_msgs__msg__TSkinState__fini(msg); - return false; - } - // angle_valid - // gesture - if (!tactigon_msgs__msg__Gesture__init(&msg->gesture)) { - tactigon_msgs__msg__TSkinState__fini(msg); - return false; - } - // gesture_valid - return true; -} - -void -tactigon_msgs__msg__TSkinState__fini(tactigon_msgs__msg__TSkinState * msg) -{ - if (!msg) { - return; - } - // connected - // battery - // selector - // selector_valid - // touchpad - tactigon_msgs__msg__Touch__fini(&msg->touchpad); - // touchpad_valid - // angle - tactigon_msgs__msg__Angle__fini(&msg->angle); - // angle_valid - // gesture - tactigon_msgs__msg__Gesture__fini(&msg->gesture); - // gesture_valid -} - -bool -tactigon_msgs__msg__TSkinState__are_equal(const tactigon_msgs__msg__TSkinState * lhs, const tactigon_msgs__msg__TSkinState * rhs) -{ - if (!lhs || !rhs) { - return false; - } - // connected - if (lhs->connected != rhs->connected) { - return false; - } - // battery - if (lhs->battery != rhs->battery) { - return false; - } - // selector - if (lhs->selector != rhs->selector) { - return false; - } - // selector_valid - if (lhs->selector_valid != rhs->selector_valid) { - return false; - } - // touchpad - if (!tactigon_msgs__msg__Touch__are_equal( - &(lhs->touchpad), &(rhs->touchpad))) - { - return false; - } - // touchpad_valid - if (lhs->touchpad_valid != rhs->touchpad_valid) { - return false; - } - // angle - if (!tactigon_msgs__msg__Angle__are_equal( - &(lhs->angle), &(rhs->angle))) - { - return false; - } - // angle_valid - if (lhs->angle_valid != rhs->angle_valid) { - return false; - } - // gesture - if (!tactigon_msgs__msg__Gesture__are_equal( - &(lhs->gesture), &(rhs->gesture))) - { - return false; - } - // gesture_valid - if (lhs->gesture_valid != rhs->gesture_valid) { - return false; - } - return true; -} - -bool -tactigon_msgs__msg__TSkinState__copy( - const tactigon_msgs__msg__TSkinState * input, - tactigon_msgs__msg__TSkinState * output) -{ - if (!input || !output) { - return false; - } - // connected - output->connected = input->connected; - // battery - output->battery = input->battery; - // selector - output->selector = input->selector; - // selector_valid - output->selector_valid = input->selector_valid; - // touchpad - if (!tactigon_msgs__msg__Touch__copy( - &(input->touchpad), &(output->touchpad))) - { - return false; - } - // touchpad_valid - output->touchpad_valid = input->touchpad_valid; - // angle - if (!tactigon_msgs__msg__Angle__copy( - &(input->angle), &(output->angle))) - { - return false; - } - // angle_valid - output->angle_valid = input->angle_valid; - // gesture - if (!tactigon_msgs__msg__Gesture__copy( - &(input->gesture), &(output->gesture))) - { - return false; - } - // gesture_valid - output->gesture_valid = input->gesture_valid; - return true; -} - -tactigon_msgs__msg__TSkinState * -tactigon_msgs__msg__TSkinState__create(void) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__TSkinState * msg = (tactigon_msgs__msg__TSkinState *)allocator.allocate(sizeof(tactigon_msgs__msg__TSkinState), allocator.state); - if (!msg) { - return NULL; - } - memset(msg, 0, sizeof(tactigon_msgs__msg__TSkinState)); - bool success = tactigon_msgs__msg__TSkinState__init(msg); - if (!success) { - allocator.deallocate(msg, allocator.state); - return NULL; - } - return msg; -} - -void -tactigon_msgs__msg__TSkinState__destroy(tactigon_msgs__msg__TSkinState * msg) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (msg) { - tactigon_msgs__msg__TSkinState__fini(msg); - } - allocator.deallocate(msg, allocator.state); -} - - -bool -tactigon_msgs__msg__TSkinState__Sequence__init(tactigon_msgs__msg__TSkinState__Sequence * array, size_t size) -{ - if (!array) { - return false; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__TSkinState * data = NULL; - - if (size) { - data = (tactigon_msgs__msg__TSkinState *)allocator.zero_allocate(size, sizeof(tactigon_msgs__msg__TSkinState), allocator.state); - if (!data) { - return false; - } - // initialize all array elements - size_t i; - for (i = 0; i < size; ++i) { - bool success = tactigon_msgs__msg__TSkinState__init(&data[i]); - if (!success) { - break; - } - } - if (i < size) { - // if initialization failed finalize the already initialized array elements - for (; i > 0; --i) { - tactigon_msgs__msg__TSkinState__fini(&data[i - 1]); - } - allocator.deallocate(data, allocator.state); - return false; - } - } - array->data = data; - array->size = size; - array->capacity = size; - return true; -} - -void -tactigon_msgs__msg__TSkinState__Sequence__fini(tactigon_msgs__msg__TSkinState__Sequence * array) -{ - if (!array) { - return; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - - if (array->data) { - // ensure that data and capacity values are consistent - assert(array->capacity > 0); - // finalize all array elements - for (size_t i = 0; i < array->capacity; ++i) { - tactigon_msgs__msg__TSkinState__fini(&array->data[i]); - } - allocator.deallocate(array->data, allocator.state); - array->data = NULL; - array->size = 0; - array->capacity = 0; - } else { - // ensure that data, size, and capacity values are consistent - assert(0 == array->size); - assert(0 == array->capacity); - } -} - -tactigon_msgs__msg__TSkinState__Sequence * -tactigon_msgs__msg__TSkinState__Sequence__create(size_t size) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__TSkinState__Sequence * array = (tactigon_msgs__msg__TSkinState__Sequence *)allocator.allocate(sizeof(tactigon_msgs__msg__TSkinState__Sequence), allocator.state); - if (!array) { - return NULL; - } - bool success = tactigon_msgs__msg__TSkinState__Sequence__init(array, size); - if (!success) { - allocator.deallocate(array, allocator.state); - return NULL; - } - return array; -} - -void -tactigon_msgs__msg__TSkinState__Sequence__destroy(tactigon_msgs__msg__TSkinState__Sequence * array) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (array) { - tactigon_msgs__msg__TSkinState__Sequence__fini(array); - } - allocator.deallocate(array, allocator.state); -} - -bool -tactigon_msgs__msg__TSkinState__Sequence__are_equal(const tactigon_msgs__msg__TSkinState__Sequence * lhs, const tactigon_msgs__msg__TSkinState__Sequence * rhs) -{ - if (!lhs || !rhs) { - return false; - } - if (lhs->size != rhs->size) { - return false; - } - for (size_t i = 0; i < lhs->size; ++i) { - if (!tactigon_msgs__msg__TSkinState__are_equal(&(lhs->data[i]), &(rhs->data[i]))) { - return false; - } - } - return true; -} - -bool -tactigon_msgs__msg__TSkinState__Sequence__copy( - const tactigon_msgs__msg__TSkinState__Sequence * input, - tactigon_msgs__msg__TSkinState__Sequence * output) -{ - if (!input || !output) { - return false; - } - if (output->capacity < input->size) { - const size_t allocation_size = - input->size * sizeof(tactigon_msgs__msg__TSkinState); - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__TSkinState * data = - (tactigon_msgs__msg__TSkinState *)allocator.reallocate( - output->data, allocation_size, allocator.state); - if (!data) { - return false; - } - // If reallocation succeeded, memory may or may not have been moved - // to fulfill the allocation request, invalidating output->data. - output->data = data; - for (size_t i = output->capacity; i < input->size; ++i) { - if (!tactigon_msgs__msg__TSkinState__init(&output->data[i])) { - // If initialization of any new item fails, roll back - // all previously initialized items. Existing items - // in output are to be left unmodified. - for (; i-- > output->capacity; ) { - tactigon_msgs__msg__TSkinState__fini(&output->data[i]); - } - return false; - } - } - output->capacity = input->size; - } - output->size = input->size; - for (size_t i = 0; i < input->size; ++i) { - if (!tactigon_msgs__msg__TSkinState__copy( - &(input->data[i]), &(output->data[i]))) - { - return false; - } - } - return true; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.h deleted file mode 100644 index b2922fc..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__functions.h +++ /dev/null @@ -1,210 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__FUNCTIONS_H_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__FUNCTIONS_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include - -#include "rosidl_runtime_c/action_type_support_struct.h" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_runtime_c/service_type_support_struct.h" -#include "rosidl_runtime_c/type_description/type_description__struct.h" -#include "rosidl_runtime_c/type_description/type_source__struct.h" -#include "rosidl_runtime_c/type_hash.h" -#include "rosidl_runtime_c/visibility_control.h" -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#include "tactigon_msgs/msg/detail/t_skin_state__struct.h" - -/// Initialize msg/TSkinState message. -/** - * If the init function is called twice for the same message without - * calling fini inbetween previously allocated memory will be leaked. - * \param[in,out] msg The previously allocated message pointer. - * Fields without a default value will not be initialized by this function. - * You might want to call memset(msg, 0, sizeof( - * tactigon_msgs__msg__TSkinState - * )) before or use - * tactigon_msgs__msg__TSkinState__create() - * to allocate and initialize the message. - * \return true if initialization was successful, otherwise false - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__init(tactigon_msgs__msg__TSkinState * msg); - -/// Finalize msg/TSkinState message. -/** - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__TSkinState__fini(tactigon_msgs__msg__TSkinState * msg); - -/// Create msg/TSkinState message. -/** - * It allocates the memory for the message, sets the memory to zero, and - * calls - * tactigon_msgs__msg__TSkinState__init(). - * \return The pointer to the initialized message if successful, - * otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__TSkinState * -tactigon_msgs__msg__TSkinState__create(void); - -/// Destroy msg/TSkinState message. -/** - * It calls - * tactigon_msgs__msg__TSkinState__fini() - * and frees the memory of the message. - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__TSkinState__destroy(tactigon_msgs__msg__TSkinState * msg); - -/// Check for msg/TSkinState message equality. -/** - * \param[in] lhs The message on the left hand size of the equality operator. - * \param[in] rhs The message on the right hand size of the equality operator. - * \return true if messages are equal, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__are_equal(const tactigon_msgs__msg__TSkinState * lhs, const tactigon_msgs__msg__TSkinState * rhs); - -/// Copy a msg/TSkinState message. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source message pointer. - * \param[out] output The target message pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer is null - * or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__copy( - const tactigon_msgs__msg__TSkinState * input, - tactigon_msgs__msg__TSkinState * output); - -/// Retrieve pointer to the hash of the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__TSkinState__get_type_hash( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__TSkinState__get_type_description( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the single raw source text that defined this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__TSkinState__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the recursive raw sources that defined the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__TSkinState__get_type_description_sources( - const rosidl_message_type_support_t * type_support); - -/// Initialize array of msg/TSkinState messages. -/** - * It allocates the memory for the number of elements and calls - * tactigon_msgs__msg__TSkinState__init() - * for each element of the array. - * \param[in,out] array The allocated array pointer. - * \param[in] size The size / capacity of the array. - * \return true if initialization was successful, otherwise false - * If the array pointer is valid and the size is zero it is guaranteed - # to return true. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__Sequence__init(tactigon_msgs__msg__TSkinState__Sequence * array, size_t size); - -/// Finalize array of msg/TSkinState messages. -/** - * It calls - * tactigon_msgs__msg__TSkinState__fini() - * for each element of the array and frees the memory for the number of - * elements. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__TSkinState__Sequence__fini(tactigon_msgs__msg__TSkinState__Sequence * array); - -/// Create array of msg/TSkinState messages. -/** - * It allocates the memory for the array and calls - * tactigon_msgs__msg__TSkinState__Sequence__init(). - * \param[in] size The size / capacity of the array. - * \return The pointer to the initialized array if successful, otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__TSkinState__Sequence * -tactigon_msgs__msg__TSkinState__Sequence__create(size_t size); - -/// Destroy array of msg/TSkinState messages. -/** - * It calls - * tactigon_msgs__msg__TSkinState__Sequence__fini() - * on the array, - * and frees the memory of the array. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__TSkinState__Sequence__destroy(tactigon_msgs__msg__TSkinState__Sequence * array); - -/// Check for msg/TSkinState message array equality. -/** - * \param[in] lhs The message array on the left hand size of the equality operator. - * \param[in] rhs The message array on the right hand size of the equality operator. - * \return true if message arrays are equal in size and content, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__Sequence__are_equal(const tactigon_msgs__msg__TSkinState__Sequence * lhs, const tactigon_msgs__msg__TSkinState__Sequence * rhs); - -/// Copy an array of msg/TSkinState messages. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source array pointer. - * \param[out] output The target array pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer - * is null or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__TSkinState__Sequence__copy( - const tactigon_msgs__msg__TSkinState__Sequence * input, - tactigon_msgs__msg__TSkinState__Sequence * output); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__FUNCTIONS_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_c.h deleted file mode 100644 index 4e59635..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_c.h +++ /dev/null @@ -1,65 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ - - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h" -#include "tactigon_msgs/msg/detail/t_skin_state__struct.h" -#include "fastcdr/Cdr.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_tactigon_msgs__msg__TSkinState( - const tactigon_msgs__msg__TSkinState * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_deserialize_tactigon_msgs__msg__TSkinState( - eprosima::fastcdr::Cdr &, - tactigon_msgs__msg__TSkinState * ros_message); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_tactigon_msgs__msg__TSkinState( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_tactigon_msgs__msg__TSkinState( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_key_tactigon_msgs__msg__TSkinState( - const tactigon_msgs__msg__TSkinState * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_key_tactigon_msgs__msg__TSkinState( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_key_tactigon_msgs__msg__TSkinState( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, tactigon_msgs, msg, TSkinState)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_cpp.hpp deleted file mode 100644 index 0d03ff2..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_fastrtps_cpp.hpp +++ /dev/null @@ -1,100 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h" -#include "tactigon_msgs/msg/detail/t_skin_state__struct.hpp" - -#ifndef _WIN32 -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# ifdef __clang__ -# pragma clang diagnostic ignored "-Wdeprecated-register" -# pragma clang diagnostic ignored "-Wreturn-type-c-linkage" -# endif -#endif -#ifndef _WIN32 -# pragma GCC diagnostic pop -#endif - -#include "fastcdr/Cdr.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace typesupport_fastrtps_cpp -{ - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize( - const tactigon_msgs::msg::TSkinState & ros_message, - eprosima::fastcdr::Cdr & cdr); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_deserialize( - eprosima::fastcdr::Cdr & cdr, - tactigon_msgs::msg::TSkinState & ros_message); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size( - const tactigon_msgs::msg::TSkinState & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_TSkinState( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize_key( - const tactigon_msgs::msg::TSkinState & ros_message, - eprosima::fastcdr::Cdr &); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size_key( - const tactigon_msgs::msg::TSkinState & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_key_TSkinState( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -} // namespace typesupport_fastrtps_cpp - -} // namespace msg - -} // namespace tactigon_msgs - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, tactigon_msgs, msg, TSkinState)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_c.h deleted file mode 100644 index 6fdbf4c..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_c.h +++ /dev/null @@ -1,26 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, TSkinState)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_cpp.hpp deleted file mode 100644 index eaab9c7..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_cpp.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -// TODO(dirk-thomas) these visibility macros should be message package specific -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, TSkinState)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.h deleted file mode 100644 index 678e056..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.h +++ /dev/null @@ -1,77 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__struct.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include -#include - -// Constants defined in the message - -/// Constant 'BLE_SELECTOR_NONE'. -enum -{ - tactigon_msgs__msg__TSkinState__BLE_SELECTOR_NONE = 0 -}; - -/// Constant 'BLE_SELECTOR_SENSORS'. -enum -{ - tactigon_msgs__msg__TSkinState__BLE_SELECTOR_SENSORS = 1 -}; - -/// Constant 'BLE_SELECTOR_AUDIO'. -enum -{ - tactigon_msgs__msg__TSkinState__BLE_SELECTOR_AUDIO = 2 -}; - -// Include directives for member types -// Member 'touchpad' -#include "tactigon_msgs/msg/detail/touch__struct.h" -// Member 'angle' -#include "tactigon_msgs/msg/detail/angle__struct.h" -// Member 'gesture' -#include "tactigon_msgs/msg/detail/gesture__struct.h" - -/// Struct defined in msg/TSkinState in the package tactigon_msgs. -typedef struct tactigon_msgs__msg__TSkinState -{ - bool connected; - float battery; - uint8_t selector; - bool selector_valid; - tactigon_msgs__msg__Touch touchpad; - bool touchpad_valid; - tactigon_msgs__msg__Angle angle; - bool angle_valid; - tactigon_msgs__msg__Gesture gesture; - bool gesture_valid; -} tactigon_msgs__msg__TSkinState; - -// Struct for a sequence of tactigon_msgs__msg__TSkinState. -typedef struct tactigon_msgs__msg__TSkinState__Sequence -{ - tactigon_msgs__msg__TSkinState * data; - /// The number of valid items in data - size_t size; - /// The number of allocated items in data - size_t capacity; -} tactigon_msgs__msg__TSkinState__Sequence; - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.hpp deleted file mode 100644 index 33def37..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__struct.hpp +++ /dev/null @@ -1,288 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_HPP_ - -#include -#include -#include -#include -#include - -#include "rosidl_runtime_cpp/bounded_vector.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -// Include directives for member types -// Member 'touchpad' -#include "tactigon_msgs/msg/detail/touch__struct.hpp" -// Member 'angle' -#include "tactigon_msgs/msg/detail/angle__struct.hpp" -// Member 'gesture' -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" - -#ifndef _WIN32 -# define DEPRECATED__tactigon_msgs__msg__TSkinState __attribute__((deprecated)) -#else -# define DEPRECATED__tactigon_msgs__msg__TSkinState __declspec(deprecated) -#endif - -namespace tactigon_msgs -{ - -namespace msg -{ - -// message struct -template -struct TSkinState_ -{ - using Type = TSkinState_; - - explicit TSkinState_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - : touchpad(_init), - angle(_init), - gesture(_init) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->connected = false; - this->battery = 0.0f; - this->selector = 0; - this->selector_valid = false; - this->touchpad_valid = false; - this->angle_valid = false; - this->gesture_valid = false; - } - } - - explicit TSkinState_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - : touchpad(_alloc, _init), - angle(_alloc, _init), - gesture(_alloc, _init) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->connected = false; - this->battery = 0.0f; - this->selector = 0; - this->selector_valid = false; - this->touchpad_valid = false; - this->angle_valid = false; - this->gesture_valid = false; - } - } - - // field types and members - using _connected_type = - bool; - _connected_type connected; - using _battery_type = - float; - _battery_type battery; - using _selector_type = - uint8_t; - _selector_type selector; - using _selector_valid_type = - bool; - _selector_valid_type selector_valid; - using _touchpad_type = - tactigon_msgs::msg::Touch_; - _touchpad_type touchpad; - using _touchpad_valid_type = - bool; - _touchpad_valid_type touchpad_valid; - using _angle_type = - tactigon_msgs::msg::Angle_; - _angle_type angle; - using _angle_valid_type = - bool; - _angle_valid_type angle_valid; - using _gesture_type = - tactigon_msgs::msg::Gesture_; - _gesture_type gesture; - using _gesture_valid_type = - bool; - _gesture_valid_type gesture_valid; - - // setters for named parameter idiom - Type & set__connected( - const bool & _arg) - { - this->connected = _arg; - return *this; - } - Type & set__battery( - const float & _arg) - { - this->battery = _arg; - return *this; - } - Type & set__selector( - const uint8_t & _arg) - { - this->selector = _arg; - return *this; - } - Type & set__selector_valid( - const bool & _arg) - { - this->selector_valid = _arg; - return *this; - } - Type & set__touchpad( - const tactigon_msgs::msg::Touch_ & _arg) - { - this->touchpad = _arg; - return *this; - } - Type & set__touchpad_valid( - const bool & _arg) - { - this->touchpad_valid = _arg; - return *this; - } - Type & set__angle( - const tactigon_msgs::msg::Angle_ & _arg) - { - this->angle = _arg; - return *this; - } - Type & set__angle_valid( - const bool & _arg) - { - this->angle_valid = _arg; - return *this; - } - Type & set__gesture( - const tactigon_msgs::msg::Gesture_ & _arg) - { - this->gesture = _arg; - return *this; - } - Type & set__gesture_valid( - const bool & _arg) - { - this->gesture_valid = _arg; - return *this; - } - - // constant declarations - static constexpr uint8_t BLE_SELECTOR_NONE = - 0u; - static constexpr uint8_t BLE_SELECTOR_SENSORS = - 1u; - static constexpr uint8_t BLE_SELECTOR_AUDIO = - 2u; - - // pointer types - using RawPtr = - tactigon_msgs::msg::TSkinState_ *; - using ConstRawPtr = - const tactigon_msgs::msg::TSkinState_ *; - using SharedPtr = - std::shared_ptr>; - using ConstSharedPtr = - std::shared_ptr const>; - - template>> - using UniquePtrWithDeleter = - std::unique_ptr, Deleter>; - - using UniquePtr = UniquePtrWithDeleter<>; - - template>> - using ConstUniquePtrWithDeleter = - std::unique_ptr const, Deleter>; - using ConstUniquePtr = ConstUniquePtrWithDeleter<>; - - using WeakPtr = - std::weak_ptr>; - using ConstWeakPtr = - std::weak_ptr const>; - - // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead - // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly - typedef DEPRECATED__tactigon_msgs__msg__TSkinState - std::shared_ptr> - Ptr; - typedef DEPRECATED__tactigon_msgs__msg__TSkinState - std::shared_ptr const> - ConstPtr; - - // comparison operators - bool operator==(const TSkinState_ & other) const - { - if (this->connected != other.connected) { - return false; - } - if (this->battery != other.battery) { - return false; - } - if (this->selector != other.selector) { - return false; - } - if (this->selector_valid != other.selector_valid) { - return false; - } - if (this->touchpad != other.touchpad) { - return false; - } - if (this->touchpad_valid != other.touchpad_valid) { - return false; - } - if (this->angle != other.angle) { - return false; - } - if (this->angle_valid != other.angle_valid) { - return false; - } - if (this->gesture != other.gesture) { - return false; - } - if (this->gesture_valid != other.gesture_valid) { - return false; - } - return true; - } - bool operator!=(const TSkinState_ & other) const - { - return !this->operator==(other); - } -}; // struct TSkinState_ - -// alias to use template instance with default allocator -using TSkinState = - tactigon_msgs::msg::TSkinState_>; - -// constant definitions -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t TSkinState_::BLE_SELECTOR_NONE; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t TSkinState_::BLE_SELECTOR_SENSORS; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t TSkinState_::BLE_SELECTOR_AUDIO; -#endif // __cplusplus < 201703L - -} // namespace msg - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__STRUCT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__traits.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__traits.hpp deleted file mode 100644 index 29d97a0..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__traits.hpp +++ /dev/null @@ -1,270 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TRAITS_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TRAITS_HPP_ - -#include - -#include -#include -#include - -#include "tactigon_msgs/msg/detail/t_skin_state__struct.hpp" -#include "rosidl_runtime_cpp/traits.hpp" - -// Include directives for member types -// Member 'touchpad' -#include "tactigon_msgs/msg/detail/touch__traits.hpp" -// Member 'angle' -#include "tactigon_msgs/msg/detail/angle__traits.hpp" -// Member 'gesture' -#include "tactigon_msgs/msg/detail/gesture__traits.hpp" - -namespace tactigon_msgs -{ - -namespace msg -{ - -inline void to_flow_style_yaml( - const TSkinState & msg, - std::ostream & out) -{ - out << "{"; - // member: connected - { - out << "connected: "; - rosidl_generator_traits::value_to_yaml(msg.connected, out); - out << ", "; - } - - // member: battery - { - out << "battery: "; - rosidl_generator_traits::value_to_yaml(msg.battery, out); - out << ", "; - } - - // member: selector - { - out << "selector: "; - rosidl_generator_traits::value_to_yaml(msg.selector, out); - out << ", "; - } - - // member: selector_valid - { - out << "selector_valid: "; - rosidl_generator_traits::value_to_yaml(msg.selector_valid, out); - out << ", "; - } - - // member: touchpad - { - out << "touchpad: "; - to_flow_style_yaml(msg.touchpad, out); - out << ", "; - } - - // member: touchpad_valid - { - out << "touchpad_valid: "; - rosidl_generator_traits::value_to_yaml(msg.touchpad_valid, out); - out << ", "; - } - - // member: angle - { - out << "angle: "; - to_flow_style_yaml(msg.angle, out); - out << ", "; - } - - // member: angle_valid - { - out << "angle_valid: "; - rosidl_generator_traits::value_to_yaml(msg.angle_valid, out); - out << ", "; - } - - // member: gesture - { - out << "gesture: "; - to_flow_style_yaml(msg.gesture, out); - out << ", "; - } - - // member: gesture_valid - { - out << "gesture_valid: "; - rosidl_generator_traits::value_to_yaml(msg.gesture_valid, out); - } - out << "}"; -} // NOLINT(readability/fn_size) - -inline void to_block_style_yaml( - const TSkinState & msg, - std::ostream & out, size_t indentation = 0) -{ - // member: connected - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "connected: "; - rosidl_generator_traits::value_to_yaml(msg.connected, out); - out << "\n"; - } - - // member: battery - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "battery: "; - rosidl_generator_traits::value_to_yaml(msg.battery, out); - out << "\n"; - } - - // member: selector - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "selector: "; - rosidl_generator_traits::value_to_yaml(msg.selector, out); - out << "\n"; - } - - // member: selector_valid - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "selector_valid: "; - rosidl_generator_traits::value_to_yaml(msg.selector_valid, out); - out << "\n"; - } - - // member: touchpad - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "touchpad:\n"; - to_block_style_yaml(msg.touchpad, out, indentation + 2); - } - - // member: touchpad_valid - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "touchpad_valid: "; - rosidl_generator_traits::value_to_yaml(msg.touchpad_valid, out); - out << "\n"; - } - - // member: angle - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "angle:\n"; - to_block_style_yaml(msg.angle, out, indentation + 2); - } - - // member: angle_valid - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "angle_valid: "; - rosidl_generator_traits::value_to_yaml(msg.angle_valid, out); - out << "\n"; - } - - // member: gesture - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "gesture:\n"; - to_block_style_yaml(msg.gesture, out, indentation + 2); - } - - // member: gesture_valid - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "gesture_valid: "; - rosidl_generator_traits::value_to_yaml(msg.gesture_valid, out); - out << "\n"; - } -} // NOLINT(readability/fn_size) - -inline std::string to_yaml(const TSkinState & msg, bool use_flow_style = false) -{ - std::ostringstream out; - if (use_flow_style) { - to_flow_style_yaml(msg, out); - } else { - to_block_style_yaml(msg, out); - } - return out.str(); -} - -} // namespace msg - -} // namespace tactigon_msgs - -namespace rosidl_generator_traits -{ - -[[deprecated("use tactigon_msgs::msg::to_block_style_yaml() instead")]] -inline void to_yaml( - const tactigon_msgs::msg::TSkinState & msg, - std::ostream & out, size_t indentation = 0) -{ - tactigon_msgs::msg::to_block_style_yaml(msg, out, indentation); -} - -[[deprecated("use tactigon_msgs::msg::to_yaml() instead")]] -inline std::string to_yaml(const tactigon_msgs::msg::TSkinState & msg) -{ - return tactigon_msgs::msg::to_yaml(msg); -} - -template<> -inline const char * data_type() -{ - return "tactigon_msgs::msg::TSkinState"; -} - -template<> -inline const char * name() -{ - return "tactigon_msgs/msg/TSkinState"; -} - -template<> -struct has_fixed_size - : std::integral_constant::value && has_fixed_size::value && has_fixed_size::value> {}; - -template<> -struct has_bounded_size - : std::integral_constant::value && has_bounded_size::value && has_bounded_size::value> {}; - -template<> -struct is_message - : std::true_type {}; - -} // namespace rosidl_generator_traits - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TRAITS_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.c deleted file mode 100644 index a2b780c..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.c +++ /dev/null @@ -1,270 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#include -#include "tactigon_msgs/msg/detail/t_skin_state__rosidl_typesupport_introspection_c.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" -#include "rosidl_typesupport_introspection_c/field_types.h" -#include "rosidl_typesupport_introspection_c/identifier.h" -#include "rosidl_typesupport_introspection_c/message_introspection.h" -#include "tactigon_msgs/msg/detail/t_skin_state__functions.h" -#include "tactigon_msgs/msg/detail/t_skin_state__struct.h" - - -// Include directives for member types -// Member `touchpad` -#include "tactigon_msgs/msg/touch.h" -// Member `touchpad` -#include "tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_c.h" -// Member `angle` -#include "tactigon_msgs/msg/angle.h" -// Member `angle` -#include "tactigon_msgs/msg/detail/angle__rosidl_typesupport_introspection_c.h" -// Member `gesture` -#include "tactigon_msgs/msg/gesture.h" -// Member `gesture` -#include "tactigon_msgs/msg/detail/gesture__rosidl_typesupport_introspection_c.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -void tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_init_function( - void * message_memory, enum rosidl_runtime_c__message_initialization _init) -{ - // TODO(karsten1987): initializers are not yet implemented for typesupport c - // see https://github.com/ros2/ros2/issues/397 - (void) _init; - tactigon_msgs__msg__TSkinState__init(message_memory); -} - -void tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_fini_function(void * message_memory) -{ - tactigon_msgs__msg__TSkinState__fini(message_memory); -} - -static rosidl_typesupport_introspection_c__MessageMember tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_member_array[10] = { - { - "connected", // name - rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, connected), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "battery", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, battery), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "selector", // name - rosidl_typesupport_introspection_c__ROS_TYPE_UINT8, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, selector), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "selector_valid", // name - rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, selector_valid), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "touchpad", // name - rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - NULL, // members of sub message (initialized later) - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, touchpad), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "touchpad_valid", // name - rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, touchpad_valid), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "angle", // name - rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - NULL, // members of sub message (initialized later) - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, angle), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "angle_valid", // name - rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, angle_valid), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "gesture", // name - rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - NULL, // members of sub message (initialized later) - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, gesture), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "gesture_valid", // name - rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__TSkinState, gesture_valid), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - } -}; - -static const rosidl_typesupport_introspection_c__MessageMembers tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_members = { - "tactigon_msgs__msg", // message namespace - "TSkinState", // message name - 10, // number of fields - sizeof(tactigon_msgs__msg__TSkinState), - false, // has_any_key_member_ - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_member_array, // message members - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_init_function, // function to initialize message memory (memory has to be allocated) - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_fini_function // function to terminate message instance (will not free memory) -}; - -// this is not const since it must be initialized on first access -// since C does not allow non-integral compile-time constants -static rosidl_message_type_support_t tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_type_support_handle = { - 0, - &tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__TSkinState__get_type_hash, - &tactigon_msgs__msg__TSkinState__get_type_description, - &tactigon_msgs__msg__TSkinState__get_type_description_sources, -}; - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, TSkinState)() { - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_member_array[4].members_ = - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Touch)(); - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_member_array[6].members_ = - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Angle)(); - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_member_array[8].members_ = - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Gesture)(); - if (!tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_type_support_handle.typesupport_identifier) { - tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_type_support_handle.typesupport_identifier = - rosidl_typesupport_introspection_c__identifier; - } - return &tactigon_msgs__msg__TSkinState__rosidl_typesupport_introspection_c__TSkinState_message_type_support_handle; -} -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.cpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.cpp deleted file mode 100644 index 1a10bca..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.cpp +++ /dev/null @@ -1,277 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#include "array" -#include "cstddef" -#include "string" -#include "vector" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_cpp/message_type_support.hpp" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/detail/t_skin_state__functions.h" -#include "tactigon_msgs/msg/detail/t_skin_state__struct.hpp" -#include "rosidl_typesupport_introspection_cpp/field_types.hpp" -#include "rosidl_typesupport_introspection_cpp/identifier.hpp" -#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp" -#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace rosidl_typesupport_introspection_cpp -{ - -void TSkinState_init_function( - void * message_memory, rosidl_runtime_cpp::MessageInitialization _init) -{ - new (message_memory) tactigon_msgs::msg::TSkinState(_init); -} - -void TSkinState_fini_function(void * message_memory) -{ - auto typed_message = static_cast(message_memory); - typed_message->~TSkinState(); -} - -static const ::rosidl_typesupport_introspection_cpp::MessageMember TSkinState_message_member_array[10] = { - { - "connected", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, connected), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "battery", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, battery), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "selector", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_UINT8, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, selector), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "selector_valid", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, selector_valid), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "touchpad", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, touchpad), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "touchpad_valid", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, touchpad_valid), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "angle", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, angle), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "angle_valid", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, angle_valid), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "gesture", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type - 0, // upper bound of string - ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, gesture), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "gesture_valid", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::TSkinState, gesture_valid), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - } -}; - -static const ::rosidl_typesupport_introspection_cpp::MessageMembers TSkinState_message_members = { - "tactigon_msgs::msg", // message namespace - "TSkinState", // message name - 10, // number of fields - sizeof(tactigon_msgs::msg::TSkinState), - false, // has_any_key_member_ - TSkinState_message_member_array, // message members - TSkinState_init_function, // function to initialize message memory (memory has to be allocated) - TSkinState_fini_function // function to terminate message instance (will not free memory) -}; - -static const rosidl_message_type_support_t TSkinState_message_type_support_handle = { - ::rosidl_typesupport_introspection_cpp::typesupport_identifier, - &TSkinState_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__TSkinState__get_type_hash, - &tactigon_msgs__msg__TSkinState__get_type_description, - &tactigon_msgs__msg__TSkinState__get_type_description_sources, -}; - -} // namespace rosidl_typesupport_introspection_cpp - -} // namespace msg - -} // namespace tactigon_msgs - - -namespace rosidl_typesupport_introspection_cpp -{ - -template<> -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -get_message_type_support_handle() -{ - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::TSkinState_message_type_support_handle; -} - -} // namespace rosidl_typesupport_introspection_cpp - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, TSkinState)() { - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::TSkinState_message_type_support_handle; -} - -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.h deleted file mode 100644 index 00bea22..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.h +++ /dev/null @@ -1,36 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__type_support.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/t_skin_state.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_H_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include "rosidl_runtime_c/message_type_support_struct.h" - -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_c, - tactigon_msgs, - msg, - TSkinState -)(void); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.hpp deleted file mode 100644 index 01daa2f..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/t_skin_state__type_support.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_HPP_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp" - -#include "rosidl_typesupport_cpp/message_type_support.hpp" - -#ifdef __cplusplus -extern "C" -{ -#endif -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_cpp, - tactigon_msgs, - msg, - TSkinState -)(); -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__T_SKIN_STATE__TYPE_SUPPORT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__builder.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__builder.hpp deleted file mode 100644 index e521bbc..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__builder.hpp +++ /dev/null @@ -1,107 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__BUILDER_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__BUILDER_HPP_ - -#include -#include - -#include "tactigon_msgs/msg/detail/touch__struct.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace builder -{ - -class Init_Touch_y_pos -{ -public: - explicit Init_Touch_y_pos(::tactigon_msgs::msg::Touch & msg) - : msg_(msg) - {} - ::tactigon_msgs::msg::Touch y_pos(::tactigon_msgs::msg::Touch::_y_pos_type arg) - { - msg_.y_pos = std::move(arg); - return std::move(msg_); - } - -private: - ::tactigon_msgs::msg::Touch msg_; -}; - -class Init_Touch_x_pos -{ -public: - explicit Init_Touch_x_pos(::tactigon_msgs::msg::Touch & msg) - : msg_(msg) - {} - Init_Touch_y_pos x_pos(::tactigon_msgs::msg::Touch::_x_pos_type arg) - { - msg_.x_pos = std::move(arg); - return Init_Touch_y_pos(msg_); - } - -private: - ::tactigon_msgs::msg::Touch msg_; -}; - -class Init_Touch_two_finger -{ -public: - explicit Init_Touch_two_finger(::tactigon_msgs::msg::Touch & msg) - : msg_(msg) - {} - Init_Touch_x_pos two_finger(::tactigon_msgs::msg::Touch::_two_finger_type arg) - { - msg_.two_finger = std::move(arg); - return Init_Touch_x_pos(msg_); - } - -private: - ::tactigon_msgs::msg::Touch msg_; -}; - -class Init_Touch_one_finger -{ -public: - Init_Touch_one_finger() - : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP) - {} - Init_Touch_two_finger one_finger(::tactigon_msgs::msg::Touch::_one_finger_type arg) - { - msg_.one_finger = std::move(arg); - return Init_Touch_two_finger(msg_); - } - -private: - ::tactigon_msgs::msg::Touch msg_; -}; - -} // namespace builder - -} // namespace msg - -template -auto build(); - -template<> -inline -auto build<::tactigon_msgs::msg::Touch>() -{ - return tactigon_msgs::msg::builder::Init_Touch_one_finger(); -} - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__BUILDER_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__description.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__description.c deleted file mode 100644 index 60182bb..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__description.c +++ /dev/null @@ -1,148 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__description.c.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#include "tactigon_msgs/msg/detail/touch__functions.h" - -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Touch__get_type_hash( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_type_hash_t hash = {1, { - 0x42, 0xd5, 0xc5, 0x9b, 0x19, 0x2a, 0xec, 0x8f, - 0x9c, 0x55, 0xd6, 0x15, 0xbc, 0x51, 0x9c, 0x46, - 0xc8, 0x9d, 0x65, 0x6e, 0xc9, 0xd4, 0x62, 0x5e, - 0x81, 0xd3, 0xb3, 0xfa, 0xaa, 0x24, 0x33, 0xd4, - }}; - return &hash; -} - -#include -#include - -// Include directives for referenced types - -// Hashes for external referenced types -#ifndef NDEBUG -#endif - -static char tactigon_msgs__msg__Touch__TYPE_NAME[] = "tactigon_msgs/msg/Touch"; - -// Define type names, field names, and default values -static char tactigon_msgs__msg__Touch__FIELD_NAME__one_finger[] = "one_finger"; -static char tactigon_msgs__msg__Touch__FIELD_NAME__two_finger[] = "two_finger"; -static char tactigon_msgs__msg__Touch__FIELD_NAME__x_pos[] = "x_pos"; -static char tactigon_msgs__msg__Touch__FIELD_NAME__y_pos[] = "y_pos"; - -static rosidl_runtime_c__type_description__Field tactigon_msgs__msg__Touch__FIELDS[] = { - { - {tactigon_msgs__msg__Touch__FIELD_NAME__one_finger, 10, 10}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Touch__FIELD_NAME__two_finger, 10, 10}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Touch__FIELD_NAME__x_pos, 5, 5}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, - { - {tactigon_msgs__msg__Touch__FIELD_NAME__y_pos, 5, 5}, - { - rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT, - 0, - 0, - {NULL, 0, 0}, - }, - {NULL, 0, 0}, - }, -}; - -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Touch__get_type_description( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static bool constructed = false; - static const rosidl_runtime_c__type_description__TypeDescription description = { - { - {tactigon_msgs__msg__Touch__TYPE_NAME, 23, 23}, - {tactigon_msgs__msg__Touch__FIELDS, 4, 4}, - }, - {NULL, 0, 0}, - }; - if (!constructed) { - constructed = true; - } - return &description; -} - -static char toplevel_type_raw_source[] = - "uint8 one_finger\n" - "uint8 two_finger\n" - "float32 x_pos\n" - "float32 y_pos\n" - "uint8 ONE_FINGER_NONE=0\n" - "uint8 ONE_FINGER_SINGLE_TAP=1\n" - "uint8 ONE_FINGER_TAP_AND_HOLD=2\n" - "uint8 ONE_FINGER_SWIPE_X_NEG=4\n" - "uint8 ONE_FINGER_SWIPE_X_POS=8\n" - "uint8 ONE_FINGER_SWIPE_Y_POS=16\n" - "uint8 ONE_FINGER_SWIPE_Y_NEG=32\n" - "uint8 TWO_FINGER_NONE=0\n" - "uint8 TWO_FINGER_TAP=1\n" - "uint8 TWO_FINGER_SCROLL=2\n" - "uint8 TWO_FINGER_ZOOM=4"; - -static char msg_encoding[] = "msg"; - -// Define all individual source functions - -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Touch__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static const rosidl_runtime_c__type_description__TypeSource source = { - {tactigon_msgs__msg__Touch__TYPE_NAME, 23, 23}, - {msg_encoding, 3, 3}, - {toplevel_type_raw_source, 370, 370}, - }; - return &source; -} - -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Touch__get_type_description_sources( - const rosidl_message_type_support_t * type_support) -{ - (void)type_support; - static rosidl_runtime_c__type_description__TypeSource sources[1]; - static const rosidl_runtime_c__type_description__TypeSource__Sequence source_sequence = {sources, 1, 1}; - static bool constructed = false; - if (!constructed) { - sources[0] = *tactigon_msgs__msg__Touch__get_individual_type_description_source(NULL), - constructed = true; - } - return &source_sequence; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.c deleted file mode 100644 index 5cb9f09..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.c +++ /dev/null @@ -1,260 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.c.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice -#include "tactigon_msgs/msg/detail/touch__functions.h" - -#include -#include -#include -#include - -#include "rcutils/allocator.h" - - -bool -tactigon_msgs__msg__Touch__init(tactigon_msgs__msg__Touch * msg) -{ - if (!msg) { - return false; - } - // one_finger - // two_finger - // x_pos - // y_pos - return true; -} - -void -tactigon_msgs__msg__Touch__fini(tactigon_msgs__msg__Touch * msg) -{ - if (!msg) { - return; - } - // one_finger - // two_finger - // x_pos - // y_pos -} - -bool -tactigon_msgs__msg__Touch__are_equal(const tactigon_msgs__msg__Touch * lhs, const tactigon_msgs__msg__Touch * rhs) -{ - if (!lhs || !rhs) { - return false; - } - // one_finger - if (lhs->one_finger != rhs->one_finger) { - return false; - } - // two_finger - if (lhs->two_finger != rhs->two_finger) { - return false; - } - // x_pos - if (lhs->x_pos != rhs->x_pos) { - return false; - } - // y_pos - if (lhs->y_pos != rhs->y_pos) { - return false; - } - return true; -} - -bool -tactigon_msgs__msg__Touch__copy( - const tactigon_msgs__msg__Touch * input, - tactigon_msgs__msg__Touch * output) -{ - if (!input || !output) { - return false; - } - // one_finger - output->one_finger = input->one_finger; - // two_finger - output->two_finger = input->two_finger; - // x_pos - output->x_pos = input->x_pos; - // y_pos - output->y_pos = input->y_pos; - return true; -} - -tactigon_msgs__msg__Touch * -tactigon_msgs__msg__Touch__create(void) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Touch * msg = (tactigon_msgs__msg__Touch *)allocator.allocate(sizeof(tactigon_msgs__msg__Touch), allocator.state); - if (!msg) { - return NULL; - } - memset(msg, 0, sizeof(tactigon_msgs__msg__Touch)); - bool success = tactigon_msgs__msg__Touch__init(msg); - if (!success) { - allocator.deallocate(msg, allocator.state); - return NULL; - } - return msg; -} - -void -tactigon_msgs__msg__Touch__destroy(tactigon_msgs__msg__Touch * msg) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (msg) { - tactigon_msgs__msg__Touch__fini(msg); - } - allocator.deallocate(msg, allocator.state); -} - - -bool -tactigon_msgs__msg__Touch__Sequence__init(tactigon_msgs__msg__Touch__Sequence * array, size_t size) -{ - if (!array) { - return false; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Touch * data = NULL; - - if (size) { - data = (tactigon_msgs__msg__Touch *)allocator.zero_allocate(size, sizeof(tactigon_msgs__msg__Touch), allocator.state); - if (!data) { - return false; - } - // initialize all array elements - size_t i; - for (i = 0; i < size; ++i) { - bool success = tactigon_msgs__msg__Touch__init(&data[i]); - if (!success) { - break; - } - } - if (i < size) { - // if initialization failed finalize the already initialized array elements - for (; i > 0; --i) { - tactigon_msgs__msg__Touch__fini(&data[i - 1]); - } - allocator.deallocate(data, allocator.state); - return false; - } - } - array->data = data; - array->size = size; - array->capacity = size; - return true; -} - -void -tactigon_msgs__msg__Touch__Sequence__fini(tactigon_msgs__msg__Touch__Sequence * array) -{ - if (!array) { - return; - } - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - - if (array->data) { - // ensure that data and capacity values are consistent - assert(array->capacity > 0); - // finalize all array elements - for (size_t i = 0; i < array->capacity; ++i) { - tactigon_msgs__msg__Touch__fini(&array->data[i]); - } - allocator.deallocate(array->data, allocator.state); - array->data = NULL; - array->size = 0; - array->capacity = 0; - } else { - // ensure that data, size, and capacity values are consistent - assert(0 == array->size); - assert(0 == array->capacity); - } -} - -tactigon_msgs__msg__Touch__Sequence * -tactigon_msgs__msg__Touch__Sequence__create(size_t size) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Touch__Sequence * array = (tactigon_msgs__msg__Touch__Sequence *)allocator.allocate(sizeof(tactigon_msgs__msg__Touch__Sequence), allocator.state); - if (!array) { - return NULL; - } - bool success = tactigon_msgs__msg__Touch__Sequence__init(array, size); - if (!success) { - allocator.deallocate(array, allocator.state); - return NULL; - } - return array; -} - -void -tactigon_msgs__msg__Touch__Sequence__destroy(tactigon_msgs__msg__Touch__Sequence * array) -{ - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - if (array) { - tactigon_msgs__msg__Touch__Sequence__fini(array); - } - allocator.deallocate(array, allocator.state); -} - -bool -tactigon_msgs__msg__Touch__Sequence__are_equal(const tactigon_msgs__msg__Touch__Sequence * lhs, const tactigon_msgs__msg__Touch__Sequence * rhs) -{ - if (!lhs || !rhs) { - return false; - } - if (lhs->size != rhs->size) { - return false; - } - for (size_t i = 0; i < lhs->size; ++i) { - if (!tactigon_msgs__msg__Touch__are_equal(&(lhs->data[i]), &(rhs->data[i]))) { - return false; - } - } - return true; -} - -bool -tactigon_msgs__msg__Touch__Sequence__copy( - const tactigon_msgs__msg__Touch__Sequence * input, - tactigon_msgs__msg__Touch__Sequence * output) -{ - if (!input || !output) { - return false; - } - if (output->capacity < input->size) { - const size_t allocation_size = - input->size * sizeof(tactigon_msgs__msg__Touch); - rcutils_allocator_t allocator = rcutils_get_default_allocator(); - tactigon_msgs__msg__Touch * data = - (tactigon_msgs__msg__Touch *)allocator.reallocate( - output->data, allocation_size, allocator.state); - if (!data) { - return false; - } - // If reallocation succeeded, memory may or may not have been moved - // to fulfill the allocation request, invalidating output->data. - output->data = data; - for (size_t i = output->capacity; i < input->size; ++i) { - if (!tactigon_msgs__msg__Touch__init(&output->data[i])) { - // If initialization of any new item fails, roll back - // all previously initialized items. Existing items - // in output are to be left unmodified. - for (; i-- > output->capacity; ) { - tactigon_msgs__msg__Touch__fini(&output->data[i]); - } - return false; - } - } - output->capacity = input->size; - } - output->size = input->size; - for (size_t i = 0; i < input->size; ++i) { - if (!tactigon_msgs__msg__Touch__copy( - &(input->data[i]), &(output->data[i]))) - { - return false; - } - } - return true; -} diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.h deleted file mode 100644 index a152352..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__functions.h +++ /dev/null @@ -1,210 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__functions.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__FUNCTIONS_H_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__FUNCTIONS_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include - -#include "rosidl_runtime_c/action_type_support_struct.h" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_runtime_c/service_type_support_struct.h" -#include "rosidl_runtime_c/type_description/type_description__struct.h" -#include "rosidl_runtime_c/type_description/type_source__struct.h" -#include "rosidl_runtime_c/type_hash.h" -#include "rosidl_runtime_c/visibility_control.h" -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#include "tactigon_msgs/msg/detail/touch__struct.h" - -/// Initialize msg/Touch message. -/** - * If the init function is called twice for the same message without - * calling fini inbetween previously allocated memory will be leaked. - * \param[in,out] msg The previously allocated message pointer. - * Fields without a default value will not be initialized by this function. - * You might want to call memset(msg, 0, sizeof( - * tactigon_msgs__msg__Touch - * )) before or use - * tactigon_msgs__msg__Touch__create() - * to allocate and initialize the message. - * \return true if initialization was successful, otherwise false - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__init(tactigon_msgs__msg__Touch * msg); - -/// Finalize msg/Touch message. -/** - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Touch__fini(tactigon_msgs__msg__Touch * msg); - -/// Create msg/Touch message. -/** - * It allocates the memory for the message, sets the memory to zero, and - * calls - * tactigon_msgs__msg__Touch__init(). - * \return The pointer to the initialized message if successful, - * otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Touch * -tactigon_msgs__msg__Touch__create(void); - -/// Destroy msg/Touch message. -/** - * It calls - * tactigon_msgs__msg__Touch__fini() - * and frees the memory of the message. - * \param[in,out] msg The allocated message pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Touch__destroy(tactigon_msgs__msg__Touch * msg); - -/// Check for msg/Touch message equality. -/** - * \param[in] lhs The message on the left hand size of the equality operator. - * \param[in] rhs The message on the right hand size of the equality operator. - * \return true if messages are equal, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__are_equal(const tactigon_msgs__msg__Touch * lhs, const tactigon_msgs__msg__Touch * rhs); - -/// Copy a msg/Touch message. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source message pointer. - * \param[out] output The target message pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer is null - * or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__copy( - const tactigon_msgs__msg__Touch * input, - tactigon_msgs__msg__Touch * output); - -/// Retrieve pointer to the hash of the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_type_hash_t * -tactigon_msgs__msg__Touch__get_type_hash( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeDescription * -tactigon_msgs__msg__Touch__get_type_description( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the single raw source text that defined this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource * -tactigon_msgs__msg__Touch__get_individual_type_description_source( - const rosidl_message_type_support_t * type_support); - -/// Retrieve pointer to the recursive raw sources that defined the description of this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_runtime_c__type_description__TypeSource__Sequence * -tactigon_msgs__msg__Touch__get_type_description_sources( - const rosidl_message_type_support_t * type_support); - -/// Initialize array of msg/Touch messages. -/** - * It allocates the memory for the number of elements and calls - * tactigon_msgs__msg__Touch__init() - * for each element of the array. - * \param[in,out] array The allocated array pointer. - * \param[in] size The size / capacity of the array. - * \return true if initialization was successful, otherwise false - * If the array pointer is valid and the size is zero it is guaranteed - # to return true. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__Sequence__init(tactigon_msgs__msg__Touch__Sequence * array, size_t size); - -/// Finalize array of msg/Touch messages. -/** - * It calls - * tactigon_msgs__msg__Touch__fini() - * for each element of the array and frees the memory for the number of - * elements. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Touch__Sequence__fini(tactigon_msgs__msg__Touch__Sequence * array); - -/// Create array of msg/Touch messages. -/** - * It allocates the memory for the array and calls - * tactigon_msgs__msg__Touch__Sequence__init(). - * \param[in] size The size / capacity of the array. - * \return The pointer to the initialized array if successful, otherwise NULL - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -tactigon_msgs__msg__Touch__Sequence * -tactigon_msgs__msg__Touch__Sequence__create(size_t size); - -/// Destroy array of msg/Touch messages. -/** - * It calls - * tactigon_msgs__msg__Touch__Sequence__fini() - * on the array, - * and frees the memory of the array. - * \param[in,out] array The initialized array pointer. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -void -tactigon_msgs__msg__Touch__Sequence__destroy(tactigon_msgs__msg__Touch__Sequence * array); - -/// Check for msg/Touch message array equality. -/** - * \param[in] lhs The message array on the left hand size of the equality operator. - * \param[in] rhs The message array on the right hand size of the equality operator. - * \return true if message arrays are equal in size and content, otherwise false. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__Sequence__are_equal(const tactigon_msgs__msg__Touch__Sequence * lhs, const tactigon_msgs__msg__Touch__Sequence * rhs); - -/// Copy an array of msg/Touch messages. -/** - * This functions performs a deep copy, as opposed to the shallow copy that - * plain assignment yields. - * - * \param[in] input The source array pointer. - * \param[out] output The target array pointer, which must - * have been initialized before calling this function. - * \return true if successful, or false if either pointer - * is null or memory allocation fails. - */ -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -bool -tactigon_msgs__msg__Touch__Sequence__copy( - const tactigon_msgs__msg__Touch__Sequence * input, - tactigon_msgs__msg__Touch__Sequence * output); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__FUNCTIONS_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_c.h deleted file mode 100644 index 7a690a5..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_c.h +++ /dev/null @@ -1,65 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ - - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h" -#include "tactigon_msgs/msg/detail/touch__struct.h" -#include "fastcdr/Cdr.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_tactigon_msgs__msg__Touch( - const tactigon_msgs__msg__Touch * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_deserialize_tactigon_msgs__msg__Touch( - eprosima::fastcdr::Cdr &, - tactigon_msgs__msg__Touch * ros_message); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_tactigon_msgs__msg__Touch( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_tactigon_msgs__msg__Touch( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -bool cdr_serialize_key_tactigon_msgs__msg__Touch( - const tactigon_msgs__msg__Touch * ros_message, - eprosima::fastcdr::Cdr & cdr); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t get_serialized_size_key_tactigon_msgs__msg__Touch( - const void * untyped_ros_message, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -size_t max_serialized_size_key_tactigon_msgs__msg__Touch( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, tactigon_msgs, msg, Touch)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_cpp.hpp deleted file mode 100644 index 21c44a6..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_fastrtps_cpp.hpp +++ /dev/null @@ -1,100 +0,0 @@ -// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ - -#include -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h" -#include "tactigon_msgs/msg/detail/touch__struct.hpp" - -#ifndef _WIN32 -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# ifdef __clang__ -# pragma clang diagnostic ignored "-Wdeprecated-register" -# pragma clang diagnostic ignored "-Wreturn-type-c-linkage" -# endif -#endif -#ifndef _WIN32 -# pragma GCC diagnostic pop -#endif - -#include "fastcdr/Cdr.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace typesupport_fastrtps_cpp -{ - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize( - const tactigon_msgs::msg::Touch & ros_message, - eprosima::fastcdr::Cdr & cdr); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_deserialize( - eprosima::fastcdr::Cdr & cdr, - tactigon_msgs::msg::Touch & ros_message); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size( - const tactigon_msgs::msg::Touch & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_Touch( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -bool -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -cdr_serialize_key( - const tactigon_msgs::msg::Touch & ros_message, - eprosima::fastcdr::Cdr &); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -get_serialized_size_key( - const tactigon_msgs::msg::Touch & ros_message, - size_t current_alignment); - -size_t -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -max_serialized_size_key_Touch( - bool & full_bounded, - bool & is_plain, - size_t current_alignment); - -} // namespace typesupport_fastrtps_cpp - -} // namespace msg - -} // namespace tactigon_msgs - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, tactigon_msgs, msg, Touch)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_c.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_c.h deleted file mode 100644 index 66f6eac..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_c.h +++ /dev/null @@ -1,26 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Touch)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_cpp.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_cpp.hpp deleted file mode 100644 index 94ccfa8..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_cpp.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ - - -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_interface/macros.h" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -// TODO(dirk-thomas) these visibility macros should be message package specific -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Touch)(); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.h deleted file mode 100644 index 840a838..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.h +++ /dev/null @@ -1,111 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__struct.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include -#include -#include - -// Constants defined in the message - -/// Constant 'ONE_FINGER_NONE'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_NONE = 0 -}; - -/// Constant 'ONE_FINGER_SINGLE_TAP'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_SINGLE_TAP = 1 -}; - -/// Constant 'ONE_FINGER_TAP_AND_HOLD'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_TAP_AND_HOLD = 2 -}; - -/// Constant 'ONE_FINGER_SWIPE_X_NEG'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_SWIPE_X_NEG = 4 -}; - -/// Constant 'ONE_FINGER_SWIPE_X_POS'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_SWIPE_X_POS = 8 -}; - -/// Constant 'ONE_FINGER_SWIPE_Y_POS'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_SWIPE_Y_POS = 16 -}; - -/// Constant 'ONE_FINGER_SWIPE_Y_NEG'. -enum -{ - tactigon_msgs__msg__Touch__ONE_FINGER_SWIPE_Y_NEG = 32 -}; - -/// Constant 'TWO_FINGER_NONE'. -enum -{ - tactigon_msgs__msg__Touch__TWO_FINGER_NONE = 0 -}; - -/// Constant 'TWO_FINGER_TAP'. -enum -{ - tactigon_msgs__msg__Touch__TWO_FINGER_TAP = 1 -}; - -/// Constant 'TWO_FINGER_SCROLL'. -enum -{ - tactigon_msgs__msg__Touch__TWO_FINGER_SCROLL = 2 -}; - -/// Constant 'TWO_FINGER_ZOOM'. -enum -{ - tactigon_msgs__msg__Touch__TWO_FINGER_ZOOM = 4 -}; - -/// Struct defined in msg/Touch in the package tactigon_msgs. -typedef struct tactigon_msgs__msg__Touch -{ - uint8_t one_finger; - uint8_t two_finger; - float x_pos; - float y_pos; -} tactigon_msgs__msg__Touch; - -// Struct for a sequence of tactigon_msgs__msg__Touch. -typedef struct tactigon_msgs__msg__Touch__Sequence -{ - tactigon_msgs__msg__Touch * data; - /// The number of valid items in data - size_t size; - /// The number of allocated items in data - size_t capacity; -} tactigon_msgs__msg__Touch__Sequence; - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.hpp deleted file mode 100644 index e4bba05..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__struct.hpp +++ /dev/null @@ -1,253 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_HPP_ - -#include -#include -#include -#include -#include - -#include "rosidl_runtime_cpp/bounded_vector.hpp" -#include "rosidl_runtime_cpp/message_initialization.hpp" - - -#ifndef _WIN32 -# define DEPRECATED__tactigon_msgs__msg__Touch __attribute__((deprecated)) -#else -# define DEPRECATED__tactigon_msgs__msg__Touch __declspec(deprecated) -#endif - -namespace tactigon_msgs -{ - -namespace msg -{ - -// message struct -template -struct Touch_ -{ - using Type = Touch_; - - explicit Touch_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - { - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->one_finger = 0; - this->two_finger = 0; - this->x_pos = 0.0f; - this->y_pos = 0.0f; - } - } - - explicit Touch_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) - { - (void)_alloc; - if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || - rosidl_runtime_cpp::MessageInitialization::ZERO == _init) - { - this->one_finger = 0; - this->two_finger = 0; - this->x_pos = 0.0f; - this->y_pos = 0.0f; - } - } - - // field types and members - using _one_finger_type = - uint8_t; - _one_finger_type one_finger; - using _two_finger_type = - uint8_t; - _two_finger_type two_finger; - using _x_pos_type = - float; - _x_pos_type x_pos; - using _y_pos_type = - float; - _y_pos_type y_pos; - - // setters for named parameter idiom - Type & set__one_finger( - const uint8_t & _arg) - { - this->one_finger = _arg; - return *this; - } - Type & set__two_finger( - const uint8_t & _arg) - { - this->two_finger = _arg; - return *this; - } - Type & set__x_pos( - const float & _arg) - { - this->x_pos = _arg; - return *this; - } - Type & set__y_pos( - const float & _arg) - { - this->y_pos = _arg; - return *this; - } - - // constant declarations - static constexpr uint8_t ONE_FINGER_NONE = - 0u; - static constexpr uint8_t ONE_FINGER_SINGLE_TAP = - 1u; - static constexpr uint8_t ONE_FINGER_TAP_AND_HOLD = - 2u; - static constexpr uint8_t ONE_FINGER_SWIPE_X_NEG = - 4u; - static constexpr uint8_t ONE_FINGER_SWIPE_X_POS = - 8u; - static constexpr uint8_t ONE_FINGER_SWIPE_Y_POS = - 16u; - static constexpr uint8_t ONE_FINGER_SWIPE_Y_NEG = - 32u; - static constexpr uint8_t TWO_FINGER_NONE = - 0u; - static constexpr uint8_t TWO_FINGER_TAP = - 1u; - static constexpr uint8_t TWO_FINGER_SCROLL = - 2u; - static constexpr uint8_t TWO_FINGER_ZOOM = - 4u; - - // pointer types - using RawPtr = - tactigon_msgs::msg::Touch_ *; - using ConstRawPtr = - const tactigon_msgs::msg::Touch_ *; - using SharedPtr = - std::shared_ptr>; - using ConstSharedPtr = - std::shared_ptr const>; - - template>> - using UniquePtrWithDeleter = - std::unique_ptr, Deleter>; - - using UniquePtr = UniquePtrWithDeleter<>; - - template>> - using ConstUniquePtrWithDeleter = - std::unique_ptr const, Deleter>; - using ConstUniquePtr = ConstUniquePtrWithDeleter<>; - - using WeakPtr = - std::weak_ptr>; - using ConstWeakPtr = - std::weak_ptr const>; - - // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead - // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly - typedef DEPRECATED__tactigon_msgs__msg__Touch - std::shared_ptr> - Ptr; - typedef DEPRECATED__tactigon_msgs__msg__Touch - std::shared_ptr const> - ConstPtr; - - // comparison operators - bool operator==(const Touch_ & other) const - { - if (this->one_finger != other.one_finger) { - return false; - } - if (this->two_finger != other.two_finger) { - return false; - } - if (this->x_pos != other.x_pos) { - return false; - } - if (this->y_pos != other.y_pos) { - return false; - } - return true; - } - bool operator!=(const Touch_ & other) const - { - return !this->operator==(other); - } -}; // struct Touch_ - -// alias to use template instance with default allocator -using Touch = - tactigon_msgs::msg::Touch_>; - -// constant definitions -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_NONE; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_SINGLE_TAP; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_TAP_AND_HOLD; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_SWIPE_X_NEG; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_SWIPE_X_POS; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_SWIPE_Y_POS; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::ONE_FINGER_SWIPE_Y_NEG; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::TWO_FINGER_NONE; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::TWO_FINGER_TAP; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::TWO_FINGER_SCROLL; -#endif // __cplusplus < 201703L -#if __cplusplus < 201703L -// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17 -template -constexpr uint8_t Touch_::TWO_FINGER_ZOOM; -#endif // __cplusplus < 201703L - -} // namespace msg - -} // namespace tactigon_msgs - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__STRUCT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__traits.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__traits.hpp deleted file mode 100644 index 690c9a7..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__traits.hpp +++ /dev/null @@ -1,163 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.hpp" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__TRAITS_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__TRAITS_HPP_ - -#include - -#include -#include -#include - -#include "tactigon_msgs/msg/detail/touch__struct.hpp" -#include "rosidl_runtime_cpp/traits.hpp" - -namespace tactigon_msgs -{ - -namespace msg -{ - -inline void to_flow_style_yaml( - const Touch & msg, - std::ostream & out) -{ - out << "{"; - // member: one_finger - { - out << "one_finger: "; - rosidl_generator_traits::value_to_yaml(msg.one_finger, out); - out << ", "; - } - - // member: two_finger - { - out << "two_finger: "; - rosidl_generator_traits::value_to_yaml(msg.two_finger, out); - out << ", "; - } - - // member: x_pos - { - out << "x_pos: "; - rosidl_generator_traits::value_to_yaml(msg.x_pos, out); - out << ", "; - } - - // member: y_pos - { - out << "y_pos: "; - rosidl_generator_traits::value_to_yaml(msg.y_pos, out); - } - out << "}"; -} // NOLINT(readability/fn_size) - -inline void to_block_style_yaml( - const Touch & msg, - std::ostream & out, size_t indentation = 0) -{ - // member: one_finger - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "one_finger: "; - rosidl_generator_traits::value_to_yaml(msg.one_finger, out); - out << "\n"; - } - - // member: two_finger - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "two_finger: "; - rosidl_generator_traits::value_to_yaml(msg.two_finger, out); - out << "\n"; - } - - // member: x_pos - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "x_pos: "; - rosidl_generator_traits::value_to_yaml(msg.x_pos, out); - out << "\n"; - } - - // member: y_pos - { - if (indentation > 0) { - out << std::string(indentation, ' '); - } - out << "y_pos: "; - rosidl_generator_traits::value_to_yaml(msg.y_pos, out); - out << "\n"; - } -} // NOLINT(readability/fn_size) - -inline std::string to_yaml(const Touch & msg, bool use_flow_style = false) -{ - std::ostringstream out; - if (use_flow_style) { - to_flow_style_yaml(msg, out); - } else { - to_block_style_yaml(msg, out); - } - return out.str(); -} - -} // namespace msg - -} // namespace tactigon_msgs - -namespace rosidl_generator_traits -{ - -[[deprecated("use tactigon_msgs::msg::to_block_style_yaml() instead")]] -inline void to_yaml( - const tactigon_msgs::msg::Touch & msg, - std::ostream & out, size_t indentation = 0) -{ - tactigon_msgs::msg::to_block_style_yaml(msg, out, indentation); -} - -[[deprecated("use tactigon_msgs::msg::to_yaml() instead")]] -inline std::string to_yaml(const tactigon_msgs::msg::Touch & msg) -{ - return tactigon_msgs::msg::to_yaml(msg); -} - -template<> -inline const char * data_type() -{ - return "tactigon_msgs::msg::Touch"; -} - -template<> -inline const char * name() -{ - return "tactigon_msgs/msg/Touch"; -} - -template<> -struct has_fixed_size - : std::integral_constant {}; - -template<> -struct has_bounded_size - : std::integral_constant {}; - -template<> -struct is_message - : std::true_type {}; - -} // namespace rosidl_generator_traits - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__TRAITS_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.c b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.c deleted file mode 100644 index e03bcd0..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.c +++ /dev/null @@ -1,142 +0,0 @@ -// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#include -#include "tactigon_msgs/msg/detail/touch__rosidl_typesupport_introspection_c.h" -#include "tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h" -#include "rosidl_typesupport_introspection_c/field_types.h" -#include "rosidl_typesupport_introspection_c/identifier.h" -#include "rosidl_typesupport_introspection_c/message_introspection.h" -#include "tactigon_msgs/msg/detail/touch__functions.h" -#include "tactigon_msgs/msg/detail/touch__struct.h" - - -#ifdef __cplusplus -extern "C" -{ -#endif - -void tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_init_function( - void * message_memory, enum rosidl_runtime_c__message_initialization _init) -{ - // TODO(karsten1987): initializers are not yet implemented for typesupport c - // see https://github.com/ros2/ros2/issues/397 - (void) _init; - tactigon_msgs__msg__Touch__init(message_memory); -} - -void tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_fini_function(void * message_memory) -{ - tactigon_msgs__msg__Touch__fini(message_memory); -} - -static rosidl_typesupport_introspection_c__MessageMember tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_member_array[4] = { - { - "one_finger", // name - rosidl_typesupport_introspection_c__ROS_TYPE_UINT8, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Touch, one_finger), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "two_finger", // name - rosidl_typesupport_introspection_c__ROS_TYPE_UINT8, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Touch, two_finger), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "x_pos", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Touch, x_pos), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - }, - { - "y_pos", // name - rosidl_typesupport_introspection_c__ROS_TYPE_FLOAT, // type - 0, // upper bound of string - NULL, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs__msg__Touch, y_pos), // bytes offset in struct - NULL, // default value - NULL, // size() function pointer - NULL, // get_const(index) function pointer - NULL, // get(index) function pointer - NULL, // fetch(index, &value) function pointer - NULL, // assign(index, value) function pointer - NULL // resize(index) function pointer - } -}; - -static const rosidl_typesupport_introspection_c__MessageMembers tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_members = { - "tactigon_msgs__msg", // message namespace - "Touch", // message name - 4, // number of fields - sizeof(tactigon_msgs__msg__Touch), - false, // has_any_key_member_ - tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_member_array, // message members - tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_init_function, // function to initialize message memory (memory has to be allocated) - tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_fini_function // function to terminate message instance (will not free memory) -}; - -// this is not const since it must be initialized on first access -// since C does not allow non-integral compile-time constants -static rosidl_message_type_support_t tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_type_support_handle = { - 0, - &tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Touch__get_type_hash, - &tactigon_msgs__msg__Touch__get_type_description, - &tactigon_msgs__msg__Touch__get_type_description_sources, -}; - -ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, tactigon_msgs, msg, Touch)() { - if (!tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_type_support_handle.typesupport_identifier) { - tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_type_support_handle.typesupport_identifier = - rosidl_typesupport_introspection_c__identifier; - } - return &tactigon_msgs__msg__Touch__rosidl_typesupport_introspection_c__Touch_message_type_support_handle; -} -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.cpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.cpp deleted file mode 100644 index 02d6c5d..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#include "array" -#include "cstddef" -#include "string" -#include "vector" -#include "rosidl_runtime_c/message_type_support_struct.h" -#include "rosidl_typesupport_cpp/message_type_support.hpp" -#include "rosidl_typesupport_interface/macros.h" -#include "tactigon_msgs/msg/detail/touch__functions.h" -#include "tactigon_msgs/msg/detail/touch__struct.hpp" -#include "rosidl_typesupport_introspection_cpp/field_types.hpp" -#include "rosidl_typesupport_introspection_cpp/identifier.hpp" -#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp" -#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp" -#include "rosidl_typesupport_introspection_cpp/visibility_control.h" - -namespace tactigon_msgs -{ - -namespace msg -{ - -namespace rosidl_typesupport_introspection_cpp -{ - -void Touch_init_function( - void * message_memory, rosidl_runtime_cpp::MessageInitialization _init) -{ - new (message_memory) tactigon_msgs::msg::Touch(_init); -} - -void Touch_fini_function(void * message_memory) -{ - auto typed_message = static_cast(message_memory); - typed_message->~Touch(); -} - -static const ::rosidl_typesupport_introspection_cpp::MessageMember Touch_message_member_array[4] = { - { - "one_finger", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_UINT8, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Touch, one_finger), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "two_finger", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_UINT8, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Touch, two_finger), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "x_pos", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Touch, x_pos), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - }, - { - "y_pos", // name - ::rosidl_typesupport_introspection_cpp::ROS_TYPE_FLOAT, // type - 0, // upper bound of string - nullptr, // members of sub message - false, // is key - false, // is array - 0, // array size - false, // is upper bound - offsetof(tactigon_msgs::msg::Touch, y_pos), // bytes offset in struct - nullptr, // default value - nullptr, // size() function pointer - nullptr, // get_const(index) function pointer - nullptr, // get(index) function pointer - nullptr, // fetch(index, &value) function pointer - nullptr, // assign(index, value) function pointer - nullptr // resize(index) function pointer - } -}; - -static const ::rosidl_typesupport_introspection_cpp::MessageMembers Touch_message_members = { - "tactigon_msgs::msg", // message namespace - "Touch", // message name - 4, // number of fields - sizeof(tactigon_msgs::msg::Touch), - false, // has_any_key_member_ - Touch_message_member_array, // message members - Touch_init_function, // function to initialize message memory (memory has to be allocated) - Touch_fini_function // function to terminate message instance (will not free memory) -}; - -static const rosidl_message_type_support_t Touch_message_type_support_handle = { - ::rosidl_typesupport_introspection_cpp::typesupport_identifier, - &Touch_message_members, - get_message_typesupport_handle_function, - &tactigon_msgs__msg__Touch__get_type_hash, - &tactigon_msgs__msg__Touch__get_type_description, - &tactigon_msgs__msg__Touch__get_type_description_sources, -}; - -} // namespace rosidl_typesupport_introspection_cpp - -} // namespace msg - -} // namespace tactigon_msgs - - -namespace rosidl_typesupport_introspection_cpp -{ - -template<> -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -get_message_type_support_handle() -{ - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Touch_message_type_support_handle; -} - -} // namespace rosidl_typesupport_introspection_cpp - -#ifdef __cplusplus -extern "C" -{ -#endif - -ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, tactigon_msgs, msg, Touch)() { - return &::tactigon_msgs::msg::rosidl_typesupport_introspection_cpp::Touch_message_type_support_handle; -} - -#ifdef __cplusplus -} -#endif diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.h deleted file mode 100644 index a857b3a..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.h +++ /dev/null @@ -1,36 +0,0 @@ -// generated from rosidl_generator_c/resource/idl__type_support.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -// IWYU pragma: private, include "tactigon_msgs/msg/touch.h" - - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_H_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_H_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_c__visibility_control.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include "rosidl_runtime_c/message_type_support_struct.h" - -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * -ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_c, - tactigon_msgs, - msg, - Touch -)(void); - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.hpp deleted file mode 100644 index 516e862..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/detail/touch__type_support.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_HPP_ -#define TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_HPP_ - -#include "rosidl_typesupport_interface/macros.h" - -#include "tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp" - -#include "rosidl_typesupport_cpp/message_type_support.hpp" - -#ifdef __cplusplus -extern "C" -{ -#endif -// Forward declare the get type support functions for this type. -ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs -const rosidl_message_type_support_t * - ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( - rosidl_typesupport_cpp, - tactigon_msgs, - msg, - Touch -)(); -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__DETAIL__TOUCH__TYPE_SUPPORT_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.h deleted file mode 100644 index 45c7ab7..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.h +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_c/resource/idl.h.em -// with input from tactigon_msgs:msg/Gesture.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__GESTURE_H_ -#define TACTIGON_MSGS__MSG__GESTURE_H_ - -#include "tactigon_msgs/msg/detail/gesture__struct.h" -#include "tactigon_msgs/msg/detail/gesture__functions.h" -#include "tactigon_msgs/msg/detail/gesture__type_support.h" - -#endif // TACTIGON_MSGS__MSG__GESTURE_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.hpp deleted file mode 100644 index 2b95e6b..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/gesture.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl.hpp.em -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__GESTURE_HPP_ -#define TACTIGON_MSGS__MSG__GESTURE_HPP_ - -#include "tactigon_msgs/msg/detail/gesture__struct.hpp" -#include "tactigon_msgs/msg/detail/gesture__builder.hpp" -#include "tactigon_msgs/msg/detail/gesture__traits.hpp" -#include "tactigon_msgs/msg/detail/gesture__type_support.hpp" - -#endif // TACTIGON_MSGS__MSG__GESTURE_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_c__visibility_control.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_c__visibility_control.h deleted file mode 100644 index 2a9f00b..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_c__visibility_control.h +++ /dev/null @@ -1,42 +0,0 @@ -// generated from rosidl_generator_c/resource/rosidl_generator_c__visibility_control.h.in -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_ -#define TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -// This logic was borrowed (then namespaced) from the examples on the gcc wiki: -// https://gcc.gnu.org/wiki/Visibility - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef __GNUC__ - #define ROSIDL_GENERATOR_C_EXPORT_tactigon_msgs __attribute__ ((dllexport)) - #define ROSIDL_GENERATOR_C_IMPORT_tactigon_msgs __attribute__ ((dllimport)) - #else - #define ROSIDL_GENERATOR_C_EXPORT_tactigon_msgs __declspec(dllexport) - #define ROSIDL_GENERATOR_C_IMPORT_tactigon_msgs __declspec(dllimport) - #endif - #ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_tactigon_msgs - #define ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs ROSIDL_GENERATOR_C_EXPORT_tactigon_msgs - #else - #define ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs ROSIDL_GENERATOR_C_IMPORT_tactigon_msgs - #endif -#else - #define ROSIDL_GENERATOR_C_EXPORT_tactigon_msgs __attribute__ ((visibility("default"))) - #define ROSIDL_GENERATOR_C_IMPORT_tactigon_msgs - #if __GNUC__ >= 4 - #define ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs __attribute__ ((visibility("default"))) - #else - #define ROSIDL_GENERATOR_C_PUBLIC_tactigon_msgs - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp deleted file mode 100644 index 49d3004..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_generator_cpp__visibility_control.hpp +++ /dev/null @@ -1,42 +0,0 @@ -// generated from rosidl_generator_cpp/resource/rosidl_generator_cpp__visibility_control.hpp.in -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_ -#define TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -// This logic was borrowed (then namespaced) from the examples on the gcc wiki: -// https://gcc.gnu.org/wiki/Visibility - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef __GNUC__ - #define ROSIDL_GENERATOR_CPP_EXPORT_tactigon_msgs __attribute__ ((dllexport)) - #define ROSIDL_GENERATOR_CPP_IMPORT_tactigon_msgs __attribute__ ((dllimport)) - #else - #define ROSIDL_GENERATOR_CPP_EXPORT_tactigon_msgs __declspec(dllexport) - #define ROSIDL_GENERATOR_CPP_IMPORT_tactigon_msgs __declspec(dllimport) - #endif - #ifdef ROSIDL_GENERATOR_CPP_BUILDING_DLL_tactigon_msgs - #define ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs ROSIDL_GENERATOR_CPP_EXPORT_tactigon_msgs - #else - #define ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs ROSIDL_GENERATOR_CPP_IMPORT_tactigon_msgs - #endif -#else - #define ROSIDL_GENERATOR_CPP_EXPORT_tactigon_msgs __attribute__ ((visibility("default"))) - #define ROSIDL_GENERATOR_CPP_IMPORT_tactigon_msgs - #if __GNUC__ >= 4 - #define ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs __attribute__ ((visibility("default"))) - #else - #define ROSIDL_GENERATOR_CPP_PUBLIC_tactigon_msgs - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h deleted file mode 100644 index 39f9d22..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h +++ /dev/null @@ -1,43 +0,0 @@ -// generated from -// rosidl_typesupport_fastrtps_c/resource/rosidl_typesupport_fastrtps_c__visibility_control.h.in -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_ -#define TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_ - -#if __cplusplus -extern "C" -{ -#endif - -// This logic was borrowed (then namespaced) from the examples on the gcc wiki: -// https://gcc.gnu.org/wiki/Visibility - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef __GNUC__ - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_tactigon_msgs __attribute__ ((dllexport)) - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_tactigon_msgs __attribute__ ((dllimport)) - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_tactigon_msgs __declspec(dllexport) - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_tactigon_msgs __declspec(dllimport) - #endif - #ifdef ROSIDL_TYPESUPPORT_FASTRTPS_C_BUILDING_DLL_tactigon_msgs - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_tactigon_msgs - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_tactigon_msgs - #endif -#else - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_tactigon_msgs __attribute__ ((visibility("default"))) - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_tactigon_msgs - #if __GNUC__ >= 4 - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs __attribute__ ((visibility("default"))) - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_tactigon_msgs - #endif -#endif - -#if __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h deleted file mode 100644 index 10fc32f..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h +++ /dev/null @@ -1,43 +0,0 @@ -// generated from -// rosidl_typesupport_fastrtps_cpp/resource/rosidl_typesupport_fastrtps_cpp__visibility_control.h.in -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_ -#define TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_ - -#if __cplusplus -extern "C" -{ -#endif - -// This logic was borrowed (then namespaced) from the examples on the gcc wiki: -// https://gcc.gnu.org/wiki/Visibility - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef __GNUC__ - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_tactigon_msgs __attribute__ ((dllexport)) - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_tactigon_msgs __attribute__ ((dllimport)) - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_tactigon_msgs __declspec(dllexport) - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_tactigon_msgs __declspec(dllimport) - #endif - #ifdef ROSIDL_TYPESUPPORT_FASTRTPS_CPP_BUILDING_DLL_tactigon_msgs - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_tactigon_msgs - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_tactigon_msgs - #endif -#else - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_tactigon_msgs __attribute__ ((visibility("default"))) - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_tactigon_msgs - #if __GNUC__ >= 4 - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs __attribute__ ((visibility("default"))) - #else - #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_tactigon_msgs - #endif -#endif - -#if __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h deleted file mode 100644 index 2a466e9..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h +++ /dev/null @@ -1,43 +0,0 @@ -// generated from -// rosidl_typesupport_introspection_c/resource/rosidl_typesupport_introspection_c__visibility_control.h.in -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_ -#define TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif - -// This logic was borrowed (then namespaced) from the examples on the gcc wiki: -// https://gcc.gnu.org/wiki/Visibility - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef __GNUC__ - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs __attribute__ ((dllexport)) - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_tactigon_msgs __attribute__ ((dllimport)) - #else - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs __declspec(dllexport) - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_tactigon_msgs __declspec(dllimport) - #endif - #ifdef ROSIDL_TYPESUPPORT_INTROSPECTION_C_BUILDING_DLL_tactigon_msgs - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs - #else - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_tactigon_msgs - #endif -#else - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_tactigon_msgs __attribute__ ((visibility("default"))) - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_tactigon_msgs - #if __GNUC__ >= 4 - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs __attribute__ ((visibility("default"))) - #else - #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_tactigon_msgs - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif // TACTIGON_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.h deleted file mode 100644 index 7587efe..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.h +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_c/resource/idl.h.em -// with input from tactigon_msgs:msg/TSkinState.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__T_SKIN_STATE_H_ -#define TACTIGON_MSGS__MSG__T_SKIN_STATE_H_ - -#include "tactigon_msgs/msg/detail/t_skin_state__struct.h" -#include "tactigon_msgs/msg/detail/t_skin_state__functions.h" -#include "tactigon_msgs/msg/detail/t_skin_state__type_support.h" - -#endif // TACTIGON_MSGS__MSG__T_SKIN_STATE_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.hpp deleted file mode 100644 index d57d359..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/t_skin_state.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl.hpp.em -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__T_SKIN_STATE_HPP_ -#define TACTIGON_MSGS__MSG__T_SKIN_STATE_HPP_ - -#include "tactigon_msgs/msg/detail/t_skin_state__struct.hpp" -#include "tactigon_msgs/msg/detail/t_skin_state__builder.hpp" -#include "tactigon_msgs/msg/detail/t_skin_state__traits.hpp" -#include "tactigon_msgs/msg/detail/t_skin_state__type_support.hpp" - -#endif // TACTIGON_MSGS__MSG__T_SKIN_STATE_HPP_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.h b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.h deleted file mode 100644 index 743b61f..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.h +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_c/resource/idl.h.em -// with input from tactigon_msgs:msg/Touch.idl -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__TOUCH_H_ -#define TACTIGON_MSGS__MSG__TOUCH_H_ - -#include "tactigon_msgs/msg/detail/touch__struct.h" -#include "tactigon_msgs/msg/detail/touch__functions.h" -#include "tactigon_msgs/msg/detail/touch__type_support.h" - -#endif // TACTIGON_MSGS__MSG__TOUCH_H_ diff --git a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.hpp b/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.hpp deleted file mode 100644 index 923f522..0000000 --- a/install/tactigon_msgs/include/tactigon_msgs/tactigon_msgs/msg/touch.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// generated from rosidl_generator_cpp/resource/idl.hpp.em -// generated code does not contain a copyright notice - -#ifndef TACTIGON_MSGS__MSG__TOUCH_HPP_ -#define TACTIGON_MSGS__MSG__TOUCH_HPP_ - -#include "tactigon_msgs/msg/detail/touch__struct.hpp" -#include "tactigon_msgs/msg/detail/touch__builder.hpp" -#include "tactigon_msgs/msg/detail/touch__traits.hpp" -#include "tactigon_msgs/msg/detail/touch__type_support.hpp" - -#endif // TACTIGON_MSGS__MSG__TOUCH_HPP_ diff --git a/install/tactigon_msgs/share/ament_index/resource_index/package_run_dependencies/tactigon_msgs b/install/tactigon_msgs/share/ament_index/resource_index/package_run_dependencies/tactigon_msgs deleted file mode 100644 index 8a2b6fc..0000000 --- a/install/tactigon_msgs/share/ament_index/resource_index/package_run_dependencies/tactigon_msgs +++ /dev/null @@ -1 +0,0 @@ -rosidl_default_runtime;ament_lint_auto;ament_lint_common \ No newline at end of file diff --git a/install/tactigon_msgs/share/ament_index/resource_index/packages/tactigon_msgs b/install/tactigon_msgs/share/ament_index/resource_index/packages/tactigon_msgs deleted file mode 100644 index e69de29..0000000 diff --git a/install/tactigon_msgs/share/ament_index/resource_index/parent_prefix_path/tactigon_msgs b/install/tactigon_msgs/share/ament_index/resource_index/parent_prefix_path/tactigon_msgs deleted file mode 100644 index 0131665..0000000 --- a/install/tactigon_msgs/share/ament_index/resource_index/parent_prefix_path/tactigon_msgs +++ /dev/null @@ -1 +0,0 @@ -/opt/ros/jazzy \ No newline at end of file diff --git a/install/tactigon_msgs/share/ament_index/resource_index/rosidl_interfaces/tactigon_msgs b/install/tactigon_msgs/share/ament_index/resource_index/rosidl_interfaces/tactigon_msgs deleted file mode 100644 index 4d19e98..0000000 --- a/install/tactigon_msgs/share/ament_index/resource_index/rosidl_interfaces/tactigon_msgs +++ /dev/null @@ -1,8 +0,0 @@ -msg/Angle.idl -msg/Angle.msg -msg/Gesture.idl -msg/Gesture.msg -msg/TSkinState.idl -msg/TSkinState.msg -msg/Touch.idl -msg/Touch.msg \ No newline at end of file diff --git a/install/tactigon_msgs/share/colcon-core/packages/tactigon_msgs b/install/tactigon_msgs/share/colcon-core/packages/tactigon_msgs deleted file mode 100644 index f57c028..0000000 --- a/install/tactigon_msgs/share/colcon-core/packages/tactigon_msgs +++ /dev/null @@ -1 +0,0 @@ -rosidl_default_runtime \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_dependencies-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_dependencies-extras.cmake deleted file mode 100644 index 00cb81c..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_dependencies-extras.cmake +++ /dev/null @@ -1,92 +0,0 @@ -# generated from ament_cmake_export_dependencies/cmake/ament_cmake_export_dependencies-extras.cmake.in - -set(_exported_dependencies "std_msgs;rosidl_runtime_c;rosidl_typesupport_interface;rcutils;fastrtps_cmake_module;fastcdr;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_fastrtps_c;rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_interface;rosidl_runtime_c;rosidl_typesupport_c;rosidl_typesupport_interface;rosidl_runtime_cpp;fastrtps_cmake_module;fastcdr;rmw;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_interface;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_c;rosidl_typesupport_cpp;rosidl_typesupport_interface") - -find_package(ament_cmake_libraries QUIET REQUIRED) - -# find_package() all dependencies -# and append their DEFINITIONS INCLUDE_DIRS, LIBRARIES, and LINK_FLAGS -# variables to tactigon_msgs_DEFINITIONS, tactigon_msgs_INCLUDE_DIRS, -# tactigon_msgs_LIBRARIES, and tactigon_msgs_LINK_FLAGS. -# Additionally collect the direct dependency names in -# tactigon_msgs_DEPENDENCIES as well as the recursive dependency names -# in tactigon_msgs_RECURSIVE_DEPENDENCIES. -if(NOT _exported_dependencies STREQUAL "") - find_package(ament_cmake_core QUIET REQUIRED) - set(tactigon_msgs_DEPENDENCIES ${_exported_dependencies}) - set(tactigon_msgs_RECURSIVE_DEPENDENCIES ${_exported_dependencies}) - set(_libraries) - foreach(_dep ${_exported_dependencies}) - if(NOT ${_dep}_FOUND) - find_package("${_dep}" QUIET REQUIRED) - endif() - # if a package provides modern CMake interface targets use them - # exclusively assuming the classic CMake variables only exist for - # backward compatibility - set(use_modern_cmake FALSE) - if(NOT "${${_dep}_TARGETS}" STREQUAL "") - foreach(_target ${${_dep}_TARGETS}) - # only use actual targets - # in case a package uses this variable for other content - if(TARGET "${_target}") - get_target_property(_include_dirs ${_target} INTERFACE_INCLUDE_DIRECTORIES) - if(_include_dirs) - list_append_unique(tactigon_msgs_INCLUDE_DIRS "${_include_dirs}") - endif() - - get_target_property(_imported_configurations ${_target} IMPORTED_CONFIGURATIONS) - if(_imported_configurations) - string(TOUPPER "${_imported_configurations}" _imported_configurations) - if(DEBUG_CONFIGURATIONS) - string(TOUPPER "${DEBUG_CONFIGURATIONS}" _debug_configurations_uppercase) - else() - set(_debug_configurations_uppercase "DEBUG") - endif() - foreach(_imported_config ${_imported_configurations}) - get_target_property(_imported_implib ${_target} IMPORTED_IMPLIB_${_imported_config}) - if(_imported_implib) - set(_imported_implib_config "optimized") - if(${_imported_config} IN_LIST _debug_configurations_uppercase) - set(_imported_implib_config "debug") - endif() - list(APPEND _libraries ${_imported_implib_config} ${_imported_implib}) - else() - get_target_property(_imported_location ${_target} IMPORTED_LOCATION_${_imported_config}) - if(_imported_location) - list(APPEND _libraries "${_imported_location}") - endif() - endif() - endforeach() - endif() - - get_target_property(_link_libraries ${_target} INTERFACE_LINK_LIBRARIES) - if(_link_libraries) - list(APPEND _libraries "${_link_libraries}") - endif() - set(use_modern_cmake TRUE) - endif() - endforeach() - endif() - if(NOT use_modern_cmake) - if(${_dep}_DEFINITIONS) - list_append_unique(tactigon_msgs_DEFINITIONS "${${_dep}_DEFINITIONS}") - endif() - if(${_dep}_INCLUDE_DIRS) - list_append_unique(tactigon_msgs_INCLUDE_DIRS "${${_dep}_INCLUDE_DIRS}") - endif() - if(${_dep}_LIBRARIES) - list(APPEND _libraries "${${_dep}_LIBRARIES}") - endif() - if(${_dep}_LINK_FLAGS) - list_append_unique(tactigon_msgs_LINK_FLAGS "${${_dep}_LINK_FLAGS}") - endif() - if(${_dep}_RECURSIVE_DEPENDENCIES) - list_append_unique(tactigon_msgs_RECURSIVE_DEPENDENCIES "${${_dep}_RECURSIVE_DEPENDENCIES}") - endif() - endif() - if(_libraries) - ament_libraries_deduplicate(_libraries "${_libraries}") - list(APPEND tactigon_msgs_LIBRARIES "${_libraries}") - endif() - endforeach() -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_include_directories-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_include_directories-extras.cmake deleted file mode 100644 index b5dcf7a..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_include_directories-extras.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# generated from ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directories-extras.cmake.in - -set(_exported_include_dirs "${tactigon_msgs_DIR}/../../../include/tactigon_msgs") - -# append include directories to tactigon_msgs_INCLUDE_DIRS -# warn about not existing paths -if(NOT _exported_include_dirs STREQUAL "") - find_package(ament_cmake_core QUIET REQUIRED) - foreach(_exported_include_dir ${_exported_include_dirs}) - if(NOT IS_DIRECTORY "${_exported_include_dir}") - message(WARNING "Package 'tactigon_msgs' exports the include directory '${_exported_include_dir}' which doesn't exist") - endif() - normalize_path(_exported_include_dir "${_exported_include_dir}") - list(APPEND tactigon_msgs_INCLUDE_DIRS "${_exported_include_dir}") - endforeach() -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_libraries-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_libraries-extras.cmake deleted file mode 100644 index 78d8457..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_libraries-extras.cmake +++ /dev/null @@ -1,141 +0,0 @@ -# generated from ament_cmake_export_libraries/cmake/template/ament_cmake_export_libraries.cmake.in - -set(_exported_libraries "tactigon_msgs__rosidl_generator_c;tactigon_msgs__rosidl_typesupport_c;tactigon_msgs__rosidl_typesupport_cpp") -set(_exported_library_names "") - -# populate tactigon_msgs_LIBRARIES -if(NOT _exported_libraries STREQUAL "") - # loop over libraries, either target names or absolute paths - list(LENGTH _exported_libraries _length) - set(_i 0) - while(_i LESS _length) - list(GET _exported_libraries ${_i} _arg) - - # pass linker flags along - if("${_arg}" MATCHES "^-" AND NOT "${_arg}" MATCHES "^-[l|framework]") - list(APPEND tactigon_msgs_LIBRARIES "${_arg}") - math(EXPR _i "${_i} + 1") - continue() - endif() - - if("${_arg}" MATCHES "^(debug|optimized|general)$") - # remember build configuration keyword - # and get following library - set(_cfg "${_arg}") - math(EXPR _i "${_i} + 1") - if(_i EQUAL _length) - message(FATAL_ERROR "Package 'tactigon_msgs' passes the build configuration keyword '${_cfg}' as the last exported library") - endif() - list(GET _exported_libraries ${_i} _library) - else() - # the value is a library without a build configuration keyword - set(_cfg "") - set(_library "${_arg}") - endif() - math(EXPR _i "${_i} + 1") - - if(NOT IS_ABSOLUTE "${_library}") - # search for library target relative to this CMake file - set(_lib "NOTFOUND") - find_library( - _lib NAMES "${_library}" - PATHS "${tactigon_msgs_DIR}/../../../lib" - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH - ) - - if(NOT _lib) - # warn about not existing library and ignore it - message(FATAL_ERROR "Package 'tactigon_msgs' exports the library '${_library}' which couldn't be found") - elseif(NOT IS_ABSOLUTE "${_lib}") - # the found library must be an absolute path - message(FATAL_ERROR "Package 'tactigon_msgs' found the library '${_library}' at '${_lib}' which is not an absolute path") - elseif(NOT EXISTS "${_lib}") - # the found library must exist - message(FATAL_ERROR "Package 'tactigon_msgs' found the library '${_lib}' which doesn't exist") - else() - list(APPEND tactigon_msgs_LIBRARIES ${_cfg} "${_lib}") - endif() - - else() - if(NOT EXISTS "${_library}") - # the found library must exist - message(WARNING "Package 'tactigon_msgs' exports the library '${_library}' which doesn't exist") - else() - list(APPEND tactigon_msgs_LIBRARIES ${_cfg} "${_library}") - endif() - endif() - endwhile() -endif() - -# find_library() library names with optional LIBRARY_DIRS -# and add the libraries to tactigon_msgs_LIBRARIES -if(NOT _exported_library_names STREQUAL "") - # loop over library names - # but remember related build configuration keyword if available - list(LENGTH _exported_library_names _length) - set(_i 0) - while(_i LESS _length) - list(GET _exported_library_names ${_i} _arg) - # pass linker flags along - if("${_arg}" MATCHES "^-" AND NOT "${_arg}" MATCHES "^-[l|framework]") - list(APPEND tactigon_msgs_LIBRARIES "${_arg}") - math(EXPR _i "${_i} + 1") - continue() - endif() - - if("${_arg}" MATCHES "^(debug|optimized|general)$") - # remember build configuration keyword - # and get following library name - set(_cfg "${_arg}") - math(EXPR _i "${_i} + 1") - if(_i EQUAL _length) - message(FATAL_ERROR "Package 'tactigon_msgs' passes the build configuration keyword '${_cfg}' as the last exported target") - endif() - list(GET _exported_library_names ${_i} _library) - else() - # the value is a library target without a build configuration keyword - set(_cfg "") - set(_library "${_arg}") - endif() - math(EXPR _i "${_i} + 1") - - # extract optional LIBRARY_DIRS from library name - string(REPLACE ":" ";" _library_dirs "${_library}") - list(GET _library_dirs 0 _library_name) - list(REMOVE_AT _library_dirs 0) - - set(_lib "NOTFOUND") - if(NOT _library_dirs) - # search for library in the common locations - find_library( - _lib - NAMES "${_library_name}" - ) - if(NOT _lib) - # warn about not existing library and later ignore it - message(WARNING "Package 'tactigon_msgs' exports library '${_library_name}' which couldn't be found") - endif() - else() - # search for library in the specified directories - find_library( - _lib - NAMES "${_library_name}" - PATHS ${_library_dirs} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH - ) - if(NOT _lib) - # warn about not existing library and later ignore it - message(WARNING - "Package 'tactigon_msgs' exports library '${_library_name}' with LIBRARY_DIRS '${_library_dirs}' which couldn't be found") - endif() - endif() - if(_lib) - list(APPEND tactigon_msgs_LIBRARIES ${_cfg} "${_lib}") - endif() - endwhile() -endif() - -# TODO(dirk-thomas) deduplicate tactigon_msgs_LIBRARIES -# while maintaining library order -# as well as build configuration keywords -# as well as linker flags diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_targets-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_targets-extras.cmake deleted file mode 100644 index 389cf78..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/ament_cmake_export_targets-extras.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# generated from ament_cmake_export_targets/cmake/ament_cmake_export_targets-extras.cmake.in - -set(_exported_targets "export_tactigon_msgs__rosidl_generator_c;export_tactigon_msgs__rosidl_typesupport_fastrtps_c;tactigon_msgs__rosidl_typesupport_introspection_c;tactigon_msgs__rosidl_typesupport_c;export_tactigon_msgs__rosidl_generator_cpp;export_tactigon_msgs__rosidl_typesupport_fastrtps_cpp;tactigon_msgs__rosidl_typesupport_introspection_cpp;tactigon_msgs__rosidl_typesupport_cpp;export_tactigon_msgs__rosidl_generator_py") - -# include all exported targets -if(NOT _exported_targets STREQUAL "") - foreach(_target ${_exported_targets}) - set(_export_file "${tactigon_msgs_DIR}/${_target}Export.cmake") - include("${_export_file}") - - # extract the target names associated with the export - set(_regex "foreach\\((_cmake)?_expected_?[Tt]arget (IN ITEMS )?(.+)\\)") - file( - STRINGS "${_export_file}" _foreach_targets - REGEX "${_regex}") - list(LENGTH _foreach_targets _matches) - if(NOT _matches EQUAL 1) - message(FATAL_ERROR - "Failed to find exported target names in '${_export_file}'") - endif() - string(REGEX REPLACE "${_regex}" "\\3" _targets "${_foreach_targets}") - string(REPLACE " " ";" _targets "${_targets}") - list(LENGTH _targets _length) - - list(APPEND tactigon_msgs_TARGETS ${_targets}) - endforeach() -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport-noconfig.cmake deleted file mode 100644 index 1aa3f73..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport-noconfig.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_generator_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_generator_c PROPERTIES - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_generator_c.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_generator_c.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_generator_c ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_generator_c "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_generator_c.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport.cmake deleted file mode 100644 index 0ecd523..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cExport.cmake +++ /dev/null @@ -1,107 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_generator_c) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_generator_c -add_library(tactigon_msgs::tactigon_msgs__rosidl_generator_c SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_generator_c PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "std_msgs::std_msgs__rosidl_generator_c;builtin_interfaces::builtin_interfaces__rosidl_generator_c;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rcutils::rcutils" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_tactigon_msgs__rosidl_generator_cExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cppExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cppExport.cmake deleted file mode 100644 index 6b07b27..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_cppExport.cmake +++ /dev/null @@ -1,108 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_generator_cpp) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_generator_cpp -add_library(tactigon_msgs::tactigon_msgs__rosidl_generator_cpp INTERFACE IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_generator_cpp PROPERTIES - INTERFACE_COMPILE_FEATURES "cxx_std_17" - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "std_msgs::std_msgs__rosidl_generator_cpp;builtin_interfaces::builtin_interfaces__rosidl_generator_cpp;rosidl_runtime_cpp::rosidl_runtime_cpp" -) - -if(CMAKE_VERSION VERSION_LESS 3.0.0) - message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_tactigon_msgs__rosidl_generator_cppExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport-noconfig.cmake deleted file mode 100644 index 46a7018..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport-noconfig.cmake +++ /dev/null @@ -1,20 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_generator_py" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_generator_py APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_generator_py PROPERTIES - IMPORTED_LINK_DEPENDENT_LIBRARIES_NOCONFIG "tactigon_msgs::tactigon_msgs__rosidl_generator_c;Python3::Python;tactigon_msgs::tactigon_msgs__rosidl_typesupport_c;std_msgs::std_msgs__rosidl_generator_c;std_msgs::std_msgs__rosidl_typesupport_fastrtps_c;std_msgs::std_msgs__rosidl_typesupport_fastrtps_cpp;std_msgs::std_msgs__rosidl_typesupport_introspection_c;std_msgs::std_msgs__rosidl_typesupport_c;std_msgs::std_msgs__rosidl_typesupport_introspection_cpp;std_msgs::std_msgs__rosidl_typesupport_cpp;std_msgs::std_msgs__rosidl_generator_py;builtin_interfaces::builtin_interfaces__rosidl_generator_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_cpp;builtin_interfaces::builtin_interfaces__rosidl_generator_py" - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_generator_py.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_generator_py.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_generator_py ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_generator_py "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_generator_py.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport.cmake deleted file mode 100644 index 79beca8..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_generator_pyExport.cmake +++ /dev/null @@ -1,98 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_generator_py) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_generator_py -add_library(tactigon_msgs::tactigon_msgs__rosidl_generator_py SHARED IMPORTED) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_tactigon_msgs__rosidl_generator_pyExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport-noconfig.cmake deleted file mode 100644 index 9cbd98e..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport-noconfig.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c PROPERTIES - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_fastrtps_c.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_fastrtps_c.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_fastrtps_c.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport.cmake deleted file mode 100644 index 41a4407..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport.cmake +++ /dev/null @@ -1,123 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_c PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "fastcdr;rosidl_runtime_c::rosidl_runtime_c;rosidl_runtime_cpp::rosidl_runtime_cpp;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_fastrtps_c::rosidl_typesupport_fastrtps_c;tactigon_msgs::tactigon_msgs__rosidl_generator_c;std_msgs::std_msgs__rosidl_typesupport_fastrtps_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_c" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_tactigon_msgs__rosidl_typesupport_fastrtps_cExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake deleted file mode 100644 index b35c097..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp PROPERTIES - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_fastrtps_cpp.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_fastrtps_cpp.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_fastrtps_cpp.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport.cmake deleted file mode 100644 index d5062a1..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport.cmake +++ /dev/null @@ -1,123 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_fastrtps_cpp PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "fastcdr;rmw::rmw;rosidl_runtime_c::rosidl_runtime_c;rosidl_runtime_cpp::rosidl_runtime_cpp;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;std_msgs::std_msgs__rosidl_typesupport_fastrtps_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_cpp;tactigon_msgs::tactigon_msgs__rosidl_generator_c;tactigon_msgs::tactigon_msgs__rosidl_generator_cpp" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/export_tactigon_msgs__rosidl_typesupport_fastrtps_cppExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" "tactigon_msgs::tactigon_msgs__rosidl_generator_cpp" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake-extras.cmake deleted file mode 100644 index 49c992d..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake-extras.cmake +++ /dev/null @@ -1,4 +0,0 @@ -# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in - -set(tactigon_msgs_IDL_FILES "msg/Touch.idl;msg/Angle.idl;msg/Gesture.idl;msg/TSkinState.idl") -set(tactigon_msgs_INTERFACE_FILES "msg/Touch.msg;msg/Angle.msg;msg/Gesture.msg;msg/TSkinState.msg") diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake deleted file mode 100644 index f49bcf8..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake +++ /dev/null @@ -1,49 +0,0 @@ -# generated from -# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_libraries.cmake.in - -set(_exported_typesupport_libraries - "__rosidl_typesupport_fastrtps_c:tactigon_msgs__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:tactigon_msgs__rosidl_typesupport_fastrtps_cpp") - -# populate tactigon_msgs_LIBRARIES_ -if(NOT _exported_typesupport_libraries STREQUAL "") - # loop over typesupport libraries - foreach(_tuple ${_exported_typesupport_libraries}) - string(REPLACE ":" ";" _tuple "${_tuple}") - list(GET _tuple 0 _suffix) - list(GET _tuple 1 _library) - - if(NOT IS_ABSOLUTE "${_library}") - # search for library target relative to this CMake file - set(_lib "NOTFOUND") - find_library( - _lib NAMES "${_library}" - PATHS "${tactigon_msgs_DIR}/../../../lib" - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH - ) - - if(NOT _lib) - # the library wasn't found - message(FATAL_ERROR - "Package 'tactigon_msgs' exports the typesupport library '${_library}' which couldn't be found") - elseif(NOT IS_ABSOLUTE "${_lib}") - # the found library must be an absolute path - message(FATAL_ERROR - "Package 'tactigon_msgs' found the typesupport library '${_library}' at '${_lib}' " - "which is not an absolute path") - elseif(NOT EXISTS "${_lib}") - # the found library must exist - message(FATAL_ERROR "Package 'tactigon_msgs' found the typesupport library '${_lib}' which doesn't exist") - else() - list(APPEND tactigon_msgs_LIBRARIES${_suffix} ${_cfg} "${_lib}") - endif() - - else() - if(NOT EXISTS "${_library}") - # the found library must exist - message(WARNING "Package 'tactigon_msgs' exports the typesupport library '${_library}' which doesn't exist") - else() - list(APPEND tactigon_msgs_LIBRARIES${_suffix} "${_library}") - endif() - endif() - endforeach() -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake deleted file mode 100644 index daf03fc..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# generated from -# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in - -set(_exported_typesupport_targets - "__rosidl_generator_c:tactigon_msgs__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:tactigon_msgs__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_introspection_c:tactigon_msgs__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:tactigon_msgs__rosidl_typesupport_c;__rosidl_generator_cpp:tactigon_msgs__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:tactigon_msgs__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_cpp:tactigon_msgs__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:tactigon_msgs__rosidl_typesupport_cpp;:tactigon_msgs__rosidl_generator_py") - -# populate tactigon_msgs_TARGETS_ -if(NOT _exported_typesupport_targets STREQUAL "") - # loop over typesupport targets - foreach(_tuple ${_exported_typesupport_targets}) - string(REPLACE ":" ";" _tuple "${_tuple}") - list(GET _tuple 0 _suffix) - list(GET _tuple 1 _target) - - set(_target "tactigon_msgs::${_target}") - if(NOT TARGET "${_target}") - # the exported target must exist - message(WARNING "Package 'tactigon_msgs' exports the typesupport target '${_target}' which doesn't exist") - else() - list(APPEND tactigon_msgs_TARGETS${_suffix} "${_target}") - endif() - endforeach() -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig-version.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig-version.cmake deleted file mode 100644 index 7beb732..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from ament/cmake/core/templates/nameConfig-version.cmake.in -set(PACKAGE_VERSION "0.0.0") - -set(PACKAGE_VERSION_EXACT False) -set(PACKAGE_VERSION_COMPATIBLE False) - -if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}") - set(PACKAGE_VERSION_EXACT True) - set(PACKAGE_VERSION_COMPATIBLE True) -endif() - -if("${PACKAGE_FIND_VERSION}" VERSION_LESS "${PACKAGE_VERSION}") - set(PACKAGE_VERSION_COMPATIBLE True) -endif() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig.cmake deleted file mode 100644 index 8570db3..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgsConfig.cmake +++ /dev/null @@ -1,42 +0,0 @@ -# generated from ament/cmake/core/templates/nameConfig.cmake.in - -# prevent multiple inclusion -if(_tactigon_msgs_CONFIG_INCLUDED) - # ensure to keep the found flag the same - if(NOT DEFINED tactigon_msgs_FOUND) - # explicitly set it to FALSE, otherwise CMake will set it to TRUE - set(tactigon_msgs_FOUND FALSE) - elseif(NOT tactigon_msgs_FOUND) - # use separate condition to avoid uninitialized variable warning - set(tactigon_msgs_FOUND FALSE) - endif() - return() -endif() -set(_tactigon_msgs_CONFIG_INCLUDED TRUE) - -# output package information -if(NOT tactigon_msgs_FIND_QUIETLY) - message(STATUS "Found tactigon_msgs: 0.0.0 (${tactigon_msgs_DIR})") -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "Package 'tactigon_msgs' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - # optionally quiet the deprecation message - if(NOT tactigon_msgs_DEPRECATED_QUIET) - message(DEPRECATION "${_msg}") - endif() -endif() - -# flag package as ament-based to distinguish it after being find_package()-ed -set(tactigon_msgs_FOUND_AMENT_PACKAGE TRUE) - -# include all config extra files -set(_extras "rosidl_cmake-extras.cmake;ament_cmake_export_dependencies-extras.cmake;ament_cmake_export_include_directories-extras.cmake;ament_cmake_export_libraries-extras.cmake;ament_cmake_export_targets-extras.cmake;rosidl_cmake_export_typesupport_targets-extras.cmake;rosidl_cmake_export_typesupport_libraries-extras.cmake") -foreach(_extra ${_extras}) - include("${tactigon_msgs_DIR}/${_extra}") -endforeach() diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport-noconfig.cmake deleted file mode 100644 index 18e763c..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport-noconfig.cmake +++ /dev/null @@ -1,20 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_c" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_c PROPERTIES - IMPORTED_LINK_DEPENDENT_LIBRARIES_NOCONFIG "rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_c::rosidl_typesupport_c" - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_c.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_c.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_c ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_c "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_c.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport.cmake deleted file mode 100644 index 7c0ae82..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cExport.cmake +++ /dev/null @@ -1,122 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_c) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_c -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_c SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_c PROPERTIES - INTERFACE_LINK_LIBRARIES "tactigon_msgs::tactigon_msgs__rosidl_generator_c;std_msgs::std_msgs__rosidl_typesupport_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_c" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/tactigon_msgs__rosidl_typesupport_cExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport-noconfig.cmake deleted file mode 100644 index 6ddf4f5..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport-noconfig.cmake +++ /dev/null @@ -1,20 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp PROPERTIES - IMPORTED_LINK_DEPENDENT_LIBRARIES_NOCONFIG "rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_cpp::rosidl_typesupport_cpp;rosidl_typesupport_c::rosidl_typesupport_c" - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_cpp.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_cpp.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_cpp.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport.cmake deleted file mode 100644 index 34f06a9..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_cppExport.cmake +++ /dev/null @@ -1,122 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_cpp PROPERTIES - INTERFACE_LINK_LIBRARIES "tactigon_msgs::tactigon_msgs__rosidl_generator_c;tactigon_msgs::tactigon_msgs__rosidl_generator_cpp;std_msgs::std_msgs__rosidl_typesupport_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_cpp" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/tactigon_msgs__rosidl_typesupport_cppExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" "tactigon_msgs::tactigon_msgs__rosidl_generator_cpp" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport-noconfig.cmake deleted file mode 100644 index a1069fa..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport-noconfig.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c PROPERTIES - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_introspection_c.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_introspection_c.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_introspection_c.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport.cmake deleted file mode 100644 index 18eae1b..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cExport.cmake +++ /dev/null @@ -1,123 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_c PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "tactigon_msgs::tactigon_msgs__rosidl_generator_c;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_introspection_c::rosidl_typesupport_introspection_c;std_msgs::std_msgs__rosidl_typesupport_introspection_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_c" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/tactigon_msgs__rosidl_typesupport_introspection_cExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport-noconfig.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport-noconfig.cmake deleted file mode 100644 index c2674c7..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport-noconfig.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp" for configuration "" -set_property(TARGET tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp PROPERTIES - IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_introspection_cpp.so" - IMPORTED_SONAME_NOCONFIG "libtactigon_msgs__rosidl_typesupport_introspection_cpp.so" - ) - -list(APPEND _cmake_import_check_targets tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp ) -list(APPEND _cmake_import_check_files_for_tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp "${_IMPORT_PREFIX}/lib/libtactigon_msgs__rosidl_typesupport_introspection_cpp.so" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport.cmake b/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport.cmake deleted file mode 100644 index 3af58d0..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/cmake/tactigon_msgs__rosidl_typesupport_introspection_cppExport.cmake +++ /dev/null @@ -1,123 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.26) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp -add_library(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp SHARED IMPORTED) - -set_target_properties(tactigon_msgs::tactigon_msgs__rosidl_typesupport_introspection_cpp PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/tactigon_msgs" - INTERFACE_LINK_LIBRARIES "tactigon_msgs::tactigon_msgs__rosidl_generator_c;tactigon_msgs::tactigon_msgs__rosidl_generator_cpp;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_introspection_cpp::rosidl_typesupport_introspection_cpp;std_msgs::std_msgs__rosidl_typesupport_introspection_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_cpp" -) - -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/tactigon_msgs__rosidl_typesupport_introspection_cppExport-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# Make sure the targets which have been exported in some other -# export set exist. -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) -foreach(_target "tactigon_msgs::tactigon_msgs__rosidl_generator_c" "tactigon_msgs::tactigon_msgs__rosidl_generator_cpp" ) - if(NOT TARGET "${_target}" ) - set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") - endif() -endforeach() - -if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - if(CMAKE_FIND_PACKAGE_NAME) - set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) - set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - else() - message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") - endif() -endif() -unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.dsv b/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.dsv deleted file mode 100644 index 79d4c95..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;AMENT_PREFIX_PATH; diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.sh b/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.sh deleted file mode 100644 index 02e441b..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/ament_prefix_path.sh +++ /dev/null @@ -1,4 +0,0 @@ -# copied from -# ament_cmake_core/cmake/environment_hooks/environment/ament_prefix_path.sh - -ament_prepend_unique_value AMENT_PREFIX_PATH "$AMENT_CURRENT_PREFIX" diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.dsv b/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.dsv deleted file mode 100644 index 89bec93..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;LD_LIBRARY_PATH;lib diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.sh b/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.sh deleted file mode 100644 index 292e518..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/library_path.sh +++ /dev/null @@ -1,16 +0,0 @@ -# copied from ament_package/template/environment_hook/library_path.sh - -# detect if running on Darwin platform -_UNAME=`uname -s` -_IS_DARWIN=0 -if [ "$_UNAME" = "Darwin" ]; then - _IS_DARWIN=1 -fi -unset _UNAME - -if [ $_IS_DARWIN -eq 0 ]; then - ament_prepend_unique_value LD_LIBRARY_PATH "$AMENT_CURRENT_PREFIX/lib" -else - ament_prepend_unique_value DYLD_LIBRARY_PATH "$AMENT_CURRENT_PREFIX/lib" -fi -unset _IS_DARWIN diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/path.dsv b/install/tactigon_msgs/share/tactigon_msgs/environment/path.dsv deleted file mode 100644 index b94426a..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate-if-exists;PATH;bin diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/path.sh b/install/tactigon_msgs/share/tactigon_msgs/environment/path.sh deleted file mode 100644 index e59b749..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/path.sh +++ /dev/null @@ -1,5 +0,0 @@ -# copied from ament_cmake_core/cmake/environment_hooks/environment/path.sh - -if [ -d "$AMENT_CURRENT_PREFIX/bin" ]; then - ament_prepend_unique_value PATH "$AMENT_CURRENT_PREFIX/bin" -fi diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.dsv b/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.dsv deleted file mode 100644 index c2ddcdb..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;PYTHONPATH;lib/python3.12/site-packages diff --git a/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.sh b/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.sh deleted file mode 100644 index efca16b..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/environment/pythonpath.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from ament_package/template/environment_hook/pythonpath.sh.in - -ament_prepend_unique_value PYTHONPATH "$AMENT_CURRENT_PREFIX/lib/python3.12/site-packages" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.dsv b/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.dsv deleted file mode 100644 index e119f32..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;CMAKE_PREFIX_PATH; diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.ps1 b/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.ps1 deleted file mode 100644 index d03facc..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em - -colcon_prepend_unique_value CMAKE_PREFIX_PATH "$env:COLCON_CURRENT_PREFIX" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.sh b/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.sh deleted file mode 100644 index a948e68..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/cmake_prefix_path.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_core/shell/template/hook_prepend_value.sh.em - -_colcon_prepend_unique_value CMAKE_PREFIX_PATH "$COLCON_CURRENT_PREFIX" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.dsv b/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.dsv deleted file mode 100644 index 89bec93..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;LD_LIBRARY_PATH;lib diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.ps1 b/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.ps1 deleted file mode 100644 index f6df601..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em - -colcon_prepend_unique_value LD_LIBRARY_PATH "$env:COLCON_CURRENT_PREFIX\lib" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.sh b/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.sh deleted file mode 100644 index ca3c102..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/ld_library_path_lib.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_core/shell/template/hook_prepend_value.sh.em - -_colcon_prepend_unique_value LD_LIBRARY_PATH "$COLCON_CURRENT_PREFIX/lib" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.dsv b/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.dsv deleted file mode 100644 index c2ddcdb..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;PYTHONPATH;lib/python3.12/site-packages diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.ps1 b/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.ps1 deleted file mode 100644 index bdd69af..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em - -colcon_prepend_unique_value PYTHONPATH "$env:COLCON_CURRENT_PREFIX\lib/python3.12/site-packages" diff --git a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.sh b/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.sh deleted file mode 100644 index 45388fe..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/hook/pythonpath.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_core/shell/template/hook_prepend_value.sh.em - -_colcon_prepend_unique_value PYTHONPATH "$COLCON_CURRENT_PREFIX/lib/python3.12/site-packages" diff --git a/install/tactigon_msgs/share/tactigon_msgs/local_setup.bash b/install/tactigon_msgs/share/tactigon_msgs/local_setup.bash deleted file mode 100644 index 49782f2..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/local_setup.bash +++ /dev/null @@ -1,46 +0,0 @@ -# generated from ament_package/template/package_level/local_setup.bash.in - -# source local_setup.sh from same directory as this file -_this_path=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" && pwd) -# provide AMENT_CURRENT_PREFIX to shell script -AMENT_CURRENT_PREFIX=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`/../.." && pwd) -# store AMENT_CURRENT_PREFIX to restore it before each environment hook -_package_local_setup_AMENT_CURRENT_PREFIX=$AMENT_CURRENT_PREFIX - -# trace output -if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then - echo "# . \"$_this_path/local_setup.sh\"" -fi -. "$_this_path/local_setup.sh" -unset _this_path - -# unset AMENT_ENVIRONMENT_HOOKS -# if not appending to them for return -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - unset AMENT_ENVIRONMENT_HOOKS -fi - -# restore AMENT_CURRENT_PREFIX before evaluating the environment hooks -AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX -# list all environment hooks of this package - -# source all shell-specific environment hooks of this package -# if not returning them -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - _package_local_setup_IFS=$IFS - IFS=":" - for _hook in $AMENT_ENVIRONMENT_HOOKS; do - # restore AMENT_CURRENT_PREFIX for each environment hook - AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX - # restore IFS before sourcing other files - IFS=$_package_local_setup_IFS - . "$_hook" - done - unset _hook - IFS=$_package_local_setup_IFS - unset _package_local_setup_IFS - unset AMENT_ENVIRONMENT_HOOKS -fi - -unset _package_local_setup_AMENT_CURRENT_PREFIX -unset AMENT_CURRENT_PREFIX diff --git a/install/tactigon_msgs/share/tactigon_msgs/local_setup.dsv b/install/tactigon_msgs/share/tactigon_msgs/local_setup.dsv deleted file mode 100644 index e76aff6..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/local_setup.dsv +++ /dev/null @@ -1,4 +0,0 @@ -source;share/tactigon_msgs/environment/ament_prefix_path.sh -source;share/tactigon_msgs/environment/library_path.sh -source;share/tactigon_msgs/environment/path.sh -source;share/tactigon_msgs/environment/pythonpath.sh diff --git a/install/tactigon_msgs/share/tactigon_msgs/local_setup.sh b/install/tactigon_msgs/share/tactigon_msgs/local_setup.sh deleted file mode 100644 index 8c539bc..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/local_setup.sh +++ /dev/null @@ -1,186 +0,0 @@ -# generated from ament_package/template/package_level/local_setup.sh.in - -# since this file is sourced use either the provided AMENT_CURRENT_PREFIX -# or fall back to the destination set at configure time -: ${AMENT_CURRENT_PREFIX:="/home/banjov2/ros2_ws/install/tactigon_msgs"} -if [ ! -d "$AMENT_CURRENT_PREFIX" ]; then - if [ -z "$COLCON_CURRENT_PREFIX" ]; then - echo "The compile time prefix path '$AMENT_CURRENT_PREFIX' doesn't " \ - "exist. Consider sourcing a different extension than '.sh'." 1>&2 - else - AMENT_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" - fi -fi - -# function to append values to environment variables -# using colons as separators and avoiding leading separators -ament_append_value() { - # arguments - _listname="$1" - _value="$2" - #echo "listname $_listname" - #eval echo "list value \$$_listname" - #echo "value $_value" - - # avoid leading separator - eval _values=\"\$$_listname\" - if [ -z "$_values" ]; then - eval export $_listname=\"$_value\" - #eval echo "set list \$$_listname" - else - # field separator must not be a colon - _ament_append_value_IFS=$IFS - unset IFS - eval export $_listname=\"\$$_listname:$_value\" - #eval echo "append list \$$_listname" - IFS=$_ament_append_value_IFS - unset _ament_append_value_IFS - fi - unset _values - - unset _value - unset _listname -} - -# function to append non-duplicate values to environment variables -# using colons as separators and avoiding leading separators -ament_append_unique_value() { - # arguments - _listname=$1 - _value=$2 - #echo "listname $_listname" - #eval echo "list value \$$_listname" - #echo "value $_value" - - # check if the list contains the value - eval _values=\$$_listname - _duplicate= - _ament_append_unique_value_IFS=$IFS - IFS=":" - if [ "$AMENT_SHELL" = "zsh" ]; then - ament_zsh_to_array _values - fi - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - if [ $_item = $_value ]; then - _duplicate=1 - fi - done - unset _item - - # append only non-duplicates - if [ -z "$_duplicate" ]; then - # avoid leading separator - if [ -z "$_values" ]; then - eval $_listname=\"$_value\" - #eval echo "set list \$$_listname" - else - # field separator must not be a colon - unset IFS - eval $_listname=\"\$$_listname:$_value\" - #eval echo "append list \$$_listname" - fi - fi - IFS=$_ament_append_unique_value_IFS - unset _ament_append_unique_value_IFS - unset _duplicate - unset _values - - unset _value - unset _listname -} - -# function to prepend non-duplicate values to environment variables -# using colons as separators and avoiding trailing separators -ament_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - #echo "listname $_listname" - #eval echo "list value \$$_listname" - #echo "value $_value" - - # check if the list contains the value - eval _values=\"\$$_listname\" - _duplicate= - _ament_prepend_unique_value_IFS=$IFS - IFS=":" - if [ "$AMENT_SHELL" = "zsh" ]; then - ament_zsh_to_array _values - fi - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - if [ "$_item" = "$_value" ]; then - _duplicate=1 - fi - done - unset _item - - # prepend only non-duplicates - if [ -z "$_duplicate" ]; then - # avoid trailing separator - if [ -z "$_values" ]; then - eval export $_listname=\"$_value\" - #eval echo "set list \$$_listname" - else - # field separator must not be a colon - unset IFS - eval export $_listname=\"$_value:\$$_listname\" - #eval echo "prepend list \$$_listname" - fi - fi - IFS=$_ament_prepend_unique_value_IFS - unset _ament_prepend_unique_value_IFS - unset _duplicate - unset _values - - unset _value - unset _listname -} - -# unset AMENT_ENVIRONMENT_HOOKS -# if not appending to them for return -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - unset AMENT_ENVIRONMENT_HOOKS -fi - -# list all environment hooks of this package -ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/tactigon_msgs/environment/ament_prefix_path.sh" -ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/tactigon_msgs/environment/library_path.sh" -ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/tactigon_msgs/environment/path.sh" -ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/tactigon_msgs/environment/pythonpath.sh" - -# source all shell-specific environment hooks of this package -# if not returning them -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - _package_local_setup_IFS=$IFS - IFS=":" - if [ "$AMENT_SHELL" = "zsh" ]; then - ament_zsh_to_array AMENT_ENVIRONMENT_HOOKS - fi - for _hook in $AMENT_ENVIRONMENT_HOOKS; do - if [ -f "$_hook" ]; then - # restore IFS before sourcing other files - IFS=$_package_local_setup_IFS - # trace output - if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then - echo "# . \"$_hook\"" - fi - . "$_hook" - fi - done - unset _hook - IFS=$_package_local_setup_IFS - unset _package_local_setup_IFS - unset AMENT_ENVIRONMENT_HOOKS -fi - -# reset AMENT_CURRENT_PREFIX after each package -# allowing to source multiple package-level setup files -unset AMENT_CURRENT_PREFIX diff --git a/install/tactigon_msgs/share/tactigon_msgs/local_setup.zsh b/install/tactigon_msgs/share/tactigon_msgs/local_setup.zsh deleted file mode 100644 index fe161be..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/local_setup.zsh +++ /dev/null @@ -1,59 +0,0 @@ -# generated from ament_package/template/package_level/local_setup.zsh.in - -AMENT_SHELL=zsh - -# source local_setup.sh from same directory as this file -_this_path=$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd) -# provide AMENT_CURRENT_PREFIX to shell script -AMENT_CURRENT_PREFIX=$(builtin cd -q "`dirname "${(%):-%N}"`/../.." > /dev/null && pwd) -# store AMENT_CURRENT_PREFIX to restore it before each environment hook -_package_local_setup_AMENT_CURRENT_PREFIX=$AMENT_CURRENT_PREFIX - -# function to convert array-like strings into arrays -# to wordaround SH_WORD_SPLIT not being set -ament_zsh_to_array() { - local _listname=$1 - local _dollar="$" - local _split="{=" - local _to_array="(\"$_dollar$_split$_listname}\")" - eval $_listname=$_to_array -} - -# trace output -if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then - echo "# . \"$_this_path/local_setup.sh\"" -fi -# the package-level local_setup file unsets AMENT_CURRENT_PREFIX -. "$_this_path/local_setup.sh" -unset _this_path - -# unset AMENT_ENVIRONMENT_HOOKS -# if not appending to them for return -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - unset AMENT_ENVIRONMENT_HOOKS -fi - -# restore AMENT_CURRENT_PREFIX before evaluating the environment hooks -AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX -# list all environment hooks of this package - -# source all shell-specific environment hooks of this package -# if not returning them -if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then - _package_local_setup_IFS=$IFS - IFS=":" - for _hook in $AMENT_ENVIRONMENT_HOOKS; do - # restore AMENT_CURRENT_PREFIX for each environment hook - AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX - # restore IFS before sourcing other files - IFS=$_package_local_setup_IFS - . "$_hook" - done - unset _hook - IFS=$_package_local_setup_IFS - unset _package_local_setup_IFS - unset AMENT_ENVIRONMENT_HOOKS -fi - -unset _package_local_setup_AMENT_CURRENT_PREFIX -unset AMENT_CURRENT_PREFIX diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.idl b/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.idl deleted file mode 100644 index f45e0c5..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.idl +++ /dev/null @@ -1,16 +0,0 @@ -// generated from rosidl_adapter/resource/msg.idl.em -// with input from tactigon_msgs/msg/Angle.msg -// generated code does not contain a copyright notice - - -module tactigon_msgs { - module msg { - struct Angle { - float roll; - - float pitch; - - float yaw; - }; - }; -}; diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.json b/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.json deleted file mode 100644 index 041aba1..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "type_description_msg": { - "type_description": { - "type_name": "tactigon_msgs/msg/Angle", - "fields": [ - { - "name": "roll", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "pitch", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "yaw", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - "referenced_type_descriptions": [] - }, - "type_hashes": [ - { - "type_name": "tactigon_msgs/msg/Angle", - "hash_string": "RIHS01_410294a03df0edffa7b5fd4eaae26de736080cf461d6779b5e67078c37966a1b" - } - ] -} \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.msg b/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.msg deleted file mode 100644 index 84885f7..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Angle.msg +++ /dev/null @@ -1,3 +0,0 @@ -float32 roll -float32 pitch -float32 yaw \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.idl b/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.idl deleted file mode 100644 index 046a49b..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.idl +++ /dev/null @@ -1,18 +0,0 @@ -// generated from rosidl_adapter/resource/msg.idl.em -// with input from tactigon_msgs/msg/Gesture.msg -// generated code does not contain a copyright notice - - -module tactigon_msgs { - module msg { - struct Gesture { - string gesture; - - float probability; - - float confidence; - - float displacement; - }; - }; -}; diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.json b/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.json deleted file mode 100644 index d75c8d9..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "type_description_msg": { - "type_description": { - "type_name": "tactigon_msgs/msg/Gesture", - "fields": [ - { - "name": "gesture", - "type": { - "type_id": 17, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "probability", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "confidence", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "displacement", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - "referenced_type_descriptions": [] - }, - "type_hashes": [ - { - "type_name": "tactigon_msgs/msg/Gesture", - "hash_string": "RIHS01_27bbed8665ee5a9ff6c22cb5996706bc1489c566c84ba3286bcae46ad2399d0c" - } - ] -} \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.msg b/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.msg deleted file mode 100644 index ac5f417..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Gesture.msg +++ /dev/null @@ -1,4 +0,0 @@ -string gesture -float32 probability -float32 confidence -float32 displacement \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.idl b/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.idl deleted file mode 100644 index 97f4590..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.idl +++ /dev/null @@ -1,38 +0,0 @@ -// generated from rosidl_adapter/resource/msg.idl.em -// with input from tactigon_msgs/msg/TSkinState.msg -// generated code does not contain a copyright notice - -#include "tactigon_msgs/msg/Angle.idl" -#include "tactigon_msgs/msg/Gesture.idl" -#include "tactigon_msgs/msg/Touch.idl" - -module tactigon_msgs { - module msg { - module TSkinState_Constants { - const uint8 BLE_SELECTOR_NONE = 0; - const uint8 BLE_SELECTOR_SENSORS = 1; - const uint8 BLE_SELECTOR_AUDIO = 2; - }; - struct TSkinState { - boolean connected; - - float battery; - - uint8 selector; - - boolean selector_valid; - - tactigon_msgs::msg::Touch touchpad; - - boolean touchpad_valid; - - tactigon_msgs::msg::Angle angle; - - boolean angle_valid; - - tactigon_msgs::msg::Gesture gesture; - - boolean gesture_valid; - }; - }; -}; diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.json b/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.json deleted file mode 100644 index 4fc34a8..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.json +++ /dev/null @@ -1,254 +0,0 @@ -{ - "type_description_msg": { - "type_description": { - "type_name": "tactigon_msgs/msg/TSkinState", - "fields": [ - { - "name": "connected", - "type": { - "type_id": 15, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "battery", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "selector", - "type": { - "type_id": 3, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "selector_valid", - "type": { - "type_id": 15, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "touchpad", - "type": { - "type_id": 1, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "tactigon_msgs/msg/Touch" - }, - "default_value": "" - }, - { - "name": "touchpad_valid", - "type": { - "type_id": 15, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "angle", - "type": { - "type_id": 1, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "tactigon_msgs/msg/Angle" - }, - "default_value": "" - }, - { - "name": "angle_valid", - "type": { - "type_id": 15, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "gesture", - "type": { - "type_id": 1, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "tactigon_msgs/msg/Gesture" - }, - "default_value": "" - }, - { - "name": "gesture_valid", - "type": { - "type_id": 15, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - "referenced_type_descriptions": [ - { - "type_name": "tactigon_msgs/msg/Angle", - "fields": [ - { - "name": "roll", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "pitch", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "yaw", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - { - "type_name": "tactigon_msgs/msg/Gesture", - "fields": [ - { - "name": "gesture", - "type": { - "type_id": 17, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "probability", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "confidence", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "displacement", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - { - "type_name": "tactigon_msgs/msg/Touch", - "fields": [ - { - "name": "one_finger", - "type": { - "type_id": 3, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "two_finger", - "type": { - "type_id": 3, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "x_pos", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "y_pos", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - } - ] - }, - "type_hashes": [ - { - "type_name": "tactigon_msgs/msg/TSkinState", - "hash_string": "RIHS01_fd25e0b5743acb95b0eb3c36c616288466a2d0bed3ab122d1e33fc3a35dc515a" - }, - { - "type_name": "tactigon_msgs/msg/Angle", - "hash_string": "RIHS01_410294a03df0edffa7b5fd4eaae26de736080cf461d6779b5e67078c37966a1b" - }, - { - "type_name": "tactigon_msgs/msg/Gesture", - "hash_string": "RIHS01_27bbed8665ee5a9ff6c22cb5996706bc1489c566c84ba3286bcae46ad2399d0c" - }, - { - "type_name": "tactigon_msgs/msg/Touch", - "hash_string": "RIHS01_42d5c59b192aec8f9c55d615bc519c46c89d656ec9d4625e81d3b3faaa2433d4" - } - ] -} \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.msg b/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.msg deleted file mode 100644 index 55fa6f5..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/TSkinState.msg +++ /dev/null @@ -1,13 +0,0 @@ -bool connected -float32 battery -uint8 selector -bool selector_valid -Touch touchpad -bool touchpad_valid -Angle angle -bool angle_valid -Gesture gesture -bool gesture_valid -uint8 BLE_SELECTOR_NONE=0 -uint8 BLE_SELECTOR_SENSORS=1 -uint8 BLE_SELECTOR_AUDIO=2 \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.idl b/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.idl deleted file mode 100644 index 9269132..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.idl +++ /dev/null @@ -1,31 +0,0 @@ -// generated from rosidl_adapter/resource/msg.idl.em -// with input from tactigon_msgs/msg/Touch.msg -// generated code does not contain a copyright notice - - -module tactigon_msgs { - module msg { - module Touch_Constants { - const uint8 ONE_FINGER_NONE = 0; - const uint8 ONE_FINGER_SINGLE_TAP = 1; - const uint8 ONE_FINGER_TAP_AND_HOLD = 2; - const uint8 ONE_FINGER_SWIPE_X_NEG = 4; - const uint8 ONE_FINGER_SWIPE_X_POS = 8; - const uint8 ONE_FINGER_SWIPE_Y_POS = 16; - const uint8 ONE_FINGER_SWIPE_Y_NEG = 32; - const uint8 TWO_FINGER_NONE = 0; - const uint8 TWO_FINGER_TAP = 1; - const uint8 TWO_FINGER_SCROLL = 2; - const uint8 TWO_FINGER_ZOOM = 4; - }; - struct Touch { - uint8 one_finger; - - uint8 two_finger; - - float x_pos; - - float y_pos; - }; - }; -}; diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.json b/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.json deleted file mode 100644 index 338fbbc..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "type_description_msg": { - "type_description": { - "type_name": "tactigon_msgs/msg/Touch", - "fields": [ - { - "name": "one_finger", - "type": { - "type_id": 3, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "two_finger", - "type": { - "type_id": 3, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "x_pos", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - }, - { - "name": "y_pos", - "type": { - "type_id": 10, - "capacity": 0, - "string_capacity": 0, - "nested_type_name": "" - }, - "default_value": "" - } - ] - }, - "referenced_type_descriptions": [] - }, - "type_hashes": [ - { - "type_name": "tactigon_msgs/msg/Touch", - "hash_string": "RIHS01_42d5c59b192aec8f9c55d615bc519c46c89d656ec9d4625e81d3b3faaa2433d4" - } - ] -} \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.msg b/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.msg deleted file mode 100644 index 71d1d1c..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/msg/Touch.msg +++ /dev/null @@ -1,15 +0,0 @@ -uint8 one_finger -uint8 two_finger -float32 x_pos -float32 y_pos -uint8 ONE_FINGER_NONE=0 -uint8 ONE_FINGER_SINGLE_TAP=1 -uint8 ONE_FINGER_TAP_AND_HOLD=2 -uint8 ONE_FINGER_SWIPE_X_NEG=4 -uint8 ONE_FINGER_SWIPE_X_POS=8 -uint8 ONE_FINGER_SWIPE_Y_POS=16 -uint8 ONE_FINGER_SWIPE_Y_NEG=32 -uint8 TWO_FINGER_NONE=0 -uint8 TWO_FINGER_TAP=1 -uint8 TWO_FINGER_SCROLL=2 -uint8 TWO_FINGER_ZOOM=4 \ No newline at end of file diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.bash b/install/tactigon_msgs/share/tactigon_msgs/package.bash deleted file mode 100644 index b62de7c..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.bash +++ /dev/null @@ -1,39 +0,0 @@ -# generated from colcon_bash/shell/template/package.bash.em - -# This script extends the environment for this package. - -# a bash script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - # the prefix is two levels up from the package specific share directory - _colcon_package_bash_COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`/../.." > /dev/null && pwd)" -else - _colcon_package_bash_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_bash_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source sh script of this package -_colcon_package_bash_source_script "$_colcon_package_bash_COLCON_CURRENT_PREFIX/share/tactigon_msgs/package.sh" - -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced scripts -COLCON_CURRENT_PREFIX="$_colcon_package_bash_COLCON_CURRENT_PREFIX" - -# source bash hooks -_colcon_package_bash_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/local_setup.bash" - -unset COLCON_CURRENT_PREFIX - -unset _colcon_package_bash_source_script -unset _colcon_package_bash_COLCON_CURRENT_PREFIX diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.dsv b/install/tactigon_msgs/share/tactigon_msgs/package.dsv deleted file mode 100644 index 1689e30..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.dsv +++ /dev/null @@ -1,14 +0,0 @@ -source;share/tactigon_msgs/hook/cmake_prefix_path.ps1 -source;share/tactigon_msgs/hook/cmake_prefix_path.dsv -source;share/tactigon_msgs/hook/cmake_prefix_path.sh -source;share/tactigon_msgs/hook/ld_library_path_lib.ps1 -source;share/tactigon_msgs/hook/ld_library_path_lib.dsv -source;share/tactigon_msgs/hook/ld_library_path_lib.sh -source;share/tactigon_msgs/hook/pythonpath.ps1 -source;share/tactigon_msgs/hook/pythonpath.dsv -source;share/tactigon_msgs/hook/pythonpath.sh -source;share/tactigon_msgs/local_setup.bash -source;share/tactigon_msgs/local_setup.dsv -source;share/tactigon_msgs/local_setup.ps1 -source;share/tactigon_msgs/local_setup.sh -source;share/tactigon_msgs/local_setup.zsh diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.ps1 b/install/tactigon_msgs/share/tactigon_msgs/package.ps1 deleted file mode 100644 index 0456030..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.ps1 +++ /dev/null @@ -1,118 +0,0 @@ -# generated from colcon_powershell/shell/template/package.ps1.em - -# function to append a value to a variable -# which uses colons as separators -# duplicates as well as leading separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -function colcon_append_unique_value { - param ( - $_listname, - $_value - ) - - # get values from variable - if (Test-Path Env:$_listname) { - $_values=(Get-Item env:$_listname).Value - } else { - $_values="" - } - $_duplicate="" - # start with no values - $_all_values="" - # iterate over existing values in the variable - if ($_values) { - $_values.Split(";") | ForEach { - # not an empty string - if ($_) { - # not a duplicate of _value - if ($_ -eq $_value) { - $_duplicate="1" - } - if ($_all_values) { - $_all_values="${_all_values};$_" - } else { - $_all_values="$_" - } - } - } - } - # append only non-duplicates - if (!$_duplicate) { - # avoid leading separator - if ($_all_values) { - $_all_values="${_all_values};${_value}" - } else { - $_all_values="${_value}" - } - } - - # export the updated variable - Set-Item env:\$_listname -Value "$_all_values" -} - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -function colcon_prepend_unique_value { - param ( - $_listname, - $_value - ) - - # get values from variable - if (Test-Path Env:$_listname) { - $_values=(Get-Item env:$_listname).Value - } else { - $_values="" - } - # start with the new value - $_all_values="$_value" - # iterate over existing values in the variable - if ($_values) { - $_values.Split(";") | ForEach { - # not an empty string - if ($_) { - # not a duplicate of _value - if ($_ -ne $_value) { - # keep non-duplicate values - $_all_values="${_all_values};$_" - } - } - } - } - # export the updated variable - Set-Item env:\$_listname -Value "$_all_values" -} - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -function colcon_package_source_powershell_script { - param ( - $_colcon_package_source_powershell_script - ) - # source script with conditional trace output - if (Test-Path $_colcon_package_source_powershell_script) { - if ($env:COLCON_TRACE) { - echo ". '$_colcon_package_source_powershell_script'" - } - . "$_colcon_package_source_powershell_script" - } else { - Write-Error "not found: '$_colcon_package_source_powershell_script'" - } -} - - -# a powershell script is able to determine its own path -# the prefix is two levels up from the package specific share directory -$env:COLCON_CURRENT_PREFIX=(Get-Item $PSCommandPath).Directory.Parent.Parent.FullName - -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_msgs/hook/cmake_prefix_path.ps1" -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_msgs/hook/ld_library_path_lib.ps1" -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_msgs/hook/pythonpath.ps1" -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_msgs/local_setup.ps1" - -Remove-Item Env:\COLCON_CURRENT_PREFIX diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.sh b/install/tactigon_msgs/share/tactigon_msgs/package.sh deleted file mode 100644 index bfe7367..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.sh +++ /dev/null @@ -1,89 +0,0 @@ -# generated from colcon_core/shell/template/package.sh.em - -# This script extends the environment for this package. - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -_colcon_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - - # get values from variable - eval _values=\"\$$_listname\" - # backup the field separator - _colcon_prepend_unique_value_IFS=$IFS - IFS=":" - # start with the new value - _all_values="$_value" - # workaround SH_WORD_SPLIT not being set in zsh - if [ "$(command -v colcon_zsh_convert_to_array)" ]; then - colcon_zsh_convert_to_array _values - fi - # iterate over existing values in the variable - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - # ignore duplicates of _value - if [ "$_item" = "$_value" ]; then - continue - fi - # keep non-duplicate values - _all_values="$_all_values:$_item" - done - unset _item - # restore the field separator - IFS=$_colcon_prepend_unique_value_IFS - unset _colcon_prepend_unique_value_IFS - # export the updated variable - eval export $_listname=\"$_all_values\" - unset _all_values - unset _values - - unset _value - unset _listname -} - -# since a plain shell script can't determine its own path when being sourced -# either use the provided COLCON_CURRENT_PREFIX -# or fall back to the build time prefix (if it exists) -_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/banjov2/ros2_ws/install/tactigon_msgs" -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - if [ ! -d "$_colcon_package_sh_COLCON_CURRENT_PREFIX" ]; then - echo "The build time path \"$_colcon_package_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 - unset _colcon_package_sh_COLCON_CURRENT_PREFIX - return 1 - fi - COLCON_CURRENT_PREFIX="$_colcon_package_sh_COLCON_CURRENT_PREFIX" -fi -unset _colcon_package_sh_COLCON_CURRENT_PREFIX - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source sh hooks -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/hook/cmake_prefix_path.sh" -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/hook/ld_library_path_lib.sh" -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/hook/pythonpath.sh" -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/local_setup.sh" - -unset _colcon_package_sh_source_script -unset COLCON_CURRENT_PREFIX - -# do not unset _colcon_prepend_unique_value since it might be used by non-primary shell hooks diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.xml b/install/tactigon_msgs/share/tactigon_msgs/package.xml deleted file mode 100644 index 7fac328..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - tactigon_msgs - 0.0.0 - TODO: Package description - banjo2 - TODO: License declaration - - ament_cmake - rosidl_default_generators - rosidl_default_runtime - rosidl_interface_packages - - ament_lint_auto - ament_lint_common - - - ament_cmake - - diff --git a/install/tactigon_msgs/share/tactigon_msgs/package.zsh b/install/tactigon_msgs/share/tactigon_msgs/package.zsh deleted file mode 100644 index 8bc9ec3..0000000 --- a/install/tactigon_msgs/share/tactigon_msgs/package.zsh +++ /dev/null @@ -1,50 +0,0 @@ -# generated from colcon_zsh/shell/template/package.zsh.em - -# This script extends the environment for this package. - -# a zsh script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - # the prefix is two levels up from the package specific share directory - _colcon_package_zsh_COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`/../.." > /dev/null && pwd)" -else - _colcon_package_zsh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_zsh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# function to convert array-like strings into arrays -# to workaround SH_WORD_SPLIT not being set -colcon_zsh_convert_to_array() { - local _listname=$1 - local _dollar="$" - local _split="{=" - local _to_array="(\"$_dollar$_split$_listname}\")" - eval $_listname=$_to_array -} - -# source sh script of this package -_colcon_package_zsh_source_script "$_colcon_package_zsh_COLCON_CURRENT_PREFIX/share/tactigon_msgs/package.sh" -unset convert_zsh_to_array - -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced scripts -COLCON_CURRENT_PREFIX="$_colcon_package_zsh_COLCON_CURRENT_PREFIX" - -# source zsh hooks -_colcon_package_zsh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_msgs/local_setup.zsh" - -unset COLCON_CURRENT_PREFIX - -unset _colcon_package_zsh_source_script -unset _colcon_package_zsh_COLCON_CURRENT_PREFIX diff --git a/install/tactigon_ros/share/ament_index/resource_index/packages/tactigon_ros b/install/tactigon_ros/share/ament_index/resource_index/packages/tactigon_ros deleted file mode 100644 index e69de29..0000000 diff --git a/install/tactigon_ros/share/colcon-core/packages/tactigon_ros b/install/tactigon_ros/share/colcon-core/packages/tactigon_ros deleted file mode 100644 index 440bfed..0000000 --- a/install/tactigon_ros/share/colcon-core/packages/tactigon_ros +++ /dev/null @@ -1 +0,0 @@ -example_interfaces:geometry_msgs:rclpy:rosidl_default_runtime:sensor_msgs:std_msgs:tactigon_gear:tactigon_msgs \ No newline at end of file diff --git a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.dsv b/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.dsv deleted file mode 100644 index 79d4c95..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;AMENT_PREFIX_PATH; diff --git a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.ps1 b/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.ps1 deleted file mode 100644 index 26b9997..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em - -colcon_prepend_unique_value AMENT_PREFIX_PATH "$env:COLCON_CURRENT_PREFIX" diff --git a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.sh b/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.sh deleted file mode 100644 index f3041f6..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/ament_prefix_path.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_core/shell/template/hook_prepend_value.sh.em - -_colcon_prepend_unique_value AMENT_PREFIX_PATH "$COLCON_CURRENT_PREFIX" diff --git a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.dsv b/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.dsv deleted file mode 100644 index c2ddcdb..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;PYTHONPATH;lib/python3.12/site-packages diff --git a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.ps1 b/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.ps1 deleted file mode 100644 index bdd69af..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em - -colcon_prepend_unique_value PYTHONPATH "$env:COLCON_CURRENT_PREFIX\lib/python3.12/site-packages" diff --git a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.sh b/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.sh deleted file mode 100644 index 45388fe..0000000 --- a/install/tactigon_ros/share/tactigon_ros/hook/pythonpath.sh +++ /dev/null @@ -1,3 +0,0 @@ -# generated from colcon_core/shell/template/hook_prepend_value.sh.em - -_colcon_prepend_unique_value PYTHONPATH "$COLCON_CURRENT_PREFIX/lib/python3.12/site-packages" diff --git a/install/tactigon_ros/share/tactigon_ros/launch/launch_tactigon_ros.launch.py b/install/tactigon_ros/share/tactigon_ros/launch/launch_tactigon_ros.launch.py deleted file mode 100644 index dab0436..0000000 --- a/install/tactigon_ros/share/tactigon_ros/launch/launch_tactigon_ros.launch.py +++ /dev/null @@ -1,24 +0,0 @@ -from launch import LaunchDescription -from launch_ros.actions import Node - -def generate_launch_description(): - return LaunchDescription([ - Node( - package='tactigon_ros', - executable='tactigon_turtlesim_controller', - name='tactigon_turtlesim_controller', - output='screen' - ), - Node( - package='tactigon_ros', - executable='tactigon_data', - name='tactigon_data', - output='screen' - ), - Node( - package='tactigon_ros', - executable='tactigon_logger', - name='tactigon_logger', - output='screen' - ), - ]) \ No newline at end of file diff --git a/install/tactigon_ros/share/tactigon_ros/package.bash b/install/tactigon_ros/share/tactigon_ros/package.bash deleted file mode 100644 index a347f4c..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.bash +++ /dev/null @@ -1,31 +0,0 @@ -# generated from colcon_bash/shell/template/package.bash.em - -# This script extends the environment for this package. - -# a bash script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - # the prefix is two levels up from the package specific share directory - _colcon_package_bash_COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`/../.." > /dev/null && pwd)" -else - _colcon_package_bash_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_bash_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source sh script of this package -_colcon_package_bash_source_script "$_colcon_package_bash_COLCON_CURRENT_PREFIX/share/tactigon_ros/package.sh" - -unset _colcon_package_bash_source_script -unset _colcon_package_bash_COLCON_CURRENT_PREFIX diff --git a/install/tactigon_ros/share/tactigon_ros/package.dsv b/install/tactigon_ros/share/tactigon_ros/package.dsv deleted file mode 100644 index b16a0e5..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.dsv +++ /dev/null @@ -1,6 +0,0 @@ -source;share/tactigon_ros/hook/pythonpath.ps1 -source;share/tactigon_ros/hook/pythonpath.dsv -source;share/tactigon_ros/hook/pythonpath.sh -source;share/tactigon_ros/hook/ament_prefix_path.ps1 -source;share/tactigon_ros/hook/ament_prefix_path.dsv -source;share/tactigon_ros/hook/ament_prefix_path.sh diff --git a/install/tactigon_ros/share/tactigon_ros/package.ps1 b/install/tactigon_ros/share/tactigon_ros/package.ps1 deleted file mode 100644 index 2d440e5..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.ps1 +++ /dev/null @@ -1,116 +0,0 @@ -# generated from colcon_powershell/shell/template/package.ps1.em - -# function to append a value to a variable -# which uses colons as separators -# duplicates as well as leading separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -function colcon_append_unique_value { - param ( - $_listname, - $_value - ) - - # get values from variable - if (Test-Path Env:$_listname) { - $_values=(Get-Item env:$_listname).Value - } else { - $_values="" - } - $_duplicate="" - # start with no values - $_all_values="" - # iterate over existing values in the variable - if ($_values) { - $_values.Split(";") | ForEach { - # not an empty string - if ($_) { - # not a duplicate of _value - if ($_ -eq $_value) { - $_duplicate="1" - } - if ($_all_values) { - $_all_values="${_all_values};$_" - } else { - $_all_values="$_" - } - } - } - } - # append only non-duplicates - if (!$_duplicate) { - # avoid leading separator - if ($_all_values) { - $_all_values="${_all_values};${_value}" - } else { - $_all_values="${_value}" - } - } - - # export the updated variable - Set-Item env:\$_listname -Value "$_all_values" -} - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -function colcon_prepend_unique_value { - param ( - $_listname, - $_value - ) - - # get values from variable - if (Test-Path Env:$_listname) { - $_values=(Get-Item env:$_listname).Value - } else { - $_values="" - } - # start with the new value - $_all_values="$_value" - # iterate over existing values in the variable - if ($_values) { - $_values.Split(";") | ForEach { - # not an empty string - if ($_) { - # not a duplicate of _value - if ($_ -ne $_value) { - # keep non-duplicate values - $_all_values="${_all_values};$_" - } - } - } - } - # export the updated variable - Set-Item env:\$_listname -Value "$_all_values" -} - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -function colcon_package_source_powershell_script { - param ( - $_colcon_package_source_powershell_script - ) - # source script with conditional trace output - if (Test-Path $_colcon_package_source_powershell_script) { - if ($env:COLCON_TRACE) { - echo ". '$_colcon_package_source_powershell_script'" - } - . "$_colcon_package_source_powershell_script" - } else { - Write-Error "not found: '$_colcon_package_source_powershell_script'" - } -} - - -# a powershell script is able to determine its own path -# the prefix is two levels up from the package specific share directory -$env:COLCON_CURRENT_PREFIX=(Get-Item $PSCommandPath).Directory.Parent.Parent.FullName - -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_ros/hook/pythonpath.ps1" -colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/tactigon_ros/hook/ament_prefix_path.ps1" - -Remove-Item Env:\COLCON_CURRENT_PREFIX diff --git a/install/tactigon_ros/share/tactigon_ros/package.sh b/install/tactigon_ros/share/tactigon_ros/package.sh deleted file mode 100644 index 102af50..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.sh +++ /dev/null @@ -1,87 +0,0 @@ -# generated from colcon_core/shell/template/package.sh.em - -# This script extends the environment for this package. - -# function to prepend a value to a variable -# which uses colons as separators -# duplicates as well as trailing separators are avoided -# first argument: the name of the result variable -# second argument: the value to be prepended -_colcon_prepend_unique_value() { - # arguments - _listname="$1" - _value="$2" - - # get values from variable - eval _values=\"\$$_listname\" - # backup the field separator - _colcon_prepend_unique_value_IFS=$IFS - IFS=":" - # start with the new value - _all_values="$_value" - # workaround SH_WORD_SPLIT not being set in zsh - if [ "$(command -v colcon_zsh_convert_to_array)" ]; then - colcon_zsh_convert_to_array _values - fi - # iterate over existing values in the variable - for _item in $_values; do - # ignore empty strings - if [ -z "$_item" ]; then - continue - fi - # ignore duplicates of _value - if [ "$_item" = "$_value" ]; then - continue - fi - # keep non-duplicate values - _all_values="$_all_values:$_item" - done - unset _item - # restore the field separator - IFS=$_colcon_prepend_unique_value_IFS - unset _colcon_prepend_unique_value_IFS - # export the updated variable - eval export $_listname=\"$_all_values\" - unset _all_values - unset _values - - unset _value - unset _listname -} - -# since a plain shell script can't determine its own path when being sourced -# either use the provided COLCON_CURRENT_PREFIX -# or fall back to the build time prefix (if it exists) -_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/banjov2/ros2_ws/install/tactigon_ros" -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - if [ ! -d "$_colcon_package_sh_COLCON_CURRENT_PREFIX" ]; then - echo "The build time path \"$_colcon_package_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 - unset _colcon_package_sh_COLCON_CURRENT_PREFIX - return 1 - fi - COLCON_CURRENT_PREFIX="$_colcon_package_sh_COLCON_CURRENT_PREFIX" -fi -unset _colcon_package_sh_COLCON_CURRENT_PREFIX - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_sh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# source sh hooks -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_ros/hook/pythonpath.sh" -_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/tactigon_ros/hook/ament_prefix_path.sh" - -unset _colcon_package_sh_source_script -unset COLCON_CURRENT_PREFIX - -# do not unset _colcon_prepend_unique_value since it might be used by non-primary shell hooks diff --git a/install/tactigon_ros/share/tactigon_ros/package.xml b/install/tactigon_ros/share/tactigon_ros/package.xml deleted file mode 100644 index be05287..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - tactigon_ros - 0.0.0 - TODO: Package description - banjo - TODO: License declaration - - - -rclpy -example_interfaces -std_msgs -tactigon_gear -sensor_msgs -geometry_msgs - -rosidl_default_generators -rosidl_default_runtime -tactigon_msgs -rosidl_interface_packages - - - ament_copyright - ament_flake8 - ament_pep257 - python3-pytest - - - ament_python - - diff --git a/install/tactigon_ros/share/tactigon_ros/package.zsh b/install/tactigon_ros/share/tactigon_ros/package.zsh deleted file mode 100644 index b601868..0000000 --- a/install/tactigon_ros/share/tactigon_ros/package.zsh +++ /dev/null @@ -1,42 +0,0 @@ -# generated from colcon_zsh/shell/template/package.zsh.em - -# This script extends the environment for this package. - -# a zsh script is able to determine its own path if necessary -if [ -z "$COLCON_CURRENT_PREFIX" ]; then - # the prefix is two levels up from the package specific share directory - _colcon_package_zsh_COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`/../.." > /dev/null && pwd)" -else - _colcon_package_zsh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" -fi - -# function to source another script with conditional trace output -# first argument: the path of the script -# additional arguments: arguments to the script -_colcon_package_zsh_source_script() { - if [ -f "$1" ]; then - if [ -n "$COLCON_TRACE" ]; then - echo "# . \"$1\"" - fi - . "$@" - else - echo "not found: \"$1\"" 1>&2 - fi -} - -# function to convert array-like strings into arrays -# to workaround SH_WORD_SPLIT not being set -colcon_zsh_convert_to_array() { - local _listname=$1 - local _dollar="$" - local _split="{=" - local _to_array="(\"$_dollar$_split$_listname}\")" - eval $_listname=$_to_array -} - -# source sh script of this package -_colcon_package_zsh_source_script "$_colcon_package_zsh_COLCON_CURRENT_PREFIX/share/tactigon_ros/package.sh" -unset convert_zsh_to_array - -unset _colcon_package_zsh_source_script -unset _colcon_package_zsh_COLCON_CURRENT_PREFIX diff --git a/models/demo/encoder.pickle b/models/demo/encoder.pickle new file mode 100644 index 0000000..c7a47cf Binary files /dev/null and b/models/demo/encoder.pickle differ diff --git a/models/demo/model.pickle b/models/demo/model.pickle new file mode 100644 index 0000000..98ef9da Binary files /dev/null and b/models/demo/model.pickle differ diff --git a/src/tactigon_ros/package.xml b/src/tactigon_ros/package.xml index be05287..9cc6529 100644 --- a/src/tactigon_ros/package.xml +++ b/src/tactigon_ros/package.xml @@ -12,7 +12,7 @@ rclpy example_interfaces std_msgs -tactigon_gear +python3-tactigon-gear-pip sensor_msgs geometry_msgs diff --git a/src/tactigon_ros/tactigon_ros/tactigon_data.py b/src/tactigon_ros/tactigon_ros/tactigon_data.py index 4be81ae..5717474 100644 --- a/src/tactigon_ros/tactigon_ros/tactigon_data.py +++ b/src/tactigon_ros/tactigon_ros/tactigon_data.py @@ -21,8 +21,8 @@ def __init__(self): TSKIN_NAME = "TSKIN" gesture_config = GestureConfig( - path.join(model_folder, "examples", "gear", "model.pickle"), - path.join(model_folder, "examples", "gear", "encoder.pickle"), + path.join(model_folder, "models", "demo", "model.pickle"), + path.join(model_folder, "models", "demo", "encoder.pickle"), #path.join(model_folder, "examples", "gear", "modelpy12.pickle"), #path.join(model_folder, "examples", "gear", "encoderpy12.pickle"), "demo",