From 182b7f2934656f0ce6862a6e84c29219b7cb327d Mon Sep 17 00:00:00 2001 From: uconncse Date: Wed, 11 Apr 2018 14:12:29 +0100 Subject: [PATCH] Cleaning up repo --- .gitignore | 2 + carone.launch | 6 + devel/.built_by | 1 - devel/.catkin | 1 - devel/.rosinstall | 2 - devel/_setup_util.py | 291 ------------------ devel/env.sh | 16 - devel/include/ac_msgs/drive_params.h | 195 ------------ devel/include/ac_msgs/drive_values.h | 195 ------------ devel/setup.bash | 8 - devel/setup.sh | 94 ------ devel/setup.zsh | 8 - .../ac_msgs/cmake/ac_msgs-msg-extras.cmake | 2 - .../ac_msgs/cmake/ac_msgs-msg-paths.cmake | 4 - .../ac_msgs/cmake/ac_msgsConfig-version.cmake | 14 - devel/share/ac_msgs/cmake/ac_msgsConfig.cmake | 191 ------------ .../common-lisp/ros/ac_msgs/msg/_package.lisp | 9 - .../ac_msgs/msg/_package_drive_params.lisp | 6 - .../ac_msgs/msg/_package_drive_values.lisp | 6 - .../ros/ac_msgs/msg/ac_msgs-msg.asd | 11 - .../ros/ac_msgs/msg/drive_params.lisp | 96 ------ .../ros/ac_msgs/msg/drive_values.lisp | 90 ------ .../cmake/data_loggerConfig-version.cmake | 14 - .../data_logger/cmake/data_loggerConfig.cmake | 191 ------------ .../cmake/emergency_stopConfig-version.cmake | 14 - .../cmake/emergency_stopConfig.cmake | 191 ------------ .../cmake/imu_cleanerConfig-version.cmake | 14 - .../imu_cleaner/cmake/imu_cleanerConfig.cmake | 191 ------------ .../keyboard_controlConfig-version.cmake | 14 - .../cmake/keyboard_controlConfig.cmake | 191 ------------ 30 files changed, 8 insertions(+), 2060 deletions(-) create mode 100644 carone.launch delete mode 100644 devel/.built_by delete mode 100644 devel/.catkin delete mode 100644 devel/.rosinstall delete mode 100755 devel/_setup_util.py delete mode 100755 devel/env.sh delete mode 100644 devel/include/ac_msgs/drive_params.h delete mode 100644 devel/include/ac_msgs/drive_values.h delete mode 100644 devel/setup.bash delete mode 100644 devel/setup.sh delete mode 100644 devel/setup.zsh delete mode 100644 devel/share/ac_msgs/cmake/ac_msgs-msg-extras.cmake delete mode 100644 devel/share/ac_msgs/cmake/ac_msgs-msg-paths.cmake delete mode 100644 devel/share/ac_msgs/cmake/ac_msgsConfig-version.cmake delete mode 100644 devel/share/ac_msgs/cmake/ac_msgsConfig.cmake delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/_package.lisp delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_params.lisp delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_values.lisp delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/ac_msgs-msg.asd delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/drive_params.lisp delete mode 100644 devel/share/common-lisp/ros/ac_msgs/msg/drive_values.lisp delete mode 100644 devel/share/data_logger/cmake/data_loggerConfig-version.cmake delete mode 100644 devel/share/data_logger/cmake/data_loggerConfig.cmake delete mode 100644 devel/share/emergency_stop/cmake/emergency_stopConfig-version.cmake delete mode 100644 devel/share/emergency_stop/cmake/emergency_stopConfig.cmake delete mode 100644 devel/share/imu_cleaner/cmake/imu_cleanerConfig-version.cmake delete mode 100644 devel/share/imu_cleaner/cmake/imu_cleanerConfig.cmake delete mode 100644 devel/share/keyboard_control/cmake/keyboard_controlConfig-version.cmake delete mode 100644 devel/share/keyboard_control/cmake/keyboard_controlConfig.cmake diff --git a/.gitignore b/.gitignore index f8bcd11..2014868 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.idea/ +devel/ build/ bin/ lib/ diff --git a/carone.launch b/carone.launch new file mode 100644 index 0000000..a8ed022 --- /dev/null +++ b/carone.launch @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/devel/.built_by b/devel/.built_by deleted file mode 100644 index 2e212dd..0000000 --- a/devel/.built_by +++ /dev/null @@ -1 +0,0 @@ -catkin_make \ No newline at end of file diff --git a/devel/.catkin b/devel/.catkin deleted file mode 100644 index 733b6e8..0000000 --- a/devel/.catkin +++ /dev/null @@ -1 +0,0 @@ -/home/nandan/Documents/AutoCar/src;/home/sdc/Documents/AutoCar/src \ No newline at end of file diff --git a/devel/.rosinstall b/devel/.rosinstall deleted file mode 100644 index aabc605..0000000 --- a/devel/.rosinstall +++ /dev/null @@ -1,2 +0,0 @@ -- setup-file: - local-name: /home/sdc/Documents/AutoCar/devel/setup.sh diff --git a/devel/_setup_util.py b/devel/_setup_util.py deleted file mode 100755 index 0a3c287..0000000 --- a/devel/_setup_util.py +++ /dev/null @@ -1,291 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -# Software License Agreement (BSD License) -# -# Copyright (c) 2012, Willow Garage, Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# * Neither the name of Willow Garage, Inc. nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. - -'''This file generates shell code for the setup.SHELL scripts to set environment variables''' - -from __future__ import print_function -import argparse -import copy -import errno -import os -import platform -import sys - -CATKIN_MARKER_FILE = '.catkin' - -system = platform.system() -IS_DARWIN = (system == 'Darwin') -IS_WINDOWS = (system == 'Windows') - -# subfolder of workspace prepended to CMAKE_PREFIX_PATH -ENV_VAR_SUBFOLDERS = { - 'CMAKE_PREFIX_PATH': '', - 'CPATH': 'include', - 'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')], - 'PATH': 'bin', - 'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')], - 'PYTHONPATH': 'lib/python2.7/dist-packages', -} - - -def rollback_env_variables(environ, env_var_subfolders): - ''' - Generate shell code to reset environment variables - by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH. - This does not cover modifications performed by environment hooks. - ''' - lines = [] - unmodified_environ = copy.copy(environ) - for key in sorted(env_var_subfolders.keys()): - subfolders = env_var_subfolders[key] - if not isinstance(subfolders, list): - subfolders = [subfolders] - value = _rollback_env_variable(unmodified_environ, key, subfolders) - if value is not None: - environ[key] = value - lines.append(assignment(key, value)) - if lines: - lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH')) - return lines - - -def _rollback_env_variable(environ, name, subfolders): - ''' - For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder. - - :param subfolders: list of str '' or subfoldername that may start with '/' - :returns: the updated value of the environment variable. - ''' - value = environ[name] if name in environ else '' - env_paths = [path for path in value.split(os.pathsep) if path] - value_modified = False - for subfolder in subfolders: - if subfolder: - if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)): - subfolder = subfolder[1:] - if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)): - subfolder = subfolder[:-1] - for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True): - path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path - path_to_remove = None - for env_path in env_paths: - env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path - if env_path_clean == path_to_find: - path_to_remove = env_path - break - if path_to_remove: - env_paths.remove(path_to_remove) - value_modified = True - new_value = os.pathsep.join(env_paths) - return new_value if value_modified else None - - -def _get_workspaces(environ, include_fuerte=False, include_non_existing=False): - ''' - Based on CMAKE_PREFIX_PATH return all catkin workspaces. - - :param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool`` - ''' - # get all cmake prefix paths - env_name = 'CMAKE_PREFIX_PATH' - value = environ[env_name] if env_name in environ else '' - paths = [path for path in value.split(os.pathsep) if path] - # remove non-workspace paths - workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))] - return workspaces - - -def prepend_env_variables(environ, env_var_subfolders, workspaces): - ''' - Generate shell code to prepend environment variables - for the all workspaces. - ''' - lines = [] - lines.append(comment('prepend folders of workspaces to environment variables')) - - paths = [path for path in workspaces.split(os.pathsep) if path] - - prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '') - lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix)) - - for key in sorted([key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH']): - subfolder = env_var_subfolders[key] - prefix = _prefix_env_variable(environ, key, paths, subfolder) - lines.append(prepend(environ, key, prefix)) - return lines - - -def _prefix_env_variable(environ, name, paths, subfolders): - ''' - Return the prefix to prepend to the environment variable NAME, adding any path in NEW_PATHS_STR without creating duplicate or empty items. - ''' - value = environ[name] if name in environ else '' - environ_paths = [path for path in value.split(os.pathsep) if path] - checked_paths = [] - for path in paths: - if not isinstance(subfolders, list): - subfolders = [subfolders] - for subfolder in subfolders: - path_tmp = path - if subfolder: - path_tmp = os.path.join(path_tmp, subfolder) - # skip nonexistent paths - if not os.path.exists(path_tmp): - continue - # exclude any path already in env and any path we already added - if path_tmp not in environ_paths and path_tmp not in checked_paths: - checked_paths.append(path_tmp) - prefix_str = os.pathsep.join(checked_paths) - if prefix_str != '' and environ_paths: - prefix_str += os.pathsep - return prefix_str - - -def assignment(key, value): - if not IS_WINDOWS: - return 'export %s="%s"' % (key, value) - else: - return 'set %s=%s' % (key, value) - - -def comment(msg): - if not IS_WINDOWS: - return '# %s' % msg - else: - return 'REM %s' % msg - - -def prepend(environ, key, prefix): - if key not in environ or not environ[key]: - return assignment(key, prefix) - if not IS_WINDOWS: - return 'export %s="%s$%s"' % (key, prefix, key) - else: - return 'set %s=%s%%%s%%' % (key, prefix, key) - - -def find_env_hooks(environ, cmake_prefix_path): - ''' - Generate shell code with found environment hooks - for the all workspaces. - ''' - lines = [] - lines.append(comment('found environment hooks in workspaces')) - - generic_env_hooks = [] - generic_env_hooks_workspace = [] - specific_env_hooks = [] - specific_env_hooks_workspace = [] - generic_env_hooks_by_filename = {} - specific_env_hooks_by_filename = {} - generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh' - specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None - # remove non-workspace paths - workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))] - for workspace in reversed(workspaces): - env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d') - if os.path.isdir(env_hook_dir): - for filename in sorted(os.listdir(env_hook_dir)): - if filename.endswith('.%s' % generic_env_hook_ext): - # remove previous env hook with same name if present - if filename in generic_env_hooks_by_filename: - i = generic_env_hooks.index(generic_env_hooks_by_filename[filename]) - generic_env_hooks.pop(i) - generic_env_hooks_workspace.pop(i) - # append env hook - generic_env_hooks.append(os.path.join(env_hook_dir, filename)) - generic_env_hooks_workspace.append(workspace) - generic_env_hooks_by_filename[filename] = generic_env_hooks[-1] - elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext): - # remove previous env hook with same name if present - if filename in specific_env_hooks_by_filename: - i = specific_env_hooks.index(specific_env_hooks_by_filename[filename]) - specific_env_hooks.pop(i) - specific_env_hooks_workspace.pop(i) - # append env hook - specific_env_hooks.append(os.path.join(env_hook_dir, filename)) - specific_env_hooks_workspace.append(workspace) - specific_env_hooks_by_filename[filename] = specific_env_hooks[-1] - env_hooks = generic_env_hooks + specific_env_hooks - env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace - count = len(env_hooks) - lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count)) - for i in range(count): - lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i])) - lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i])) - return lines - - -def _parse_arguments(args=None): - parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.') - parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context') - return parser.parse_known_args(args=args)[0] - - -if __name__ == '__main__': - try: - try: - args = _parse_arguments() - except Exception as e: - print(e, file=sys.stderr) - sys.exit(1) - - # environment at generation time - CMAKE_PREFIX_PATH = '/home/sdc/Documents/AutoCar/devel;/opt/ros/indigo'.split(';') - # prepend current workspace if not already part of CPP - base_path = os.path.dirname(__file__) - if base_path not in CMAKE_PREFIX_PATH: - CMAKE_PREFIX_PATH.insert(0, base_path) - CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH) - - environ = dict(os.environ) - lines = [] - if not args.extend: - lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS) - lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH) - lines += find_env_hooks(environ, CMAKE_PREFIX_PATH) - print('\n'.join(lines)) - - # need to explicitly flush the output - sys.stdout.flush() - except IOError as e: - # and catch potential "broken pipe" if stdout is not writable - # which can happen when piping the output to a file but the disk is full - if e.errno == errno.EPIPE: - print(e, file=sys.stderr) - sys.exit(2) - raise - - sys.exit(0) diff --git a/devel/env.sh b/devel/env.sh deleted file mode 100755 index 8aa9d24..0000000 --- a/devel/env.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env sh -# generated from catkin/cmake/templates/env.sh.in - -if [ $# -eq 0 ] ; then - /bin/echo "Usage: env.sh COMMANDS" - /bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually." - exit 1 -fi - -# ensure to not use different shell type which was set before -CATKIN_SHELL=sh - -# source setup.sh from same directory as this file -_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd) -. "$_CATKIN_SETUP_DIR/setup.sh" -exec "$@" diff --git a/devel/include/ac_msgs/drive_params.h b/devel/include/ac_msgs/drive_params.h deleted file mode 100644 index fbd34da..0000000 --- a/devel/include/ac_msgs/drive_params.h +++ /dev/null @@ -1,195 +0,0 @@ -// Generated by gencpp from file ac_msgs/drive_params.msg -// DO NOT EDIT! - - -#ifndef AC_MSGS_MESSAGE_DRIVE_PARAMS_H -#define AC_MSGS_MESSAGE_DRIVE_PARAMS_H - - -#include -#include -#include - -#include -#include -#include -#include - - -namespace ac_msgs -{ -template -struct drive_params_ -{ - typedef drive_params_ Type; - - drive_params_() - : velocity(0.0) - , angle(0.0) { - } - drive_params_(const ContainerAllocator& _alloc) - : velocity(0.0) - , angle(0.0) { - (void)_alloc; - } - - - - typedef float _velocity_type; - _velocity_type velocity; - - typedef float _angle_type; - _angle_type angle; - - - - - typedef boost::shared_ptr< ::ac_msgs::drive_params_ > Ptr; - typedef boost::shared_ptr< ::ac_msgs::drive_params_ const> ConstPtr; - -}; // struct drive_params_ - -typedef ::ac_msgs::drive_params_ > drive_params; - -typedef boost::shared_ptr< ::ac_msgs::drive_params > drive_paramsPtr; -typedef boost::shared_ptr< ::ac_msgs::drive_params const> drive_paramsConstPtr; - -// constants requiring out of line definition - - - -template -std::ostream& operator<<(std::ostream& s, const ::ac_msgs::drive_params_ & v) -{ -ros::message_operations::Printer< ::ac_msgs::drive_params_ >::stream(s, "", v); -return s; -} - -} // namespace ac_msgs - -namespace ros -{ -namespace message_traits -{ - - - -// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} -// {'std_msgs': ['/opt/ros/indigo/share/std_msgs/cmake/../msg'], 'ac_msgs': ['/home/sdc/Documents/AutoCar/src/ac_msgs/msg']} - -// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] - - - - -template -struct IsFixedSize< ::ac_msgs::drive_params_ > - : TrueType - { }; - -template -struct IsFixedSize< ::ac_msgs::drive_params_ const> - : TrueType - { }; - -template -struct IsMessage< ::ac_msgs::drive_params_ > - : TrueType - { }; - -template -struct IsMessage< ::ac_msgs::drive_params_ const> - : TrueType - { }; - -template -struct HasHeader< ::ac_msgs::drive_params_ > - : FalseType - { }; - -template -struct HasHeader< ::ac_msgs::drive_params_ const> - : FalseType - { }; - - -template -struct MD5Sum< ::ac_msgs::drive_params_ > -{ - static const char* value() - { - return "23ee9ebc4f65684302501539608c3833"; - } - - static const char* value(const ::ac_msgs::drive_params_&) { return value(); } - static const uint64_t static_value1 = 0x23ee9ebc4f656843ULL; - static const uint64_t static_value2 = 0x02501539608c3833ULL; -}; - -template -struct DataType< ::ac_msgs::drive_params_ > -{ - static const char* value() - { - return "ac_msgs/drive_params"; - } - - static const char* value(const ::ac_msgs::drive_params_&) { return value(); } -}; - -template -struct Definition< ::ac_msgs::drive_params_ > -{ - static const char* value() - { - return "float32 velocity\n\ -float32 angle\n\ -"; - } - - static const char* value(const ::ac_msgs::drive_params_&) { return value(); } -}; - -} // namespace message_traits -} // namespace ros - -namespace ros -{ -namespace serialization -{ - - template struct Serializer< ::ac_msgs::drive_params_ > - { - template inline static void allInOne(Stream& stream, T m) - { - stream.next(m.velocity); - stream.next(m.angle); - } - - ROS_DECLARE_ALLINONE_SERIALIZER - }; // struct drive_params_ - -} // namespace serialization -} // namespace ros - -namespace ros -{ -namespace message_operations -{ - -template -struct Printer< ::ac_msgs::drive_params_ > -{ - template static void stream(Stream& s, const std::string& indent, const ::ac_msgs::drive_params_& v) - { - s << indent << "velocity: "; - Printer::stream(s, indent + " ", v.velocity); - s << indent << "angle: "; - Printer::stream(s, indent + " ", v.angle); - } -}; - -} // namespace message_operations -} // namespace ros - -#endif // AC_MSGS_MESSAGE_DRIVE_PARAMS_H diff --git a/devel/include/ac_msgs/drive_values.h b/devel/include/ac_msgs/drive_values.h deleted file mode 100644 index b4b3994..0000000 --- a/devel/include/ac_msgs/drive_values.h +++ /dev/null @@ -1,195 +0,0 @@ -// Generated by gencpp from file ac_msgs/drive_values.msg -// DO NOT EDIT! - - -#ifndef AC_MSGS_MESSAGE_DRIVE_VALUES_H -#define AC_MSGS_MESSAGE_DRIVE_VALUES_H - - -#include -#include -#include - -#include -#include -#include -#include - - -namespace ac_msgs -{ -template -struct drive_values_ -{ - typedef drive_values_ Type; - - drive_values_() - : pwm_drive(0) - , pwm_angle(0) { - } - drive_values_(const ContainerAllocator& _alloc) - : pwm_drive(0) - , pwm_angle(0) { - (void)_alloc; - } - - - - typedef int16_t _pwm_drive_type; - _pwm_drive_type pwm_drive; - - typedef int16_t _pwm_angle_type; - _pwm_angle_type pwm_angle; - - - - - typedef boost::shared_ptr< ::ac_msgs::drive_values_ > Ptr; - typedef boost::shared_ptr< ::ac_msgs::drive_values_ const> ConstPtr; - -}; // struct drive_values_ - -typedef ::ac_msgs::drive_values_ > drive_values; - -typedef boost::shared_ptr< ::ac_msgs::drive_values > drive_valuesPtr; -typedef boost::shared_ptr< ::ac_msgs::drive_values const> drive_valuesConstPtr; - -// constants requiring out of line definition - - - -template -std::ostream& operator<<(std::ostream& s, const ::ac_msgs::drive_values_ & v) -{ -ros::message_operations::Printer< ::ac_msgs::drive_values_ >::stream(s, "", v); -return s; -} - -} // namespace ac_msgs - -namespace ros -{ -namespace message_traits -{ - - - -// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} -// {'std_msgs': ['/opt/ros/indigo/share/std_msgs/cmake/../msg'], 'ac_msgs': ['/home/sdc/Documents/AutoCar/src/ac_msgs/msg']} - -// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] - - - - -template -struct IsFixedSize< ::ac_msgs::drive_values_ > - : TrueType - { }; - -template -struct IsFixedSize< ::ac_msgs::drive_values_ const> - : TrueType - { }; - -template -struct IsMessage< ::ac_msgs::drive_values_ > - : TrueType - { }; - -template -struct IsMessage< ::ac_msgs::drive_values_ const> - : TrueType - { }; - -template -struct HasHeader< ::ac_msgs::drive_values_ > - : FalseType - { }; - -template -struct HasHeader< ::ac_msgs::drive_values_ const> - : FalseType - { }; - - -template -struct MD5Sum< ::ac_msgs::drive_values_ > -{ - static const char* value() - { - return "180768e2d6cce7b3f71749adb84f7b29"; - } - - static const char* value(const ::ac_msgs::drive_values_&) { return value(); } - static const uint64_t static_value1 = 0x180768e2d6cce7b3ULL; - static const uint64_t static_value2 = 0xf71749adb84f7b29ULL; -}; - -template -struct DataType< ::ac_msgs::drive_values_ > -{ - static const char* value() - { - return "ac_msgs/drive_values"; - } - - static const char* value(const ::ac_msgs::drive_values_&) { return value(); } -}; - -template -struct Definition< ::ac_msgs::drive_values_ > -{ - static const char* value() - { - return "int16 pwm_drive\n\ -int16 pwm_angle\n\ -"; - } - - static const char* value(const ::ac_msgs::drive_values_&) { return value(); } -}; - -} // namespace message_traits -} // namespace ros - -namespace ros -{ -namespace serialization -{ - - template struct Serializer< ::ac_msgs::drive_values_ > - { - template inline static void allInOne(Stream& stream, T m) - { - stream.next(m.pwm_drive); - stream.next(m.pwm_angle); - } - - ROS_DECLARE_ALLINONE_SERIALIZER - }; // struct drive_values_ - -} // namespace serialization -} // namespace ros - -namespace ros -{ -namespace message_operations -{ - -template -struct Printer< ::ac_msgs::drive_values_ > -{ - template static void stream(Stream& s, const std::string& indent, const ::ac_msgs::drive_values_& v) - { - s << indent << "pwm_drive: "; - Printer::stream(s, indent + " ", v.pwm_drive); - s << indent << "pwm_angle: "; - Printer::stream(s, indent + " ", v.pwm_angle); - } -}; - -} // namespace message_operations -} // namespace ros - -#endif // AC_MSGS_MESSAGE_DRIVE_VALUES_H diff --git a/devel/setup.bash b/devel/setup.bash deleted file mode 100644 index ff47af8..0000000 --- a/devel/setup.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -# generated from catkin/cmake/templates/setup.bash.in - -CATKIN_SHELL=bash - -# source setup.sh from same directory as this file -_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd) -. "$_CATKIN_SETUP_DIR/setup.sh" diff --git a/devel/setup.sh b/devel/setup.sh deleted file mode 100644 index b2570bc..0000000 --- a/devel/setup.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env sh -# generated from catkin/cmake/template/setup.sh.in - -# Sets various environment variables and sources additional environment hooks. -# It tries it's best to undo changes from a previously sourced setup file before. -# Supported command line options: -# --extend: skips the undoing of changes from a previously sourced setup file - -# since this file is sourced either use the provided _CATKIN_SETUP_DIR -# or fall back to the destination set at configure time -: ${_CATKIN_SETUP_DIR:=/home/sdc/Documents/AutoCar/devel} -_SETUP_UTIL="$_CATKIN_SETUP_DIR/_setup_util.py" -unset _CATKIN_SETUP_DIR - -if [ ! -f "$_SETUP_UTIL" ]; then - echo "Missing Python script: $_SETUP_UTIL" - return 22 -fi - -# detect if running on Darwin platform -_UNAME=`uname -s` -_IS_DARWIN=0 -if [ "$_UNAME" = "Darwin" ]; then - _IS_DARWIN=1 -fi -unset _UNAME - -# make sure to export all environment variables -export CMAKE_PREFIX_PATH -export CPATH -if [ $_IS_DARWIN -eq 0 ]; then - export LD_LIBRARY_PATH -else - export DYLD_LIBRARY_PATH -fi -unset _IS_DARWIN -export PATH -export PKG_CONFIG_PATH -export PYTHONPATH - -# remember type of shell if not already set -if [ -z "$CATKIN_SHELL" ]; then - CATKIN_SHELL=sh -fi - -# invoke Python script to generate necessary exports of environment variables -# use TMPDIR if it exists, otherwise fall back to /tmp -if [ -d "${TMPDIR}" ]; then - _TMPDIR="${TMPDIR}" -else - _TMPDIR=/tmp -fi -_SETUP_TMP=`mktemp "${_TMPDIR}/setup.sh.XXXXXXXXXX"` -unset _TMPDIR -if [ $? -ne 0 -o ! -f "$_SETUP_TMP" ]; then - echo "Could not create temporary file: $_SETUP_TMP" - return 1 -fi -CATKIN_SHELL=$CATKIN_SHELL "$_SETUP_UTIL" $@ >> "$_SETUP_TMP" -_RC=$? -if [ $_RC -ne 0 ]; then - if [ $_RC -eq 2 ]; then - echo "Could not write the output of '$_SETUP_UTIL' to temporary file '$_SETUP_TMP': may be the disk if full?" - else - echo "Failed to run '\"$_SETUP_UTIL\" $@': return code $_RC" - fi - unset _RC - unset _SETUP_UTIL - rm -f "$_SETUP_TMP" - unset _SETUP_TMP - return 1 -fi -unset _RC -unset _SETUP_UTIL -. "$_SETUP_TMP" -rm -f "$_SETUP_TMP" -unset _SETUP_TMP - -# source all environment hooks -_i=0 -while [ $_i -lt $_CATKIN_ENVIRONMENT_HOOKS_COUNT ]; do - eval _envfile=\$_CATKIN_ENVIRONMENT_HOOKS_$_i - unset _CATKIN_ENVIRONMENT_HOOKS_$_i - eval _envfile_workspace=\$_CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE - unset _CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE - # set workspace for environment hook - CATKIN_ENV_HOOK_WORKSPACE=$_envfile_workspace - . "$_envfile" - unset CATKIN_ENV_HOOK_WORKSPACE - _i=$((_i + 1)) -done -unset _i - -unset _CATKIN_ENVIRONMENT_HOOKS_COUNT diff --git a/devel/setup.zsh b/devel/setup.zsh deleted file mode 100644 index 9f780b7..0000000 --- a/devel/setup.zsh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env zsh -# generated from catkin/cmake/templates/setup.zsh.in - -CATKIN_SHELL=zsh - -# source setup.sh from same directory as this file -_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd) -emulate -R zsh -c 'source "$_CATKIN_SETUP_DIR/setup.sh"' diff --git a/devel/share/ac_msgs/cmake/ac_msgs-msg-extras.cmake b/devel/share/ac_msgs/cmake/ac_msgs-msg-extras.cmake deleted file mode 100644 index b86716b..0000000 --- a/devel/share/ac_msgs/cmake/ac_msgs-msg-extras.cmake +++ /dev/null @@ -1,2 +0,0 @@ -set(ac_msgs_MESSAGE_FILES "/home/sdc/Documents/AutoCar/src/ac_msgs/msg/drive_params.msg;/home/sdc/Documents/AutoCar/src/ac_msgs/msg/drive_values.msg") -set(ac_msgs_SERVICE_FILES "") diff --git a/devel/share/ac_msgs/cmake/ac_msgs-msg-paths.cmake b/devel/share/ac_msgs/cmake/ac_msgs-msg-paths.cmake deleted file mode 100644 index 84b91a6..0000000 --- a/devel/share/ac_msgs/cmake/ac_msgs-msg-paths.cmake +++ /dev/null @@ -1,4 +0,0 @@ -# generated from genmsg/cmake/pkg-msg-paths.cmake.develspace.in - -set(ac_msgs_MSG_INCLUDE_DIRS "/home/sdc/Documents/AutoCar/src/ac_msgs/msg") -set(ac_msgs_MSG_DEPENDENCIES std_msgs) diff --git a/devel/share/ac_msgs/cmake/ac_msgsConfig-version.cmake b/devel/share/ac_msgs/cmake/ac_msgsConfig-version.cmake deleted file mode 100644 index b2c1126..0000000 --- a/devel/share/ac_msgs/cmake/ac_msgsConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig-version.cmake.in -set(PACKAGE_VERSION "0.0.1") - -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/devel/share/ac_msgs/cmake/ac_msgsConfig.cmake b/devel/share/ac_msgs/cmake/ac_msgsConfig.cmake deleted file mode 100644 index 96e5d68..0000000 --- a/devel/share/ac_msgs/cmake/ac_msgsConfig.cmake +++ /dev/null @@ -1,191 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig.cmake.in - -# append elements to a list and remove existing duplicates from the list -# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig -# self contained -macro(_list_append_deduplicate listname) - if(NOT "${ARGN}" STREQUAL "") - if(${listname}) - list(REMOVE_ITEM ${listname} ${ARGN}) - endif() - list(APPEND ${listname} ${ARGN}) - endif() -endmacro() - -# append elements to a list if they are not already in the list -# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig -# self contained -macro(_list_append_unique listname) - foreach(_item ${ARGN}) - list(FIND ${listname} ${_item} _index) - if(_index EQUAL -1) - list(APPEND ${listname} ${_item}) - endif() - endforeach() -endmacro() - -# pack a list of libraries with optional build configuration keywords -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_pack_libraries_with_build_configuration VAR) - set(${VAR} "") - set(_argn ${ARGN}) - list(LENGTH _argn _count) - set(_index 0) - while(${_index} LESS ${_count}) - list(GET _argn ${_index} lib) - if("${lib}" MATCHES "^(debug|optimized|general)$") - math(EXPR _index "${_index} + 1") - if(${_index} EQUAL ${_count}) - message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library") - endif() - list(GET _argn ${_index} library) - list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}") - else() - list(APPEND ${VAR} "${lib}") - endif() - math(EXPR _index "${_index} + 1") - endwhile() -endmacro() - -# unpack a list of libraries with optional build configuration keyword prefixes -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_unpack_libraries_with_build_configuration VAR) - set(${VAR} "") - foreach(lib ${ARGN}) - string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}") - list(APPEND ${VAR} "${lib}") - endforeach() -endmacro() - - -if(ac_msgs_CONFIG_INCLUDED) - return() -endif() -set(ac_msgs_CONFIG_INCLUDED TRUE) - -# set variables for source/devel/install prefixes -if("TRUE" STREQUAL "TRUE") - set(ac_msgs_SOURCE_PREFIX /home/sdc/Documents/AutoCar/src/ac_msgs) - set(ac_msgs_DEVEL_PREFIX /home/sdc/Documents/AutoCar/devel) - set(ac_msgs_INSTALL_PREFIX "") - set(ac_msgs_PREFIX ${ac_msgs_DEVEL_PREFIX}) -else() - set(ac_msgs_SOURCE_PREFIX "") - set(ac_msgs_DEVEL_PREFIX "") - set(ac_msgs_INSTALL_PREFIX /home/sdc/Documents/AutoCar/install) - set(ac_msgs_PREFIX ${ac_msgs_INSTALL_PREFIX}) -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "WARNING: package 'ac_msgs' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - message("${_msg}") -endif() - -# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project -set(ac_msgs_FOUND_CATKIN_PROJECT TRUE) - -if(NOT "/home/sdc/Documents/AutoCar/devel/include " STREQUAL " ") - set(ac_msgs_INCLUDE_DIRS "") - set(_include_dirs "/home/sdc/Documents/AutoCar/devel/include") - foreach(idir ${_include_dirs}) - if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir}) - set(include ${idir}) - elseif("${idir} " STREQUAL "include ") - get_filename_component(include "${ac_msgs_DIR}/../../../include" ABSOLUTE) - if(NOT IS_DIRECTORY ${include}) - message(FATAL_ERROR "Project 'ac_msgs' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. Ask the maintainer 'Nandan Tumu ' to fix it.") - endif() - else() - message(FATAL_ERROR "Project 'ac_msgs' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/sdc/Documents/AutoCar/src/ac_msgs/${idir}'. Ask the maintainer 'Nandan Tumu ' to fix it.") - endif() - _list_append_unique(ac_msgs_INCLUDE_DIRS ${include}) - endforeach() -endif() - -set(libraries "") -foreach(library ${libraries}) - # keep build configuration keywords, target names and absolute libraries as-is - if("${library}" MATCHES "^(debug|optimized|general)$") - list(APPEND ac_msgs_LIBRARIES ${library}) - elseif(TARGET ${library}) - list(APPEND ac_msgs_LIBRARIES ${library}) - elseif(IS_ABSOLUTE ${library}) - list(APPEND ac_msgs_LIBRARIES ${library}) - else() - set(lib_path "") - set(lib "${library}-NOTFOUND") - # since the path where the library is found is returned we have to iterate over the paths manually - foreach(path /home/sdc/Documents/AutoCar/devel/lib;/home/sdc/Documents/AutoCar/devel/lib;/opt/ros/indigo/lib) - find_library(lib ${library} - PATHS ${path} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - if(lib) - set(lib_path ${path}) - break() - endif() - endforeach() - if(lib) - _list_append_unique(ac_msgs_LIBRARY_DIRS ${lib_path}) - list(APPEND ac_msgs_LIBRARIES ${lib}) - else() - # as a fall back for non-catkin libraries try to search globally - find_library(lib ${library}) - if(NOT lib) - message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'ac_msgs'? Did you find_package() it before the subdirectory containing its code is included?") - endif() - list(APPEND ac_msgs_LIBRARIES ${lib}) - endif() - endif() -endforeach() - -set(ac_msgs_EXPORTED_TARGETS "ac_msgs_generate_messages_cpp;ac_msgs_generate_messages_lisp;ac_msgs_generate_messages_py") -# create dummy targets for exported code generation targets to make life of users easier -foreach(t ${ac_msgs_EXPORTED_TARGETS}) - if(NOT TARGET ${t}) - add_custom_target(${t}) - endif() -endforeach() - -set(depends "std_msgs") -foreach(depend ${depends}) - string(REPLACE " " ";" depend_list ${depend}) - # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls - list(GET depend_list 0 ac_msgs_dep) - list(LENGTH depend_list count) - if(${count} EQUAL 1) - # simple dependencies must only be find_package()-ed once - if(NOT ${ac_msgs_dep}_FOUND) - find_package(${ac_msgs_dep} REQUIRED) - endif() - else() - # dependencies with components must be find_package()-ed again - list(REMOVE_AT depend_list 0) - find_package(${ac_msgs_dep} REQUIRED ${depend_list}) - endif() - _list_append_unique(ac_msgs_INCLUDE_DIRS ${${ac_msgs_dep}_INCLUDE_DIRS}) - - # merge build configuration keywords with library names to correctly deduplicate - _pack_libraries_with_build_configuration(ac_msgs_LIBRARIES ${ac_msgs_LIBRARIES}) - _pack_libraries_with_build_configuration(_libraries ${${ac_msgs_dep}_LIBRARIES}) - _list_append_deduplicate(ac_msgs_LIBRARIES ${_libraries}) - # undo build configuration keyword merging after deduplication - _unpack_libraries_with_build_configuration(ac_msgs_LIBRARIES ${ac_msgs_LIBRARIES}) - - _list_append_unique(ac_msgs_LIBRARY_DIRS ${${ac_msgs_dep}_LIBRARY_DIRS}) - list(APPEND ac_msgs_EXPORTED_TARGETS ${${ac_msgs_dep}_EXPORTED_TARGETS}) -endforeach() - -set(pkg_cfg_extras "ac_msgs-msg-extras.cmake") -foreach(extra ${pkg_cfg_extras}) - if(NOT IS_ABSOLUTE ${extra}) - set(extra ${ac_msgs_DIR}/${extra}) - endif() - include(${extra}) -endforeach() diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/_package.lisp b/devel/share/common-lisp/ros/ac_msgs/msg/_package.lisp deleted file mode 100644 index 5b33f98..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/_package.lisp +++ /dev/null @@ -1,9 +0,0 @@ -(cl:defpackage ac_msgs-msg - (:use ) - (:export - "" - "DRIVE_PARAMS" - "" - "DRIVE_VALUES" - )) - diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_params.lisp b/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_params.lisp deleted file mode 100644 index 8570475..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_params.lisp +++ /dev/null @@ -1,6 +0,0 @@ -(cl:in-package ac_msgs-msg) -(cl:export '(VELOCITY-VAL - VELOCITY - ANGLE-VAL - ANGLE -)) \ No newline at end of file diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_values.lisp b/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_values.lisp deleted file mode 100644 index e153b86..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/_package_drive_values.lisp +++ /dev/null @@ -1,6 +0,0 @@ -(cl:in-package ac_msgs-msg) -(cl:export '(PWM_DRIVE-VAL - PWM_DRIVE - PWM_ANGLE-VAL - PWM_ANGLE -)) \ No newline at end of file diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/ac_msgs-msg.asd b/devel/share/common-lisp/ros/ac_msgs/msg/ac_msgs-msg.asd deleted file mode 100644 index 48486c8..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/ac_msgs-msg.asd +++ /dev/null @@ -1,11 +0,0 @@ - -(cl:in-package :asdf) - -(defsystem "ac_msgs-msg" - :depends-on (:roslisp-msg-protocol :roslisp-utils ) - :components ((:file "_package") - (:file "drive_params" :depends-on ("_package_drive_params")) - (:file "_package_drive_params" :depends-on ("_package")) - (:file "drive_values" :depends-on ("_package_drive_values")) - (:file "_package_drive_values" :depends-on ("_package")) - )) \ No newline at end of file diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/drive_params.lisp b/devel/share/common-lisp/ros/ac_msgs/msg/drive_params.lisp deleted file mode 100644 index bff1520..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/drive_params.lisp +++ /dev/null @@ -1,96 +0,0 @@ -; Auto-generated. Do not edit! - - -(cl:in-package ac_msgs-msg) - - -;//! \htmlinclude drive_params.msg.html - -(cl:defclass (roslisp-msg-protocol:ros-message) - ((velocity - :reader velocity - :initarg :velocity - :type cl:float - :initform 0.0) - (angle - :reader angle - :initarg :angle - :type cl:float - :initform 0.0)) -) - -(cl:defclass drive_params () - ()) - -(cl:defmethod cl:initialize-instance :after ((m ) cl:&rest args) - (cl:declare (cl:ignorable args)) - (cl:unless (cl:typep m 'drive_params) - (roslisp-msg-protocol:msg-deprecation-warning "using old message class name ac_msgs-msg: is deprecated: use ac_msgs-msg:drive_params instead."))) - -(cl:ensure-generic-function 'velocity-val :lambda-list '(m)) -(cl:defmethod velocity-val ((m )) - (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ac_msgs-msg:velocity-val is deprecated. Use ac_msgs-msg:velocity instead.") - (velocity m)) - -(cl:ensure-generic-function 'angle-val :lambda-list '(m)) -(cl:defmethod angle-val ((m )) - (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ac_msgs-msg:angle-val is deprecated. Use ac_msgs-msg:angle instead.") - (angle m)) -(cl:defmethod roslisp-msg-protocol:serialize ((msg ) ostream) - "Serializes a message object of type '" - (cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'velocity)))) - (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)) - (cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'angle)))) - (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)) -) -(cl:defmethod roslisp-msg-protocol:deserialize ((msg ) istream) - "Deserializes a message object of type '" - (cl:let ((bits 0)) - (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream)) - (cl:setf (cl:slot-value msg 'velocity) (roslisp-utils:decode-single-float-bits bits))) - (cl:let ((bits 0)) - (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream)) - (cl:setf (cl:slot-value msg 'angle) (roslisp-utils:decode-single-float-bits bits))) - msg -) -(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '))) - "Returns string type for a message object of type '" - "ac_msgs/drive_params") -(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'drive_params))) - "Returns string type for a message object of type 'drive_params" - "ac_msgs/drive_params") -(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '))) - "Returns md5sum for a message object of type '" - "23ee9ebc4f65684302501539608c3833") -(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'drive_params))) - "Returns md5sum for a message object of type 'drive_params" - "23ee9ebc4f65684302501539608c3833") -(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '))) - "Returns full string definition for message of type '" - (cl:format cl:nil "float32 velocity~%float32 angle~%~%~%")) -(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'drive_params))) - "Returns full string definition for message of type 'drive_params" - (cl:format cl:nil "float32 velocity~%float32 angle~%~%~%")) -(cl:defmethod roslisp-msg-protocol:serialization-length ((msg )) - (cl:+ 0 - 4 - 4 -)) -(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg )) - "Converts a ROS message object to a list" - (cl:list 'drive_params - (cl:cons ':velocity (velocity msg)) - (cl:cons ':angle (angle msg)) -)) diff --git a/devel/share/common-lisp/ros/ac_msgs/msg/drive_values.lisp b/devel/share/common-lisp/ros/ac_msgs/msg/drive_values.lisp deleted file mode 100644 index 1b63cfc..0000000 --- a/devel/share/common-lisp/ros/ac_msgs/msg/drive_values.lisp +++ /dev/null @@ -1,90 +0,0 @@ -; Auto-generated. Do not edit! - - -(cl:in-package ac_msgs-msg) - - -;//! \htmlinclude drive_values.msg.html - -(cl:defclass (roslisp-msg-protocol:ros-message) - ((pwm_drive - :reader pwm_drive - :initarg :pwm_drive - :type cl:fixnum - :initform 0) - (pwm_angle - :reader pwm_angle - :initarg :pwm_angle - :type cl:fixnum - :initform 0)) -) - -(cl:defclass drive_values () - ()) - -(cl:defmethod cl:initialize-instance :after ((m ) cl:&rest args) - (cl:declare (cl:ignorable args)) - (cl:unless (cl:typep m 'drive_values) - (roslisp-msg-protocol:msg-deprecation-warning "using old message class name ac_msgs-msg: is deprecated: use ac_msgs-msg:drive_values instead."))) - -(cl:ensure-generic-function 'pwm_drive-val :lambda-list '(m)) -(cl:defmethod pwm_drive-val ((m )) - (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ac_msgs-msg:pwm_drive-val is deprecated. Use ac_msgs-msg:pwm_drive instead.") - (pwm_drive m)) - -(cl:ensure-generic-function 'pwm_angle-val :lambda-list '(m)) -(cl:defmethod pwm_angle-val ((m )) - (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ac_msgs-msg:pwm_angle-val is deprecated. Use ac_msgs-msg:pwm_angle instead.") - (pwm_angle m)) -(cl:defmethod roslisp-msg-protocol:serialize ((msg ) ostream) - "Serializes a message object of type '" - (cl:let* ((signed (cl:slot-value msg 'pwm_drive)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 65536) signed))) - (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream) - ) - (cl:let* ((signed (cl:slot-value msg 'pwm_angle)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 65536) signed))) - (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream) - (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream) - ) -) -(cl:defmethod roslisp-msg-protocol:deserialize ((msg ) istream) - "Deserializes a message object of type '" - (cl:let ((unsigned 0)) - (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream)) - (cl:setf (cl:slot-value msg 'pwm_drive) (cl:if (cl:< unsigned 32768) unsigned (cl:- unsigned 65536)))) - (cl:let ((unsigned 0)) - (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream)) - (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream)) - (cl:setf (cl:slot-value msg 'pwm_angle) (cl:if (cl:< unsigned 32768) unsigned (cl:- unsigned 65536)))) - msg -) -(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '))) - "Returns string type for a message object of type '" - "ac_msgs/drive_values") -(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'drive_values))) - "Returns string type for a message object of type 'drive_values" - "ac_msgs/drive_values") -(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '))) - "Returns md5sum for a message object of type '" - "180768e2d6cce7b3f71749adb84f7b29") -(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'drive_values))) - "Returns md5sum for a message object of type 'drive_values" - "180768e2d6cce7b3f71749adb84f7b29") -(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '))) - "Returns full string definition for message of type '" - (cl:format cl:nil "int16 pwm_drive~%int16 pwm_angle~%~%~%")) -(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'drive_values))) - "Returns full string definition for message of type 'drive_values" - (cl:format cl:nil "int16 pwm_drive~%int16 pwm_angle~%~%~%")) -(cl:defmethod roslisp-msg-protocol:serialization-length ((msg )) - (cl:+ 0 - 2 - 2 -)) -(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg )) - "Converts a ROS message object to a list" - (cl:list 'drive_values - (cl:cons ':pwm_drive (pwm_drive msg)) - (cl:cons ':pwm_angle (pwm_angle msg)) -)) diff --git a/devel/share/data_logger/cmake/data_loggerConfig-version.cmake b/devel/share/data_logger/cmake/data_loggerConfig-version.cmake deleted file mode 100644 index 7fd9f99..0000000 --- a/devel/share/data_logger/cmake/data_loggerConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig-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/devel/share/data_logger/cmake/data_loggerConfig.cmake b/devel/share/data_logger/cmake/data_loggerConfig.cmake deleted file mode 100644 index a7ffd9a..0000000 --- a/devel/share/data_logger/cmake/data_loggerConfig.cmake +++ /dev/null @@ -1,191 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig.cmake.in - -# append elements to a list and remove existing duplicates from the list -# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig -# self contained -macro(_list_append_deduplicate listname) - if(NOT "${ARGN}" STREQUAL "") - if(${listname}) - list(REMOVE_ITEM ${listname} ${ARGN}) - endif() - list(APPEND ${listname} ${ARGN}) - endif() -endmacro() - -# append elements to a list if they are not already in the list -# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig -# self contained -macro(_list_append_unique listname) - foreach(_item ${ARGN}) - list(FIND ${listname} ${_item} _index) - if(_index EQUAL -1) - list(APPEND ${listname} ${_item}) - endif() - endforeach() -endmacro() - -# pack a list of libraries with optional build configuration keywords -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_pack_libraries_with_build_configuration VAR) - set(${VAR} "") - set(_argn ${ARGN}) - list(LENGTH _argn _count) - set(_index 0) - while(${_index} LESS ${_count}) - list(GET _argn ${_index} lib) - if("${lib}" MATCHES "^(debug|optimized|general)$") - math(EXPR _index "${_index} + 1") - if(${_index} EQUAL ${_count}) - message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library") - endif() - list(GET _argn ${_index} library) - list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}") - else() - list(APPEND ${VAR} "${lib}") - endif() - math(EXPR _index "${_index} + 1") - endwhile() -endmacro() - -# unpack a list of libraries with optional build configuration keyword prefixes -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_unpack_libraries_with_build_configuration VAR) - set(${VAR} "") - foreach(lib ${ARGN}) - string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}") - list(APPEND ${VAR} "${lib}") - endforeach() -endmacro() - - -if(data_logger_CONFIG_INCLUDED) - return() -endif() -set(data_logger_CONFIG_INCLUDED TRUE) - -# set variables for source/devel/install prefixes -if("TRUE" STREQUAL "TRUE") - set(data_logger_SOURCE_PREFIX /home/sdc/Documents/AutoCar/src/data_logger) - set(data_logger_DEVEL_PREFIX /home/sdc/Documents/AutoCar/devel) - set(data_logger_INSTALL_PREFIX "") - set(data_logger_PREFIX ${data_logger_DEVEL_PREFIX}) -else() - set(data_logger_SOURCE_PREFIX "") - set(data_logger_DEVEL_PREFIX "") - set(data_logger_INSTALL_PREFIX /home/sdc/Documents/AutoCar/install) - set(data_logger_PREFIX ${data_logger_INSTALL_PREFIX}) -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "WARNING: package 'data_logger' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - message("${_msg}") -endif() - -# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project -set(data_logger_FOUND_CATKIN_PROJECT TRUE) - -if(NOT " " STREQUAL " ") - set(data_logger_INCLUDE_DIRS "") - set(_include_dirs "") - foreach(idir ${_include_dirs}) - if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir}) - set(include ${idir}) - elseif("${idir} " STREQUAL "include ") - get_filename_component(include "${data_logger_DIR}/../../../include" ABSOLUTE) - if(NOT IS_DIRECTORY ${include}) - message(FATAL_ERROR "Project 'data_logger' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. Ask the maintainer 'sdc ' to fix it.") - endif() - else() - message(FATAL_ERROR "Project 'data_logger' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/sdc/Documents/AutoCar/src/data_logger/${idir}'. Ask the maintainer 'sdc ' to fix it.") - endif() - _list_append_unique(data_logger_INCLUDE_DIRS ${include}) - endforeach() -endif() - -set(libraries "") -foreach(library ${libraries}) - # keep build configuration keywords, target names and absolute libraries as-is - if("${library}" MATCHES "^(debug|optimized|general)$") - list(APPEND data_logger_LIBRARIES ${library}) - elseif(TARGET ${library}) - list(APPEND data_logger_LIBRARIES ${library}) - elseif(IS_ABSOLUTE ${library}) - list(APPEND data_logger_LIBRARIES ${library}) - else() - set(lib_path "") - set(lib "${library}-NOTFOUND") - # since the path where the library is found is returned we have to iterate over the paths manually - foreach(path /home/sdc/Documents/AutoCar/devel/lib;/home/sdc/Documents/AutoCar/devel/lib;/opt/ros/indigo/lib) - find_library(lib ${library} - PATHS ${path} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - if(lib) - set(lib_path ${path}) - break() - endif() - endforeach() - if(lib) - _list_append_unique(data_logger_LIBRARY_DIRS ${lib_path}) - list(APPEND data_logger_LIBRARIES ${lib}) - else() - # as a fall back for non-catkin libraries try to search globally - find_library(lib ${library}) - if(NOT lib) - message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'data_logger'? Did you find_package() it before the subdirectory containing its code is included?") - endif() - list(APPEND data_logger_LIBRARIES ${lib}) - endif() - endif() -endforeach() - -set(data_logger_EXPORTED_TARGETS "") -# create dummy targets for exported code generation targets to make life of users easier -foreach(t ${data_logger_EXPORTED_TARGETS}) - if(NOT TARGET ${t}) - add_custom_target(${t}) - endif() -endforeach() - -set(depends "") -foreach(depend ${depends}) - string(REPLACE " " ";" depend_list ${depend}) - # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls - list(GET depend_list 0 data_logger_dep) - list(LENGTH depend_list count) - if(${count} EQUAL 1) - # simple dependencies must only be find_package()-ed once - if(NOT ${data_logger_dep}_FOUND) - find_package(${data_logger_dep} REQUIRED) - endif() - else() - # dependencies with components must be find_package()-ed again - list(REMOVE_AT depend_list 0) - find_package(${data_logger_dep} REQUIRED ${depend_list}) - endif() - _list_append_unique(data_logger_INCLUDE_DIRS ${${data_logger_dep}_INCLUDE_DIRS}) - - # merge build configuration keywords with library names to correctly deduplicate - _pack_libraries_with_build_configuration(data_logger_LIBRARIES ${data_logger_LIBRARIES}) - _pack_libraries_with_build_configuration(_libraries ${${data_logger_dep}_LIBRARIES}) - _list_append_deduplicate(data_logger_LIBRARIES ${_libraries}) - # undo build configuration keyword merging after deduplication - _unpack_libraries_with_build_configuration(data_logger_LIBRARIES ${data_logger_LIBRARIES}) - - _list_append_unique(data_logger_LIBRARY_DIRS ${${data_logger_dep}_LIBRARY_DIRS}) - list(APPEND data_logger_EXPORTED_TARGETS ${${data_logger_dep}_EXPORTED_TARGETS}) -endforeach() - -set(pkg_cfg_extras "") -foreach(extra ${pkg_cfg_extras}) - if(NOT IS_ABSOLUTE ${extra}) - set(extra ${data_logger_DIR}/${extra}) - endif() - include(${extra}) -endforeach() diff --git a/devel/share/emergency_stop/cmake/emergency_stopConfig-version.cmake b/devel/share/emergency_stop/cmake/emergency_stopConfig-version.cmake deleted file mode 100644 index 7fd9f99..0000000 --- a/devel/share/emergency_stop/cmake/emergency_stopConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig-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/devel/share/emergency_stop/cmake/emergency_stopConfig.cmake b/devel/share/emergency_stop/cmake/emergency_stopConfig.cmake deleted file mode 100644 index ef877a6..0000000 --- a/devel/share/emergency_stop/cmake/emergency_stopConfig.cmake +++ /dev/null @@ -1,191 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig.cmake.in - -# append elements to a list and remove existing duplicates from the list -# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig -# self contained -macro(_list_append_deduplicate listname) - if(NOT "${ARGN}" STREQUAL "") - if(${listname}) - list(REMOVE_ITEM ${listname} ${ARGN}) - endif() - list(APPEND ${listname} ${ARGN}) - endif() -endmacro() - -# append elements to a list if they are not already in the list -# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig -# self contained -macro(_list_append_unique listname) - foreach(_item ${ARGN}) - list(FIND ${listname} ${_item} _index) - if(_index EQUAL -1) - list(APPEND ${listname} ${_item}) - endif() - endforeach() -endmacro() - -# pack a list of libraries with optional build configuration keywords -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_pack_libraries_with_build_configuration VAR) - set(${VAR} "") - set(_argn ${ARGN}) - list(LENGTH _argn _count) - set(_index 0) - while(${_index} LESS ${_count}) - list(GET _argn ${_index} lib) - if("${lib}" MATCHES "^(debug|optimized|general)$") - math(EXPR _index "${_index} + 1") - if(${_index} EQUAL ${_count}) - message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library") - endif() - list(GET _argn ${_index} library) - list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}") - else() - list(APPEND ${VAR} "${lib}") - endif() - math(EXPR _index "${_index} + 1") - endwhile() -endmacro() - -# unpack a list of libraries with optional build configuration keyword prefixes -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_unpack_libraries_with_build_configuration VAR) - set(${VAR} "") - foreach(lib ${ARGN}) - string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}") - list(APPEND ${VAR} "${lib}") - endforeach() -endmacro() - - -if(emergency_stop_CONFIG_INCLUDED) - return() -endif() -set(emergency_stop_CONFIG_INCLUDED TRUE) - -# set variables for source/devel/install prefixes -if("TRUE" STREQUAL "TRUE") - set(emergency_stop_SOURCE_PREFIX /home/sdc/Documents/AutoCar/src/emergency_stop) - set(emergency_stop_DEVEL_PREFIX /home/sdc/Documents/AutoCar/devel) - set(emergency_stop_INSTALL_PREFIX "") - set(emergency_stop_PREFIX ${emergency_stop_DEVEL_PREFIX}) -else() - set(emergency_stop_SOURCE_PREFIX "") - set(emergency_stop_DEVEL_PREFIX "") - set(emergency_stop_INSTALL_PREFIX /home/sdc/Documents/AutoCar/install) - set(emergency_stop_PREFIX ${emergency_stop_INSTALL_PREFIX}) -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "WARNING: package 'emergency_stop' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - message("${_msg}") -endif() - -# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project -set(emergency_stop_FOUND_CATKIN_PROJECT TRUE) - -if(NOT " " STREQUAL " ") - set(emergency_stop_INCLUDE_DIRS "") - set(_include_dirs "") - foreach(idir ${_include_dirs}) - if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir}) - set(include ${idir}) - elseif("${idir} " STREQUAL "include ") - get_filename_component(include "${emergency_stop_DIR}/../../../include" ABSOLUTE) - if(NOT IS_DIRECTORY ${include}) - message(FATAL_ERROR "Project 'emergency_stop' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. Ask the maintainer 'Nandan Tumu ' to fix it.") - endif() - else() - message(FATAL_ERROR "Project 'emergency_stop' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/sdc/Documents/AutoCar/src/emergency_stop/${idir}'. Ask the maintainer 'Nandan Tumu ' to fix it.") - endif() - _list_append_unique(emergency_stop_INCLUDE_DIRS ${include}) - endforeach() -endif() - -set(libraries "") -foreach(library ${libraries}) - # keep build configuration keywords, target names and absolute libraries as-is - if("${library}" MATCHES "^(debug|optimized|general)$") - list(APPEND emergency_stop_LIBRARIES ${library}) - elseif(TARGET ${library}) - list(APPEND emergency_stop_LIBRARIES ${library}) - elseif(IS_ABSOLUTE ${library}) - list(APPEND emergency_stop_LIBRARIES ${library}) - else() - set(lib_path "") - set(lib "${library}-NOTFOUND") - # since the path where the library is found is returned we have to iterate over the paths manually - foreach(path /home/sdc/Documents/AutoCar/devel/lib;/home/sdc/Documents/AutoCar/devel/lib;/opt/ros/indigo/lib) - find_library(lib ${library} - PATHS ${path} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - if(lib) - set(lib_path ${path}) - break() - endif() - endforeach() - if(lib) - _list_append_unique(emergency_stop_LIBRARY_DIRS ${lib_path}) - list(APPEND emergency_stop_LIBRARIES ${lib}) - else() - # as a fall back for non-catkin libraries try to search globally - find_library(lib ${library}) - if(NOT lib) - message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'emergency_stop'? Did you find_package() it before the subdirectory containing its code is included?") - endif() - list(APPEND emergency_stop_LIBRARIES ${lib}) - endif() - endif() -endforeach() - -set(emergency_stop_EXPORTED_TARGETS "") -# create dummy targets for exported code generation targets to make life of users easier -foreach(t ${emergency_stop_EXPORTED_TARGETS}) - if(NOT TARGET ${t}) - add_custom_target(${t}) - endif() -endforeach() - -set(depends "") -foreach(depend ${depends}) - string(REPLACE " " ";" depend_list ${depend}) - # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls - list(GET depend_list 0 emergency_stop_dep) - list(LENGTH depend_list count) - if(${count} EQUAL 1) - # simple dependencies must only be find_package()-ed once - if(NOT ${emergency_stop_dep}_FOUND) - find_package(${emergency_stop_dep} REQUIRED) - endif() - else() - # dependencies with components must be find_package()-ed again - list(REMOVE_AT depend_list 0) - find_package(${emergency_stop_dep} REQUIRED ${depend_list}) - endif() - _list_append_unique(emergency_stop_INCLUDE_DIRS ${${emergency_stop_dep}_INCLUDE_DIRS}) - - # merge build configuration keywords with library names to correctly deduplicate - _pack_libraries_with_build_configuration(emergency_stop_LIBRARIES ${emergency_stop_LIBRARIES}) - _pack_libraries_with_build_configuration(_libraries ${${emergency_stop_dep}_LIBRARIES}) - _list_append_deduplicate(emergency_stop_LIBRARIES ${_libraries}) - # undo build configuration keyword merging after deduplication - _unpack_libraries_with_build_configuration(emergency_stop_LIBRARIES ${emergency_stop_LIBRARIES}) - - _list_append_unique(emergency_stop_LIBRARY_DIRS ${${emergency_stop_dep}_LIBRARY_DIRS}) - list(APPEND emergency_stop_EXPORTED_TARGETS ${${emergency_stop_dep}_EXPORTED_TARGETS}) -endforeach() - -set(pkg_cfg_extras "") -foreach(extra ${pkg_cfg_extras}) - if(NOT IS_ABSOLUTE ${extra}) - set(extra ${emergency_stop_DIR}/${extra}) - endif() - include(${extra}) -endforeach() diff --git a/devel/share/imu_cleaner/cmake/imu_cleanerConfig-version.cmake b/devel/share/imu_cleaner/cmake/imu_cleanerConfig-version.cmake deleted file mode 100644 index 7fd9f99..0000000 --- a/devel/share/imu_cleaner/cmake/imu_cleanerConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig-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/devel/share/imu_cleaner/cmake/imu_cleanerConfig.cmake b/devel/share/imu_cleaner/cmake/imu_cleanerConfig.cmake deleted file mode 100644 index fdcb01a..0000000 --- a/devel/share/imu_cleaner/cmake/imu_cleanerConfig.cmake +++ /dev/null @@ -1,191 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig.cmake.in - -# append elements to a list and remove existing duplicates from the list -# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig -# self contained -macro(_list_append_deduplicate listname) - if(NOT "${ARGN}" STREQUAL "") - if(${listname}) - list(REMOVE_ITEM ${listname} ${ARGN}) - endif() - list(APPEND ${listname} ${ARGN}) - endif() -endmacro() - -# append elements to a list if they are not already in the list -# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig -# self contained -macro(_list_append_unique listname) - foreach(_item ${ARGN}) - list(FIND ${listname} ${_item} _index) - if(_index EQUAL -1) - list(APPEND ${listname} ${_item}) - endif() - endforeach() -endmacro() - -# pack a list of libraries with optional build configuration keywords -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_pack_libraries_with_build_configuration VAR) - set(${VAR} "") - set(_argn ${ARGN}) - list(LENGTH _argn _count) - set(_index 0) - while(${_index} LESS ${_count}) - list(GET _argn ${_index} lib) - if("${lib}" MATCHES "^(debug|optimized|general)$") - math(EXPR _index "${_index} + 1") - if(${_index} EQUAL ${_count}) - message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library") - endif() - list(GET _argn ${_index} library) - list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}") - else() - list(APPEND ${VAR} "${lib}") - endif() - math(EXPR _index "${_index} + 1") - endwhile() -endmacro() - -# unpack a list of libraries with optional build configuration keyword prefixes -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_unpack_libraries_with_build_configuration VAR) - set(${VAR} "") - foreach(lib ${ARGN}) - string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}") - list(APPEND ${VAR} "${lib}") - endforeach() -endmacro() - - -if(imu_cleaner_CONFIG_INCLUDED) - return() -endif() -set(imu_cleaner_CONFIG_INCLUDED TRUE) - -# set variables for source/devel/install prefixes -if("TRUE" STREQUAL "TRUE") - set(imu_cleaner_SOURCE_PREFIX /home/sdc/Documents/AutoCar/src/imu_cleaner) - set(imu_cleaner_DEVEL_PREFIX /home/sdc/Documents/AutoCar/devel) - set(imu_cleaner_INSTALL_PREFIX "") - set(imu_cleaner_PREFIX ${imu_cleaner_DEVEL_PREFIX}) -else() - set(imu_cleaner_SOURCE_PREFIX "") - set(imu_cleaner_DEVEL_PREFIX "") - set(imu_cleaner_INSTALL_PREFIX /home/sdc/Documents/AutoCar/install) - set(imu_cleaner_PREFIX ${imu_cleaner_INSTALL_PREFIX}) -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "WARNING: package 'imu_cleaner' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - message("${_msg}") -endif() - -# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project -set(imu_cleaner_FOUND_CATKIN_PROJECT TRUE) - -if(NOT " " STREQUAL " ") - set(imu_cleaner_INCLUDE_DIRS "") - set(_include_dirs "") - foreach(idir ${_include_dirs}) - if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir}) - set(include ${idir}) - elseif("${idir} " STREQUAL "include ") - get_filename_component(include "${imu_cleaner_DIR}/../../../include" ABSOLUTE) - if(NOT IS_DIRECTORY ${include}) - message(FATAL_ERROR "Project 'imu_cleaner' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. Ask the maintainer 'sdc ' to fix it.") - endif() - else() - message(FATAL_ERROR "Project 'imu_cleaner' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/sdc/Documents/AutoCar/src/imu_cleaner/${idir}'. Ask the maintainer 'sdc ' to fix it.") - endif() - _list_append_unique(imu_cleaner_INCLUDE_DIRS ${include}) - endforeach() -endif() - -set(libraries "") -foreach(library ${libraries}) - # keep build configuration keywords, target names and absolute libraries as-is - if("${library}" MATCHES "^(debug|optimized|general)$") - list(APPEND imu_cleaner_LIBRARIES ${library}) - elseif(TARGET ${library}) - list(APPEND imu_cleaner_LIBRARIES ${library}) - elseif(IS_ABSOLUTE ${library}) - list(APPEND imu_cleaner_LIBRARIES ${library}) - else() - set(lib_path "") - set(lib "${library}-NOTFOUND") - # since the path where the library is found is returned we have to iterate over the paths manually - foreach(path /home/sdc/Documents/AutoCar/devel/lib;/home/sdc/Documents/AutoCar/devel/lib;/opt/ros/indigo/lib) - find_library(lib ${library} - PATHS ${path} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - if(lib) - set(lib_path ${path}) - break() - endif() - endforeach() - if(lib) - _list_append_unique(imu_cleaner_LIBRARY_DIRS ${lib_path}) - list(APPEND imu_cleaner_LIBRARIES ${lib}) - else() - # as a fall back for non-catkin libraries try to search globally - find_library(lib ${library}) - if(NOT lib) - message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'imu_cleaner'? Did you find_package() it before the subdirectory containing its code is included?") - endif() - list(APPEND imu_cleaner_LIBRARIES ${lib}) - endif() - endif() -endforeach() - -set(imu_cleaner_EXPORTED_TARGETS "") -# create dummy targets for exported code generation targets to make life of users easier -foreach(t ${imu_cleaner_EXPORTED_TARGETS}) - if(NOT TARGET ${t}) - add_custom_target(${t}) - endif() -endforeach() - -set(depends "") -foreach(depend ${depends}) - string(REPLACE " " ";" depend_list ${depend}) - # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls - list(GET depend_list 0 imu_cleaner_dep) - list(LENGTH depend_list count) - if(${count} EQUAL 1) - # simple dependencies must only be find_package()-ed once - if(NOT ${imu_cleaner_dep}_FOUND) - find_package(${imu_cleaner_dep} REQUIRED) - endif() - else() - # dependencies with components must be find_package()-ed again - list(REMOVE_AT depend_list 0) - find_package(${imu_cleaner_dep} REQUIRED ${depend_list}) - endif() - _list_append_unique(imu_cleaner_INCLUDE_DIRS ${${imu_cleaner_dep}_INCLUDE_DIRS}) - - # merge build configuration keywords with library names to correctly deduplicate - _pack_libraries_with_build_configuration(imu_cleaner_LIBRARIES ${imu_cleaner_LIBRARIES}) - _pack_libraries_with_build_configuration(_libraries ${${imu_cleaner_dep}_LIBRARIES}) - _list_append_deduplicate(imu_cleaner_LIBRARIES ${_libraries}) - # undo build configuration keyword merging after deduplication - _unpack_libraries_with_build_configuration(imu_cleaner_LIBRARIES ${imu_cleaner_LIBRARIES}) - - _list_append_unique(imu_cleaner_LIBRARY_DIRS ${${imu_cleaner_dep}_LIBRARY_DIRS}) - list(APPEND imu_cleaner_EXPORTED_TARGETS ${${imu_cleaner_dep}_EXPORTED_TARGETS}) -endforeach() - -set(pkg_cfg_extras "") -foreach(extra ${pkg_cfg_extras}) - if(NOT IS_ABSOLUTE ${extra}) - set(extra ${imu_cleaner_DIR}/${extra}) - endif() - include(${extra}) -endforeach() diff --git a/devel/share/keyboard_control/cmake/keyboard_controlConfig-version.cmake b/devel/share/keyboard_control/cmake/keyboard_controlConfig-version.cmake deleted file mode 100644 index 7fd9f99..0000000 --- a/devel/share/keyboard_control/cmake/keyboard_controlConfig-version.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig-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/devel/share/keyboard_control/cmake/keyboard_controlConfig.cmake b/devel/share/keyboard_control/cmake/keyboard_controlConfig.cmake deleted file mode 100644 index 6b3b9a9..0000000 --- a/devel/share/keyboard_control/cmake/keyboard_controlConfig.cmake +++ /dev/null @@ -1,191 +0,0 @@ -# generated from catkin/cmake/template/pkgConfig.cmake.in - -# append elements to a list and remove existing duplicates from the list -# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig -# self contained -macro(_list_append_deduplicate listname) - if(NOT "${ARGN}" STREQUAL "") - if(${listname}) - list(REMOVE_ITEM ${listname} ${ARGN}) - endif() - list(APPEND ${listname} ${ARGN}) - endif() -endmacro() - -# append elements to a list if they are not already in the list -# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig -# self contained -macro(_list_append_unique listname) - foreach(_item ${ARGN}) - list(FIND ${listname} ${_item} _index) - if(_index EQUAL -1) - list(APPEND ${listname} ${_item}) - endif() - endforeach() -endmacro() - -# pack a list of libraries with optional build configuration keywords -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_pack_libraries_with_build_configuration VAR) - set(${VAR} "") - set(_argn ${ARGN}) - list(LENGTH _argn _count) - set(_index 0) - while(${_index} LESS ${_count}) - list(GET _argn ${_index} lib) - if("${lib}" MATCHES "^(debug|optimized|general)$") - math(EXPR _index "${_index} + 1") - if(${_index} EQUAL ${_count}) - message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library") - endif() - list(GET _argn ${_index} library) - list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}") - else() - list(APPEND ${VAR} "${lib}") - endif() - math(EXPR _index "${_index} + 1") - endwhile() -endmacro() - -# unpack a list of libraries with optional build configuration keyword prefixes -# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig -# self contained -macro(_unpack_libraries_with_build_configuration VAR) - set(${VAR} "") - foreach(lib ${ARGN}) - string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}") - list(APPEND ${VAR} "${lib}") - endforeach() -endmacro() - - -if(keyboard_control_CONFIG_INCLUDED) - return() -endif() -set(keyboard_control_CONFIG_INCLUDED TRUE) - -# set variables for source/devel/install prefixes -if("TRUE" STREQUAL "TRUE") - set(keyboard_control_SOURCE_PREFIX /home/sdc/Documents/AutoCar/src/keyboard_control) - set(keyboard_control_DEVEL_PREFIX /home/sdc/Documents/AutoCar/devel) - set(keyboard_control_INSTALL_PREFIX "") - set(keyboard_control_PREFIX ${keyboard_control_DEVEL_PREFIX}) -else() - set(keyboard_control_SOURCE_PREFIX "") - set(keyboard_control_DEVEL_PREFIX "") - set(keyboard_control_INSTALL_PREFIX /home/sdc/Documents/AutoCar/install) - set(keyboard_control_PREFIX ${keyboard_control_INSTALL_PREFIX}) -endif() - -# warn when using a deprecated package -if(NOT "" STREQUAL "") - set(_msg "WARNING: package 'keyboard_control' is deprecated") - # append custom deprecation text if available - if(NOT "" STREQUAL "TRUE") - set(_msg "${_msg} ()") - endif() - message("${_msg}") -endif() - -# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project -set(keyboard_control_FOUND_CATKIN_PROJECT TRUE) - -if(NOT " " STREQUAL " ") - set(keyboard_control_INCLUDE_DIRS "") - set(_include_dirs "") - foreach(idir ${_include_dirs}) - if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir}) - set(include ${idir}) - elseif("${idir} " STREQUAL "include ") - get_filename_component(include "${keyboard_control_DIR}/../../../include" ABSOLUTE) - if(NOT IS_DIRECTORY ${include}) - message(FATAL_ERROR "Project 'keyboard_control' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. Ask the maintainer 'nandan ' to fix it.") - endif() - else() - message(FATAL_ERROR "Project 'keyboard_control' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/sdc/Documents/AutoCar/src/keyboard_control/${idir}'. Ask the maintainer 'nandan ' to fix it.") - endif() - _list_append_unique(keyboard_control_INCLUDE_DIRS ${include}) - endforeach() -endif() - -set(libraries "") -foreach(library ${libraries}) - # keep build configuration keywords, target names and absolute libraries as-is - if("${library}" MATCHES "^(debug|optimized|general)$") - list(APPEND keyboard_control_LIBRARIES ${library}) - elseif(TARGET ${library}) - list(APPEND keyboard_control_LIBRARIES ${library}) - elseif(IS_ABSOLUTE ${library}) - list(APPEND keyboard_control_LIBRARIES ${library}) - else() - set(lib_path "") - set(lib "${library}-NOTFOUND") - # since the path where the library is found is returned we have to iterate over the paths manually - foreach(path /home/sdc/Documents/AutoCar/devel/lib;/home/sdc/Documents/AutoCar/devel/lib;/opt/ros/indigo/lib) - find_library(lib ${library} - PATHS ${path} - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - if(lib) - set(lib_path ${path}) - break() - endif() - endforeach() - if(lib) - _list_append_unique(keyboard_control_LIBRARY_DIRS ${lib_path}) - list(APPEND keyboard_control_LIBRARIES ${lib}) - else() - # as a fall back for non-catkin libraries try to search globally - find_library(lib ${library}) - if(NOT lib) - message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'keyboard_control'? Did you find_package() it before the subdirectory containing its code is included?") - endif() - list(APPEND keyboard_control_LIBRARIES ${lib}) - endif() - endif() -endforeach() - -set(keyboard_control_EXPORTED_TARGETS "") -# create dummy targets for exported code generation targets to make life of users easier -foreach(t ${keyboard_control_EXPORTED_TARGETS}) - if(NOT TARGET ${t}) - add_custom_target(${t}) - endif() -endforeach() - -set(depends "") -foreach(depend ${depends}) - string(REPLACE " " ";" depend_list ${depend}) - # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls - list(GET depend_list 0 keyboard_control_dep) - list(LENGTH depend_list count) - if(${count} EQUAL 1) - # simple dependencies must only be find_package()-ed once - if(NOT ${keyboard_control_dep}_FOUND) - find_package(${keyboard_control_dep} REQUIRED) - endif() - else() - # dependencies with components must be find_package()-ed again - list(REMOVE_AT depend_list 0) - find_package(${keyboard_control_dep} REQUIRED ${depend_list}) - endif() - _list_append_unique(keyboard_control_INCLUDE_DIRS ${${keyboard_control_dep}_INCLUDE_DIRS}) - - # merge build configuration keywords with library names to correctly deduplicate - _pack_libraries_with_build_configuration(keyboard_control_LIBRARIES ${keyboard_control_LIBRARIES}) - _pack_libraries_with_build_configuration(_libraries ${${keyboard_control_dep}_LIBRARIES}) - _list_append_deduplicate(keyboard_control_LIBRARIES ${_libraries}) - # undo build configuration keyword merging after deduplication - _unpack_libraries_with_build_configuration(keyboard_control_LIBRARIES ${keyboard_control_LIBRARIES}) - - _list_append_unique(keyboard_control_LIBRARY_DIRS ${${keyboard_control_dep}_LIBRARY_DIRS}) - list(APPEND keyboard_control_EXPORTED_TARGETS ${${keyboard_control_dep}_EXPORTED_TARGETS}) -endforeach() - -set(pkg_cfg_extras "") -foreach(extra ${pkg_cfg_extras}) - if(NOT IS_ABSOLUTE ${extra}) - set(extra ${keyboard_control_DIR}/${extra}) - endif() - include(${extra}) -endforeach()