cythonize: build works but cannot load module in run

This commit is contained in:
Björn Ellensohn 2023-08-18 09:03:28 +02:00
parent cc49ca69d3
commit b0d2a6c238
124 changed files with 10975 additions and 125 deletions

1
build/.built_by Normal file
View File

@ -0,0 +1 @@
colcon

View File

@ -0,0 +1,19 @@
# main.py
import rclpy
from rmp220_middleware import StateMachineNode
def main(args=None):
rclpy.init(args=args)
node = StateMachineNode()
try:
rclpy.spin(node)
except KeyboardInterrupt:
pass
finally:
node.disable_chassis()
node.destroy_node()
rclpy.shutdown()
if __name__ == '__main__':
main()

View File

@ -1,13 +1,18 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import rclpy import rclpy
from enum import Enum
from rclpy.node import Node from rclpy.node import Node
from std_msgs.msg import Bool from std_msgs.msg import Bool
from geometry_msgs.msg import Twist from geometry_msgs.msg import Twist
#from sensor_msgs.msg import Joy from sensor_msgs.msg import Joy
from enum import Enum
from segway_msgs.srv import RosSetChassisEnableCmd from segway_msgs.srv import RosSetChassisEnableCmd
import atexit
import signal
import sys
class State(Enum): class State(Enum):
DISABLED = 0 DISABLED = 0
ENABLED = 1 ENABLED = 1
@ -18,68 +23,73 @@ class StateMachineNode(Node):
# Initialize state and other variables # Initialize state and other variables
self.state = State.DISABLED self.state = State.DISABLED
self.timeout = 2.0 # Timeout in seconds self.timeout = 20.0 # Timeout in seconds
#self.limit = 0.5 # Limit for linear and angular velocity
# Create publishers, subscribers, timers, and service clients here # Create publishers, subscribers, timers, and service clients
self.cmd_vel_pub = self.create_publisher(Twist, '/cmd_vel_out', 10) self.cmd_vel_pub = self.create_publisher(Twist, '/cmd_vel_out', 10)
self.cmd_vel_sub = self.create_subscription(Twist, '/cmd_vel_mux', self.cmd_vel_callback, 10) self.cmd_vel_sub = self.create_subscription(Twist, '/cmd_vel_mux', self.cmd_vel_callback, 10)
#self.joy_sub = self.create_subscription(Joy, '/joy', self.joy_callback, 10) self.joy_sub = self.create_subscription(Joy, '/joy', self.joy_callback, 10)
self.timer = self.create_timer(0.1, self.timer_callback) self.timer = self.create_timer(0.01, self.timer_callback)
# Create twist class for publishing velocities
self.twist = Twist()
self.latest_cmd_vel = Twist()
# Create service clients for chassis enable and disable # Create service clients for chassis enable and disable
self.chassis_enable_client = self.create_client(RosSetChassisEnableCmd, 'set_chassis_enable') self.chassis_enable_client = self.create_client(RosSetChassisEnableCmd, 'set_chassis_enable')
while not self.chassis_enable_client.wait_for_service(timeout_sec=1.0): while not self.chassis_enable_client.wait_for_service(timeout_sec=1.0):
self.get_logger().info('Service not available, waiting for chassis enable service...') self.get_logger().info('Service not available, waiting for chassis enable service...')
self.chassis_disable_client = self.create_client(RosSetChassisEnableCmd, 'set_chassis_enable') self.get_logger().info('Chassis enable service available.')
while not self.chassis_disable_client.wait_for_service(timeout_sec=1.0):
self.get_logger().info('Service not available, waiting for chassis disable service...')
def joy_callback(self, msg):
# Implement logic to detect joystick button presses (start/select) and update state
# ...
if msg.buttons[7] == 1: # Joystick button 'start'
self.state = State.ENABLED
self.get_logger().info("State: ENABLED (Button 'start')")
self.enable_chassis()
if msg.buttons[6] == 1: # Joystick button 'select'
self.state = State.DISABLED
self.get_logger().info("State: DISABLED (Button 'select')")
self.disable_chassis()
def enable_chassis(self): def enable_chassis(self):
req = RosSetChassisEnableCmd.Request() req = RosSetChassisEnableCmd.Request()
req.ros_set_chassis_enable_cmd = True req.ros_set_chassis_enable_cmd = True
self.chassis_enable_client.call_async(req) self.chassis_enable_client.call_async(req)
self.get_logger().info('Enabling chassis...')
def disable_chassis(self): def disable_chassis(self):
req = RosSetChassisEnableCmd.Request() req = RosSetChassisEnableCmd.Request()
req.ros_set_chassis_enable_cmd = False req.ros_set_chassis_enable_cmd = False
self.chassis_disable_client.call_async(req) self.chassis_enable_client.call_async(req)
self.get_logger().info('Disabling chassis...')
def joy_callback(self, msg):
start_button = msg.buttons[7] # Joystick button 'start'
select_button = msg.buttons[6] # Joystick button 'select'
if start_button == 1:
self.state = State.ENABLED
self.get_logger().info("State: ENABLED (Button 'start')")
self.enable_chassis()
elif select_button == 1:
self.state = State.DISABLED
self.get_logger().info("State: DISABLED (Button 'select')")
self.disable_chassis()
def cmd_vel_callback(self, msg): def cmd_vel_callback(self, msg):
# Update state to ENABLED upon receiving a command on /cmd_vel_mux # This method shall only update the latest_cmd_vel attribute so it can be republished by the timer_callback with 100 HZ. Should have a look at performance though.
# ... self.latest_cmd_vel = msg
if self.state == State.ENABLED: self.linear_abs = abs(self.latest_cmd_vel.linear)
self.cmd_vel_pub.publish(msg) self.angular_abs = abs(self.latest_cmd_vel.angular)
self.timeout = 2.0 # Reset timeout when receiving commands self.timeout = 20.0 # Reset timeout when receiving commands
def timer_callback(self): def timer_callback(self):
# Republish the cmd_vel_mux command to cmd_vel_out topic
# ...
# Reset the timeout counter
# ...
# Check if the timeout has been exceeded, and if so, switch to DISABLED
# ...
if self.state == State.ENABLED: if self.state == State.ENABLED:
if self.timeout <= 0: if self.timeout <= 0:
self.state = State.DISABLED self.state = State.DISABLED
self.get_logger().info("State: DISABLED (Timeout)") self.get_logger().info("State: DISABLED (Timeout)")
self.disable_chassis() self.disable_chassis()
else: else:
self.timeout -= 0.1 self.timeout -= 0.01
self.cmd_vel_pub.publish(self.latest_cmd_vel)
if self.state == State.DISABLED and (self.linear_abs > 0.1 or self.angular_abs > 0.1): # This is a hack to enable the chassis when receiving commands e.g. from Nav2
self.state = State.ENABLED
self.get_logger().info("State: ENABLED (cmd_vel)")
self.enable_chassis()
else:
self.cmd_vel_pub.publish(self.twist)
def main(args=None): def main(args=None):
rclpy.init(args=args) rclpy.init(args=args)
@ -89,6 +99,7 @@ def main(args=None):
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
finally: finally:
node.disable_chassis()
node.destroy_node() node.destroy_node()
rclpy.shutdown() rclpy.shutdown()

View File

@ -0,0 +1,19 @@
# main.py
import rclpy
from rmp220_middleware import StateMachineNode
def main(args=None):
rclpy.init(args=args)
node = StateMachineNode()
try:
rclpy.spin(node)
except KeyboardInterrupt:
pass
finally:
node.disable_chassis()
node.destroy_node()
rclpy.shutdown()
if __name__ == '__main__':
main()

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
# generated from colcon_core/shell/template/command_prefix.sh.em

View File

@ -0,0 +1,88 @@
AMENT_PREFIX_PATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware:/opt/ros/humble
BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/code_code.desktop
CHROME_DESKTOP=code-url-handler.desktop
COLCON=1
COLCON_PREFIX_PATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/install
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1003/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:1
GDK_BACKEND=x11
GDK_BACKEND_VSCODE_SNAP_ORIG=
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/var/lib/snapd/desktop/applications/code_code.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=8368
GIO_MODULE_DIR=/home/bjorn/snap/code/common/.cache/gio-modules
GIO_MODULE_DIR_VSCODE_SNAP_ORIG=
GIT_ASKPASS=/snap/code/137/usr/share/code/resources/app/extensions/git/dist/askpass.sh
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1003/gnupg/S.gpg-agent:0:1
GSETTINGS_SCHEMA_DIR=/home/bjorn/snap/code/137/.local/share/glib-2.0/schemas
GSETTINGS_SCHEMA_DIR_VSCODE_SNAP_ORIG=
GTK_EXE_PREFIX=/snap/code/137/usr
GTK_EXE_PREFIX_VSCODE_SNAP_ORIG=
GTK_IM_MODULE=ibus
GTK_IM_MODULE_FILE=/home/bjorn/snap/code/common/.cache/immodules/immodules.cache
GTK_IM_MODULE_FILE_VSCODE_SNAP_ORIG=
GTK_MODULES=gail:atk-bridge
GTK_PATH=/snap/code/137/usr/lib/x86_64-linux-gnu/gtk-3.0
GTK_PATH_VSCODE_SNAP_ORIG=
HOME=/home/bjorn
IM_CONFIG_PHASE=1
INVOCATION_ID=fb79c4fd3c1d4f7d9652c6b79482739c
JOURNAL_STREAM=8:32520
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOCPATH=/snap/code/137/usr/lib/locale
LOCPATH_VSCODE_SNAP_ORIG=
LOGNAME=bjorn
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MANAGERPID=2405
ONSHAPE_ACCESS_KEY=twfpigMHe11VE7ZCq2NOANj7
ONSHAPE_API=https://cad.onshape.com
ONSHAPE_SECRET_KEY=XpUhDOxw7Gp7LV3wT3xDFGXeOGmk2nQmeLlysM7cQU7zv6Bz
ORIGINAL_XDG_CURRENT_DESKTOP=ubuntu:GNOME
PATH=/home/bjorn/.local/bin:/opt/ros/humble/bin:/home/bjorn/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware
PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
ROS_DISTRO=humble
ROS_LOCALHOST_ONLY=0
ROS_PYTHON_VERSION=3
ROS_VERSION=2
SESSION_MANAGER=local/NUC01:@/tmp/.ICE-unix/2719,unix/NUC01:/tmp/.ICE-unix/2719
SHELL=/bin/bash
SHLVL=1
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1003/keyring/ssh
SYSTEMD_EXEC_PID=2742
TERM=xterm-256color
TERM_PROGRAM=vscode
TERM_PROGRAM_VERSION=1.81.1
USER=bjorn
USERNAME=bjorn
VSCODE_GIT_ASKPASS_EXTRA_ARGS=--ms-enable-electron-run-as-node
VSCODE_GIT_ASKPASS_MAIN=/snap/code/137/usr/share/code/resources/app/extensions/git/dist/askpass-main.js
VSCODE_GIT_ASKPASS_NODE=/snap/code/137/usr/share/code/code
VSCODE_GIT_IPC_HANDLE=/run/user/1003/vscode-git-c5b06e67ef.sock
WINDOWPATH=2
XAUTHORITY=/run/user/1003/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CONFIG_DIRS_VSCODE_SNAP_ORIG=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/home/bjorn/snap/code/137/.local/share:/home/bjorn/snap/code/137:/snap/code/137/usr/share:/usr/share/ubuntu:/usr/share/gnome:/home/bjorn/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_DATA_DIRS_VSCODE_SNAP_ORIG=/usr/share/ubuntu:/usr/share/gnome:/home/bjorn/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1003
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
_=/usr/bin/colcon

View File

@ -0,0 +1,13 @@
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/__pycache__/rmp220_middleware.cpython-310.pyc
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware.cpython-310-x86_64-linux-gnu.so
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages/rmp220_middleware
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.xml
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/PKG-INFO
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/SOURCES.txt
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/zip-safe
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/dependency_links.txt
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/requires.txt
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/entry_points.txt
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info/top_level.txt
/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware/rmp220_middleware

View File

@ -0,0 +1,3 @@
import sys
sys.real_prefix = sys.prefix
sys.prefix = sys.exec_prefix = '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware'

View File

@ -0,0 +1,12 @@
Metadata-Version: 2.1
Name: rmp220-middleware
Version: 0.0.0
Summary: TODO: Package description
Home-page: UNKNOWN
Maintainer: bjorn
Maintainer-email: bjoern.ellensohn@gmail.com
License: TODO: License declaration
Platform: UNKNOWN
UNKNOWN

View File

@ -0,0 +1,16 @@
package.xml
setup.cfg
setup.py
build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt
build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
build/rmp220_middleware/rmp220_middleware.egg-info/zip-safe
resource/rmp220_middleware
rmp220_middleware/rmp220_middleware.c
rmp220_middleware/rmp220_middleware.py
test/test_copyright.py
test/test_flake8.py
test/test_pep257.py

View File

@ -0,0 +1,3 @@
[console_scripts]
rmp220_middleware = rmp220_middleware.rmp220_middleware:main

View File

@ -0,0 +1,3 @@
setuptools
wheel
Cython

View File

@ -0,0 +1 @@
rmp220_middleware

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
isolated

0
install/COLCON_IGNORE Normal file
View File

View File

@ -0,0 +1,404 @@
# 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}"'
FORMAT_STR_REMOVE_LEADING_SEPARATOR = ''
FORMAT_STR_REMOVE_TRAILING_SEPARATOR = ''
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
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)

View File

@ -0,0 +1,404 @@
# 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}"'
FORMAT_STR_REMOVE_LEADING_SEPARATOR = 'if [ "$(echo -n ${name} | head -c 1)" = ":" ]; then export {name}=${{{name}#?}} ; fi'
FORMAT_STR_REMOVE_TRAILING_SEPARATOR = 'if [ "$(echo -n ${name} | tail -c 1)" = ":" ]; then export {name}=${{{name}%?}} ; fi'
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
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)

107
install/local_setup.bash Normal file
View File

@ -0,0 +1,107 @@
# 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"
# 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_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 "Execute generated script:"
echo "<<<"
echo "${_colcon_ordered_commands}"
echo ">>>"
fi
eval "${_colcon_ordered_commands}"
unset _colcon_ordered_commands
unset _colcon_prefix_sh_source_script
unset _colcon_prefix_bash_COLCON_CURRENT_PREFIX

55
install/local_setup.ps1 Normal file
View File

@ -0,0 +1,55 @@
# 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
}

137
install/local_setup.sh Normal file
View File

@ -0,0 +1,137 @@
# 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/bjorn/Documents/ros_projects/rmp220_middleware/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

120
install/local_setup.zsh Normal file
View File

@ -0,0 +1,120 @@
# 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"
# 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
continue
fi
# keep non-duplicate values
_all_values="$_all_values:$_item"
done
unset _item
# 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 "Execute generated script:"
echo "<<<"
echo "${_colcon_ordered_commands}"
echo ">>>"
fi
eval "${_colcon_ordered_commands}"
unset _colcon_ordered_commands
unset _colcon_prefix_sh_source_script
unset _colcon_prefix_zsh_COLCON_CURRENT_PREFIX

View File

@ -0,0 +1,12 @@
Metadata-Version: 2.1
Name: rmp220-middleware
Version: 0.0.0
Summary: TODO: Package description
Home-page: UNKNOWN
Maintainer: bjorn
Maintainer-email: bjoern.ellensohn@gmail.com
License: TODO: License declaration
Platform: UNKNOWN
UNKNOWN

View File

@ -0,0 +1,16 @@
package.xml
setup.cfg
setup.py
build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt
build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
build/rmp220_middleware/rmp220_middleware.egg-info/zip-safe
resource/rmp220_middleware
rmp220_middleware/rmp220_middleware.c
rmp220_middleware/rmp220_middleware.py
test/test_copyright.py
test/test_flake8.py
test/test_pep257.py

View File

@ -0,0 +1,3 @@
[console_scripts]
rmp220_middleware = rmp220_middleware.rmp220_middleware:main

View File

@ -0,0 +1,107 @@
#!/usr/bin/env python3
import rclpy
from rclpy.node import Node
from std_msgs.msg import Bool
from geometry_msgs.msg import Twist
from sensor_msgs.msg import Joy
from enum import Enum
from segway_msgs.srv import RosSetChassisEnableCmd
import atexit
import signal
import sys
class State(Enum):
DISABLED = 0
ENABLED = 1
class StateMachineNode(Node):
def __init__(self):
super().__init__('state_machine_node')
# Initialize state and other variables
self.state = State.DISABLED
self.timeout = 20.0 # Timeout in seconds
#self.limit = 0.5 # Limit for linear and angular velocity
# Create publishers, subscribers, timers, and service clients
self.cmd_vel_pub = self.create_publisher(Twist, '/cmd_vel_out', 10)
self.cmd_vel_sub = self.create_subscription(Twist, '/cmd_vel_mux', self.cmd_vel_callback, 10)
self.joy_sub = self.create_subscription(Joy, '/joy', self.joy_callback, 10)
self.timer = self.create_timer(0.01, self.timer_callback)
# Create twist class for publishing velocities
self.twist = Twist()
self.latest_cmd_vel = Twist()
# Create service clients for chassis enable and disable
self.chassis_enable_client = self.create_client(RosSetChassisEnableCmd, 'set_chassis_enable')
while not self.chassis_enable_client.wait_for_service(timeout_sec=1.0):
self.get_logger().info('Service not available, waiting for chassis enable service...')
self.get_logger().info('Chassis enable service available.')
def enable_chassis(self):
req = RosSetChassisEnableCmd.Request()
req.ros_set_chassis_enable_cmd = True
self.chassis_enable_client.call_async(req)
self.get_logger().info('Enabling chassis...')
def disable_chassis(self):
req = RosSetChassisEnableCmd.Request()
req.ros_set_chassis_enable_cmd = False
self.chassis_enable_client.call_async(req)
self.get_logger().info('Disabling chassis...')
def joy_callback(self, msg):
start_button = msg.buttons[7] # Joystick button 'start'
select_button = msg.buttons[6] # Joystick button 'select'
if start_button == 1:
self.state = State.ENABLED
self.get_logger().info("State: ENABLED (Button 'start')")
self.enable_chassis()
elif select_button == 1:
self.state = State.DISABLED
self.get_logger().info("State: DISABLED (Button 'select')")
self.disable_chassis()
def cmd_vel_callback(self, msg):
# This method shall only update the latest_cmd_vel attribute so it can be republished by the timer_callback with 100 HZ. Should have a look at performance though.
self.latest_cmd_vel = msg
self.linear_abs = abs(self.latest_cmd_vel.linear)
self.angular_abs = abs(self.latest_cmd_vel.angular)
self.timeout = 20.0 # Reset timeout when receiving commands
def timer_callback(self):
if self.state == State.ENABLED:
if self.timeout <= 0:
self.state = State.DISABLED
self.get_logger().info("State: DISABLED (Timeout)")
self.disable_chassis()
else:
self.timeout -= 0.01
self.cmd_vel_pub.publish(self.latest_cmd_vel)
if self.state == State.DISABLED and (self.linear_abs > 0.1 or self.angular_abs > 0.1): # This is a hack to enable the chassis when receiving commands e.g. from Nav2
self.state = State.ENABLED
self.get_logger().info("State: ENABLED (cmd_vel)")
self.enable_chassis()
else:
self.cmd_vel_pub.publish(self.twist)
def main(args=None):
rclpy.init(args=args)
node = StateMachineNode()
try:
rclpy.spin(node)
except KeyboardInterrupt:
pass
finally:
node.disable_chassis()
node.destroy_node()
rclpy.shutdown()
if __name__ == '__main__':
main()

View File

@ -0,0 +1,19 @@
# main.py
import rclpy
from rmp220_middleware import StateMachineNode
def main(args=None):
rclpy.init(args=args)
node = StateMachineNode()
try:
rclpy.spin(node)
except KeyboardInterrupt:
pass
finally:
node.disable_chassis()
node.destroy_node()
rclpy.shutdown()
if __name__ == '__main__':
main()

View File

@ -0,0 +1,33 @@
#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'rmp220-middleware==0.0.0','console_scripts','rmp220_middleware'
import re
import sys
# for compatibility with easy_install; see #2198
__requires__ = 'rmp220-middleware==0.0.0'
try:
from importlib.metadata import distribution
except ImportError:
try:
from importlib_metadata import distribution
except ImportError:
from pkg_resources import load_entry_point
def importlib_load_entry_point(spec, group, name):
dist_name, _, _ = spec.partition('==')
matches = (
entry_point
for entry_point in distribution(dist_name).entry_points
if entry_point.group == group and entry_point.name == name
)
return next(matches).load()
globals().setdefault('load_entry_point', importlib_load_entry_point)
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(load_entry_point('rmp220-middleware==0.0.0', 'console_scripts', 'rmp220_middleware')())

View File

@ -0,0 +1 @@
prepend-non-duplicate;AMENT_PREFIX_PATH;

View File

@ -0,0 +1,3 @@
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
colcon_prepend_unique_value AMENT_PREFIX_PATH "$env:COLCON_CURRENT_PREFIX"

View File

@ -0,0 +1,3 @@
# generated from colcon_core/shell/template/hook_prepend_value.sh.em
_colcon_prepend_unique_value AMENT_PREFIX_PATH "$COLCON_CURRENT_PREFIX"

View File

@ -0,0 +1 @@
prepend-non-duplicate;PYTHONPATH;lib/python3.10/site-packages

View File

@ -0,0 +1,3 @@
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
colcon_prepend_unique_value PYTHONPATH "$env:COLCON_CURRENT_PREFIX\lib/python3.10/site-packages"

View File

@ -0,0 +1,3 @@
# generated from colcon_core/shell/template/hook_prepend_value.sh.em
_colcon_prepend_unique_value PYTHONPATH "$COLCON_CURRENT_PREFIX/lib/python3.10/site-packages"

View File

@ -0,0 +1,31 @@
# 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/rmp220_middleware/package.sh"
unset _colcon_package_bash_source_script
unset _colcon_package_bash_COLCON_CURRENT_PREFIX

View File

@ -0,0 +1,6 @@
source;share/rmp220_middleware/hook/pythonpath.ps1
source;share/rmp220_middleware/hook/pythonpath.dsv
source;share/rmp220_middleware/hook/pythonpath.sh
source;share/rmp220_middleware/hook/ament_prefix_path.ps1
source;share/rmp220_middleware/hook/ament_prefix_path.dsv
source;share/rmp220_middleware/hook/ament_prefix_path.sh

View File

@ -0,0 +1,116 @@
# 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/rmp220_middleware/hook/pythonpath.ps1"
colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/rmp220_middleware/hook/ament_prefix_path.ps1"
Remove-Item Env:\COLCON_CURRENT_PREFIX

View File

@ -0,0 +1,87 @@
# 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/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware"
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/rmp220_middleware/hook/pythonpath.sh"
_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/rmp220_middleware/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

View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>rmp220_middleware</name>
<version>0.0.0</version>
<description>TODO: Package description</description>
<maintainer email="bjoern.ellensohn@gmail.com">bjorn</maintainer>
<license>TODO: License declaration</license>
<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
<test_depend>python3-pytest</test_depend>
<export>
<build_type>ament_python</build_type>
</export>
</package>

View File

@ -0,0 +1,42 @@
# 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/rmp220_middleware/package.sh"
unset convert_zsh_to_array
unset _colcon_package_zsh_source_script
unset _colcon_package_zsh_COLCON_CURRENT_PREFIX

31
install/setup.bash Normal file
View File

@ -0,0 +1,31 @@
# 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/humble"
_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

29
install/setup.ps1 Normal file
View File

@ -0,0 +1,29 @@
# 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/humble\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"

45
install/setup.sh Normal file
View File

@ -0,0 +1,45 @@
# 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/bjorn/Documents/ros_projects/rmp220_middleware/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/humble"
_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

31
install/setup.zsh Normal file
View File

@ -0,0 +1,31 @@
# 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/humble"
_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

82
install/spawn_shell.bash Normal file
View File

@ -0,0 +1,82 @@
#!/bin/bash
# Copyright 2018 Shane Loretz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if [ "${COLCON_SPAWN_SHELL_GET_WORKSPACE_INFO}" = "workspace_name" ] ;
then
# script is being sourced to get info and should not spawn a shell
COLCON_SPAWN_SHELL_WORKSPACE_NAME='rmp220_middleware'
unset COLCON_SPAWN_SHELL_GET_WORKSPACE_INFO
return
fi
# Get absolute path to install root ( directory this script is in)
_CCSSB_dir=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
# Append workspace to list of workspaces (for chaining workspaces)
_CCSSB_workspaces=$COLCON_SPAWN_SHELL_BASH:$_CCSSB_dir
# Need to source user's rcfiles first because --rcfile causes them to be ignored
if [ -f /etc/bash.bashrc ]
then
_CCSSB_rcfile="$_CCSSB_rcfile . /etc/bash.bashrc ;"
fi
if [ -f ~/.bashrc ]
then
_CCSSB_rcfile="$_CCSSB_rcfile . ~/.bashrc ;"
fi
# Build a prompt prefix showing the order workspaces have been chained
_CCSSB_ps1_prefix=""
# Make code to source all colcon workspaces
while read -d ':' _CCSSB_ws_dir; do
if [ -z "$_CCSSB_ws_dir" ]
then
# No text before first ':' so ignore it
continue
fi
# make sure shell sources the workspace on startup
_CCSSB_rcfile="$_CCSSB_rcfile . $_CCSSB_ws_dir/local_setup.bash ;"
# Source the workspace here to get the workspace name
COLCON_SPAWN_SHELL_GET_WORKSPACE_INFO=workspace_name
. $_CCSSB_ws_dir/spawn_shell.bash
unset COLCON_SPAWN_SHELL_GET_WORKSPACE_INFO
if [ -z "$_CCSSB_ps1_prefix" ]
then
# First workspace is separated from PS1 by "|"
_CCSSB_ps1_prefix="${COLCON_SPAWN_SHELL_WORKSPACE_NAME}|"
else
# Chained workspaces are separated with "<-"
_CCSSB_ps1_prefix="${COLCON_SPAWN_SHELL_WORKSPACE_NAME}<-$_CCSSB_ps1_prefix"
fi
unset COLCON_SPAWN_SHELL_WORKSPACE_NAME
done <<< "$_CCSSB_workspaces:"
# Support chaining by setting a variable with the list of spawned workspaces
_CCSSB_rcfile="$_CCSSB_rcfile COLCON_SPAWN_SHELL_BASH=\"$_CCSSB_workspaces\" ;"
# Set prompt to indicate sourced workspaces
_CCSSB_rcfile="$_CCSSB_rcfile export PS1=\"$_CCSSB_ps1_prefix\$PS1\" ;"
# Spawn a child shell using custom startup commands
$SHELL --rcfile <(echo "$_CCSSB_rcfile")
# Cleanup the variables used
unset _CCSSB_workspaces
unset _CCSSB_rcfile
unset _CCSSB_ps1_prefix
unset _CCSSB_ws_dir
unset _CCSSB_dir

0
log/COLCON_IGNORE Normal file
View File

View File

@ -0,0 +1,8 @@
[0.000000] (-) TimerEvent: {}
[0.000467] (rmp220_middleware) JobQueued: {'identifier': 'rmp220_middleware', 'dependencies': OrderedDict()}
[0.000493] (rmp220_middleware) JobStarted: {'identifier': 'rmp220_middleware'}
[0.099684] (-) TimerEvent: {}
[0.199898] (-) TimerEvent: {}
[0.265930] (rmp220_middleware) StderrLine: {'line': b'Traceback (most recent call last):\n File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__\n rc = await self.task(*args, **kwargs)\n File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__\n return await task_method(*args, **kwargs)\n File "/usr/lib/python3/dist-packages/colcon_ros/task/ament_python/build.py", line 51, in build\n setup_py_data = get_setup_data(self.context.pkg, env)\n File "/usr/lib/python3/dist-packages/colcon_core/task/python/__init__.py", line 20, in get_setup_data\n return dict(pkg.metadata[key](env))\n File "/usr/lib/python3/dist-packages/colcon_ros/package_augmentation/ros_ament_python.py", line 57, in getter\n return get_setup_information(\n File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 241, in get_setup_information\n _setup_information_cache[hashable_env] = _get_setup_information(\n File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 288, in _get_setup_information\n result = subprocess.run(\n File "/usr/lib/python3.10/subprocess.py", line 526, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'/usr/bin/python3\', \'-c\', \'import sys;from contextlib import suppress;exec("with suppress(ImportError): from setuptools.extern.packaging.specifiers import SpecifierSet");exec("with suppress(ImportError): from packaging.specifiers import SpecifierSet");from distutils.core import run_setup;dist = run_setup( \\\'setup.py\\\', script_args=(\\\'--dry-run\\\',), stop_after=\\\'config\\\');skip_keys = (\\\'cmdclass\\\', \\\'distclass\\\', \\\'ext_modules\\\', \\\'metadata\\\');data = { key: value for key, value in dist.__dict__.items() if ( not key.startswith(\\\'_\\\') and not callable(value) and key not in skip_keys and key not in dist.display_option_names )};data[\\\'metadata\\\'] = { k: v for k, v in dist.metadata.__dict__.items() if k not in (\\\'license_files\\\', \\\'provides_extras\\\')};sys.stdout.buffer.write(repr(data).encode(\\\'utf-8\\\'))\']\' returned non-zero exit status 1.\n'}
[0.266264] (rmp220_middleware) JobEnded: {'identifier': 'rmp220_middleware', 'rc': 1}
[0.276265] (-) EventReactorShutdown: {}

View File

@ -0,0 +1,67 @@
[0.434s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.434s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=20, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7f24ffc049d0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7f24ffb84370>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7f24ffb84370>>)
[0.454s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.455s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.455s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.455s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.455s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.455s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.455s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.455s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.468s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_python' and name 'rmp220_middleware'
[0.468s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.468s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.468s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.468s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.468s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.490s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.490s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.495s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 458 installed packages in /opt/ros/humble
[0.497s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_args' from command line to 'None'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target' from command line to 'None'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_cache' from command line to 'False'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_first' from command line to 'False'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_force_configure' from command line to 'False'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'ament_cmake_args' from command line to 'None'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_cmake_args' from command line to 'None'
[0.564s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.564s] DEBUG:colcon.colcon_core.verb:Building package 'rmp220_middleware' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware', 'merge_install': False, 'path': '/home/bjorn/Documents/ros_projects/rmp220_middleware', 'symlink_install': False, 'test_result_base': None}
[0.565s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.567s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.567s] INFO:colcon.colcon_ros.task.ament_python.build:Building ROS package in '/home/bjorn/Documents/ros_projects/rmp220_middleware' with build type 'ament_python'
[0.567s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'ament_prefix_path')
[0.576s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.576s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.ps1'
[0.577s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.dsv'
[0.577s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.sh'
[0.579s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.579s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.843s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[0.844s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[0.844s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with 'Command '['/usr/bin/python3', '-c', 'import sys;from contextlib import suppress;exec("with suppress(ImportError): from setuptools.extern.packaging.specifiers import SpecifierSet");exec("with suppress(ImportError): from packaging.specifiers import SpecifierSet");from distutils.core import run_setup;dist = run_setup( \'setup.py\', script_args=(\'--dry-run\',), stop_after=\'config\');skip_keys = (\'cmdclass\', \'distclass\', \'ext_modules\', \'metadata\');data = { key: value for key, value in dist.__dict__.items() if ( not key.startswith(\'_\') and not callable(value) and key not in skip_keys and key not in dist.display_option_names )};data[\'metadata\'] = { k: v for k, v in dist.metadata.__dict__.items() if k not in (\'license_files\', \'provides_extras\')};sys.stdout.buffer.write(repr(data).encode(\'utf-8\'))']' returned non-zero exit status 1.'
[0.844s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[0.851s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[0.851s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[0.851s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[0.860s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[0.861s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.ps1'
[0.862s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_ps1.py'
[0.863s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.ps1'
[0.864s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.sh'
[0.864s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_sh.py'
[0.865s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.sh'
[0.866s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.bash'
[0.866s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.bash'
[0.867s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.zsh'
[0.867s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.zsh'
[0.868s] INFO:colcon.colcon_core.shell:Creating '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/spawn_shell.bash'

View File

@ -0,0 +1,18 @@
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__
rc = await self.task(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__
return await task_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_ros/task/ament_python/build.py", line 51, in build
setup_py_data = get_setup_data(self.context.pkg, env)
File "/usr/lib/python3/dist-packages/colcon_core/task/python/__init__.py", line 20, in get_setup_data
return dict(pkg.metadata[key](env))
File "/usr/lib/python3/dist-packages/colcon_ros/package_augmentation/ros_ament_python.py", line 57, in getter
return get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 241, in get_setup_information
_setup_information_cache[hashable_env] = _get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 288, in _get_setup_information
result = subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-c', 'import sys;from contextlib import suppress;exec("with suppress(ImportError): from setuptools.extern.packaging.specifiers import SpecifierSet");exec("with suppress(ImportError): from packaging.specifiers import SpecifierSet");from distutils.core import run_setup;dist = run_setup( \'setup.py\', script_args=(\'--dry-run\',), stop_after=\'config\');skip_keys = (\'cmdclass\', \'distclass\', \'ext_modules\', \'metadata\');data = { key: value for key, value in dist.__dict__.items() if ( not key.startswith(\'_\') and not callable(value) and key not in skip_keys and key not in dist.display_option_names )};data[\'metadata\'] = { k: v for k, v in dist.metadata.__dict__.items() if k not in (\'license_files\', \'provides_extras\')};sys.stdout.buffer.write(repr(data).encode(\'utf-8\'))']' returned non-zero exit status 1.

View File

@ -0,0 +1,18 @@
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__
rc = await self.task(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__
return await task_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_ros/task/ament_python/build.py", line 51, in build
setup_py_data = get_setup_data(self.context.pkg, env)
File "/usr/lib/python3/dist-packages/colcon_core/task/python/__init__.py", line 20, in get_setup_data
return dict(pkg.metadata[key](env))
File "/usr/lib/python3/dist-packages/colcon_ros/package_augmentation/ros_ament_python.py", line 57, in getter
return get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 241, in get_setup_information
_setup_information_cache[hashable_env] = _get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 288, in _get_setup_information
result = subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-c', 'import sys;from contextlib import suppress;exec("with suppress(ImportError): from setuptools.extern.packaging.specifiers import SpecifierSet");exec("with suppress(ImportError): from packaging.specifiers import SpecifierSet");from distutils.core import run_setup;dist = run_setup( \'setup.py\', script_args=(\'--dry-run\',), stop_after=\'config\');skip_keys = (\'cmdclass\', \'distclass\', \'ext_modules\', \'metadata\');data = { key: value for key, value in dist.__dict__.items() if ( not key.startswith(\'_\') and not callable(value) and key not in skip_keys and key not in dist.display_option_names )};data[\'metadata\'] = { k: v for k, v in dist.metadata.__dict__.items() if k not in (\'license_files\', \'provides_extras\')};sys.stdout.buffer.write(repr(data).encode(\'utf-8\'))']' returned non-zero exit status 1.

View File

@ -0,0 +1,18 @@
[0.266s] Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__
rc = await self.task(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__
return await task_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/colcon_ros/task/ament_python/build.py", line 51, in build
setup_py_data = get_setup_data(self.context.pkg, env)
File "/usr/lib/python3/dist-packages/colcon_core/task/python/__init__.py", line 20, in get_setup_data
return dict(pkg.metadata[key](env))
File "/usr/lib/python3/dist-packages/colcon_ros/package_augmentation/ros_ament_python.py", line 57, in getter
return get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 241, in get_setup_information
_setup_information_cache[hashable_env] = _get_setup_information(
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 288, in _get_setup_information
result = subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-c', 'import sys;from contextlib import suppress;exec("with suppress(ImportError): from setuptools.extern.packaging.specifiers import SpecifierSet");exec("with suppress(ImportError): from packaging.specifiers import SpecifierSet");from distutils.core import run_setup;dist = run_setup( \'setup.py\', script_args=(\'--dry-run\',), stop_after=\'config\');skip_keys = (\'cmdclass\', \'distclass\', \'ext_modules\', \'metadata\');data = { key: value for key, value in dist.__dict__.items() if ( not key.startswith(\'_\') and not callable(value) and key not in skip_keys and key not in dist.display_option_names )};data[\'metadata\'] = { k: v for k, v in dist.metadata.__dict__.items() if k not in (\'license_files\', \'provides_extras\')};sys.stdout.buffer.write(repr(data).encode(\'utf-8\'))']' returned non-zero exit status 1.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,90 @@
[0.355s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.355s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=20, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7fdcfc110880>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7fdcfc08c370>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7fdcfc08c370>>)
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.376s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.376s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.376s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.377s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.377s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.390s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_python' and name 'rmp220_middleware'
[0.390s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.390s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.390s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.390s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.390s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.408s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.408s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.412s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 458 installed packages in /opt/ros/humble
[0.414s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_args' from command line to 'None'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target' from command line to 'None'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_cache' from command line to 'False'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_first' from command line to 'False'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_force_configure' from command line to 'False'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'ament_cmake_args' from command line to 'None'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_cmake_args' from command line to 'None'
[0.478s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.478s] DEBUG:colcon.colcon_core.verb:Building package 'rmp220_middleware' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware', 'merge_install': False, 'path': '/home/bjorn/Documents/ros_projects/rmp220_middleware', 'symlink_install': False, 'test_result_base': None}
[0.479s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.481s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.481s] INFO:colcon.colcon_ros.task.ament_python.build:Building ROS package in '/home/bjorn/Documents/ros_projects/rmp220_middleware' with build type 'ament_python'
[0.481s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'ament_prefix_path')
[0.488s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.488s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.ps1'
[0.488s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.dsv'
[0.489s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.sh'
[0.490s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.490s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[1.422s] INFO:colcon.colcon_core.task.python.build:Building Python package in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[1.424s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[1.424s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[2.531s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.400s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.408s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake module files
[3.408s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake config files
[3.409s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib'
[3.409s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.409s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/pkgconfig/rmp220_middleware.pc'
[3.409s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages'
[3.409s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'pythonpath')
[3.411s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.ps1'
[3.411s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.dsv'
[3.411s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.sh'
[3.411s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.411s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(rmp220_middleware)
[3.413s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.ps1'
[3.414s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.dsv'
[3.414s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.sh'
[3.415s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.bash'
[3.415s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.zsh'
[3.416s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/colcon-core/packages/rmp220_middleware)
[3.416s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[3.416s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[3.416s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[3.416s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[3.423s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[3.423s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[3.423s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[3.432s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[3.434s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.ps1'
[3.435s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_ps1.py'
[3.437s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.ps1'
[3.439s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.sh'
[3.440s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_sh.py'
[3.440s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.sh'
[3.442s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.bash'
[3.443s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.bash'
[3.444s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.zsh'
[3.445s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.zsh'
[3.446s] INFO:colcon.colcon_core.shell:Creating '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/spawn_shell.bash'

View File

@ -0,0 +1,2 @@
Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

View File

@ -0,0 +1,3 @@
warning: rmp220_middleware/rmp220_middleware.bak.py:1:0: Dotted filenames ('rmp220_middleware.bak.py') are deprecated. Please use the normal Python package directory layout.
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)

View File

@ -0,0 +1,38 @@
running egg_info
creating build/rmp220_middleware/rmp220_middleware.egg-info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/__init__.py to __init__.cpython-310.pyc
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.bak.py to rmp220_middleware.bak.cpython-310.pyc
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
copying resource/rmp220_middleware -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
copying package.xml -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware
running install_egg_info
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,41 @@
warning: rmp220_middleware/rmp220_middleware.bak.py:1:0: Dotted filenames ('rmp220_middleware.bak.py') are deprecated. Please use the normal Python package directory layout.
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)
running egg_info
creating build/rmp220_middleware/rmp220_middleware.egg-info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/__init__.py to __init__.cpython-310.pyc
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.bak.py to rmp220_middleware.bak.cpython-310.pyc
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
copying resource/rmp220_middleware -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
copying package.xml -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware
running install_egg_info
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,43 @@
[2.049s] Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[2.711s] warning: rmp220_middleware/rmp220_middleware.bak.py:1:0: Dotted filenames ('rmp220_middleware.bak.py') are deprecated. Please use the normal Python package directory layout.
[2.779s] /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
[2.779s] warnings.warn(msg)
[2.796s] running egg_info
[2.796s] creating build/rmp220_middleware/rmp220_middleware.egg-info
[2.796s] writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
[2.797s] writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
[2.797s] writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
[2.797s] writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
[2.797s] writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
[2.801s] writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.802s] reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.802s] writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.802s] running build
[2.802s] running build_py
[2.802s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build
[2.802s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib
[2.802s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.803s] copying rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.803s] copying rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.803s] copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.803s] running install
[2.803s] running install_lib
[2.803s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.803s] copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/__init__.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.804s] copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.bak.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.804s] copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.804s] byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/__init__.py to __init__.cpython-310.pyc
[2.804s] byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.bak.py to rmp220_middleware.bak.cpython-310.pyc
[2.805s] byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
[2.805s] running install_data
[2.805s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index
[2.805s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index
[2.805s] creating /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
[2.805s] copying resource/rmp220_middleware -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/ament_index/resource_index/packages
[2.805s] copying package.xml -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware
[2.805s] running install_egg_info
[2.806s] Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
[2.806s] running install_scripts
[2.807s] Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
[2.807s] writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'
[2.918s] Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,91 @@
[0.357s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.357s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=20, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7f95d7a0add0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7f95d7980520>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7f95d7980520>>)
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.378s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.378s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[0.378s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.378s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.393s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_python' and name 'rmp220_middleware'
[0.393s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.393s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.393s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.393s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.393s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.412s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.412s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.415s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/bjorn/Documents/ros_projects/rmp220_middleware/install
[0.416s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 458 installed packages in /opt/ros/humble
[0.418s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.481s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_args' from command line to 'None'
[0.481s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target' from command line to 'None'
[0.481s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_cache' from command line to 'False'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_first' from command line to 'False'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_force_configure' from command line to 'False'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'ament_cmake_args' from command line to 'None'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_cmake_args' from command line to 'None'
[0.482s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.482s] DEBUG:colcon.colcon_core.verb:Building package 'rmp220_middleware' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware', 'merge_install': False, 'path': '/home/bjorn/Documents/ros_projects/rmp220_middleware', 'symlink_install': False, 'test_result_base': None}
[0.482s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.485s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.485s] INFO:colcon.colcon_ros.task.ament_python.build:Building ROS package in '/home/bjorn/Documents/ros_projects/rmp220_middleware' with build type 'ament_python'
[0.485s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'ament_prefix_path')
[0.491s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.491s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.ps1'
[0.492s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.dsv'
[0.492s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.sh'
[0.494s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.494s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[1.315s] INFO:colcon.colcon_core.task.python.build:Building Python package in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[1.317s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[1.317s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[2.254s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.064s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.068s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake module files
[3.068s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake config files
[3.069s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib'
[3.069s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.069s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/pkgconfig/rmp220_middleware.pc'
[3.069s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages'
[3.069s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'pythonpath')
[3.070s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.ps1'
[3.071s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.dsv'
[3.071s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.sh'
[3.071s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.071s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(rmp220_middleware)
[3.073s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.ps1'
[3.073s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.dsv'
[3.074s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.sh'
[3.074s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.bash'
[3.075s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.zsh'
[3.075s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/colcon-core/packages/rmp220_middleware)
[3.075s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[3.075s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[3.075s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[3.075s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[3.081s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[3.081s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[3.081s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[3.087s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[3.089s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.ps1'
[3.090s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_ps1.py'
[3.091s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.ps1'
[3.092s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.sh'
[3.092s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_sh.py'
[3.093s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.sh'
[3.094s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.bash'
[3.094s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.bash'
[3.095s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.zsh'
[3.095s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.zsh'
[3.096s] INFO:colcon.colcon_core.shell:Creating '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/spawn_shell.bash'

View File

@ -0,0 +1,2 @@
Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

View File

@ -0,0 +1,2 @@
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)

View File

@ -0,0 +1,23 @@
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,25 @@
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,27 @@
[1.768s] Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[2.448s] /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
[2.449s] warnings.warn(msg)
[2.465s] running egg_info
[2.465s] writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
[2.465s] writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
[2.466s] writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
[2.466s] writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
[2.466s] writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
[2.467s] package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
[2.468s] reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.468s] writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.468s] running build
[2.468s] running build_py
[2.469s] copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.469s] running install
[2.469s] running install_lib
[2.469s] copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.470s] byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
[2.470s] running install_data
[2.470s] running install_egg_info
[2.470s] removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
[2.470s] Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
[2.471s] running install_scripts
[2.472s] Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
[2.472s] writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'
[2.579s] Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,91 @@
[0.359s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.359s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=20, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7efdfc523be0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7efdfc494550>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7efdfc494550>>)
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.379s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.379s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.379s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.392s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_python' and name 'rmp220_middleware'
[0.392s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.392s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.392s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.392s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.392s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.409s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.409s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.412s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/bjorn/Documents/ros_projects/rmp220_middleware/install
[0.414s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 458 installed packages in /opt/ros/humble
[0.415s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_args' from command line to 'None'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target' from command line to 'None'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_cache' from command line to 'False'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_first' from command line to 'False'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_force_configure' from command line to 'False'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'ament_cmake_args' from command line to 'None'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_cmake_args' from command line to 'None'
[0.477s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.477s] DEBUG:colcon.colcon_core.verb:Building package 'rmp220_middleware' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware', 'merge_install': False, 'path': '/home/bjorn/Documents/ros_projects/rmp220_middleware', 'symlink_install': False, 'test_result_base': None}
[0.478s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.480s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.480s] INFO:colcon.colcon_ros.task.ament_python.build:Building ROS package in '/home/bjorn/Documents/ros_projects/rmp220_middleware' with build type 'ament_python'
[0.481s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'ament_prefix_path')
[0.487s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.487s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.ps1'
[0.487s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.dsv'
[0.488s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.sh'
[0.489s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.489s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[1.310s] INFO:colcon.colcon_core.task.python.build:Building Python package in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[1.312s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[1.312s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[2.259s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.089s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.094s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake module files
[3.095s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake config files
[3.095s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib'
[3.095s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.095s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/pkgconfig/rmp220_middleware.pc'
[3.096s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages'
[3.096s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'pythonpath')
[3.097s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.ps1'
[3.097s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.dsv'
[3.097s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.sh'
[3.098s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.098s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(rmp220_middleware)
[3.099s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.ps1'
[3.100s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.dsv'
[3.100s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.sh'
[3.101s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.bash'
[3.101s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.zsh'
[3.102s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/colcon-core/packages/rmp220_middleware)
[3.102s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[3.102s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[3.102s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[3.102s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[3.111s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[3.111s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[3.111s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[3.117s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[3.118s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.ps1'
[3.119s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_ps1.py'
[3.121s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.ps1'
[3.122s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.sh'
[3.122s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_sh.py'
[3.123s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.sh'
[3.125s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.bash'
[3.125s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.bash'
[3.126s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.zsh'
[3.127s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.zsh'
[3.128s] INFO:colcon.colcon_core.shell:Creating '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/spawn_shell.bash'

View File

@ -0,0 +1,2 @@
Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

View File

@ -0,0 +1,2 @@
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)

View File

@ -0,0 +1,23 @@
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,25 @@
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
warnings.warn(msg)
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,27 @@
[1.777s] Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[2.480s] /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'xt_modules'
[2.480s] warnings.warn(msg)
[2.496s] running egg_info
[2.497s] writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
[2.497s] writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
[2.497s] writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
[2.497s] writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
[2.497s] writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
[2.499s] package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
[2.499s] reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.500s] writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
[2.500s] running build
[2.500s] running build_py
[2.500s] copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware
[2.500s] running install
[2.500s] running install_lib
[2.501s] copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib/rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware
[2.501s] byte-compiling /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware/rmp220_middleware.py to rmp220_middleware.cpython-310.pyc
[2.501s] running install_data
[2.501s] running install_egg_info
[2.502s] removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
[2.502s] Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
[2.502s] running install_scripts
[2.504s] Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
[2.504s] writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'
[2.607s] Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,91 @@
[0.354s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.354s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=20, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7f19e8d1bac0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7f19e8c04520>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7f19e8c04520>>)
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.374s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.374s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[0.374s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.375s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.388s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_python' and name 'rmp220_middleware'
[0.388s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.388s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.388s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.388s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.388s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.406s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.406s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.409s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/bjorn/Documents/ros_projects/rmp220_middleware/install
[0.411s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 458 installed packages in /opt/ros/humble
[0.413s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_args' from command line to 'None'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target' from command line to 'None'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_cache' from command line to 'False'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_clean_first' from command line to 'False'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'cmake_force_configure' from command line to 'False'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'ament_cmake_args' from command line to 'None'
[0.473s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_cmake_args' from command line to 'None'
[0.474s] Level 5:colcon.colcon_core.verb:set package 'rmp220_middleware' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.474s] DEBUG:colcon.colcon_core.verb:Building package 'rmp220_middleware' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware', 'merge_install': False, 'path': '/home/bjorn/Documents/ros_projects/rmp220_middleware', 'symlink_install': False, 'test_result_base': None}
[0.474s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.476s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.476s] INFO:colcon.colcon_ros.task.ament_python.build:Building ROS package in '/home/bjorn/Documents/ros_projects/rmp220_middleware' with build type 'ament_python'
[0.477s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'ament_prefix_path')
[0.483s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.483s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.ps1'
[0.483s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.dsv'
[0.484s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/ament_prefix_path.sh'
[0.485s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.485s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[1.290s] INFO:colcon.colcon_core.task.python.build:Building Python package in '/home/bjorn/Documents/ros_projects/rmp220_middleware'
[1.292s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[1.292s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[2.218s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.684s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
[3.692s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake module files
[3.692s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware' for CMake config files
[3.693s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib'
[3.693s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.693s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/pkgconfig/rmp220_middleware.pc'
[3.693s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages'
[3.693s] Level 1:colcon.colcon_core.shell:create_environment_hook('rmp220_middleware', 'pythonpath')
[3.696s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.ps1'
[3.696s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.dsv'
[3.697s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/hook/pythonpath.sh'
[3.697s] Level 1:colcon.colcon_core.environment:checking '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/bin'
[3.697s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(rmp220_middleware)
[3.700s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.ps1'
[3.701s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.dsv'
[3.702s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.sh'
[3.702s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.bash'
[3.703s] INFO:colcon.colcon_core.shell:Creating package script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/rmp220_middleware/package.zsh'
[3.704s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/share/colcon-core/packages/rmp220_middleware)
[3.704s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[3.705s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[3.705s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[3.705s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[3.711s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[3.711s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[3.711s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[3.717s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[3.719s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.ps1'
[3.720s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_ps1.py'
[3.720s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.ps1'
[3.722s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.sh'
[3.722s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/_local_setup_util_sh.py'
[3.722s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.sh'
[3.723s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.bash'
[3.724s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.bash'
[3.725s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/local_setup.zsh'
[3.725s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/setup.zsh'
[3.726s] INFO:colcon.colcon_core.shell:Creating '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/spawn_shell.bash'

View File

@ -0,0 +1,2 @@
Invoking command in '/home/bjorn/Documents/ros_projects/rmp220_middleware': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed
Invoked command in '/home/bjorn/Documents/ros_projects/rmp220_middleware' returned '0': PYTHONPATH=/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/prefix_override:/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages:${PYTHONPATH} /usr/bin/python3 setup.py egg_info --egg-base build/rmp220_middleware build --build-base /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build install --record /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log --single-version-externally-managed

View File

@ -0,0 +1,33 @@
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware
running build_ext
building 'rmp220_middleware' extension
C compiler: x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10/rmp220_middleware
compile options: '-I/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/include -I/usr/include/python3.10 -c'
x86_64-linux-gnu-gcc: rmp220_middleware/rmp220_middleware.c
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10/rmp220_middleware/rmp220_middleware.o -o /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware.cpython-310-x86_64-linux-gnu.so
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware.cpython-310-x86_64-linux-gnu.so -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

View File

@ -0,0 +1,33 @@
running egg_info
writing build/rmp220_middleware/rmp220_middleware.egg-info/PKG-INFO
writing dependency_links to build/rmp220_middleware/rmp220_middleware.egg-info/dependency_links.txt
writing entry points to build/rmp220_middleware/rmp220_middleware.egg-info/entry_points.txt
writing requirements to build/rmp220_middleware/rmp220_middleware.egg-info/requires.txt
writing top-level names to build/rmp220_middleware/rmp220_middleware.egg-info/top_level.txt
package init file 'rmp220_middleware/__init__.py' not found (or not a regular file)
reading manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
writing manifest file 'build/rmp220_middleware/rmp220_middleware.egg-info/SOURCES.txt'
running build
running build_py
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware
copying rmp220_middleware/rmp220_middleware.py -> /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware
running build_ext
building 'rmp220_middleware' extension
C compiler: x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10
creating /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10/rmp220_middleware
compile options: '-I/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/include -I/usr/include/python3.10 -c'
x86_64-linux-gnu-gcc: rmp220_middleware/rmp220_middleware.c
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/temp.linux-x86_64-3.10/rmp220_middleware/rmp220_middleware.o -o /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware.cpython-310-x86_64-linux-gnu.so
running install
running install_lib
copying /home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/build/lib.linux-x86_64-3.10/rmp220_middleware.cpython-310-x86_64-linux-gnu.so -> /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages
running install_data
running install_egg_info
removing '/home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info' (and everything under it)
Copying build/rmp220_middleware/rmp220_middleware.egg-info to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/python3.10/site-packages/rmp220_middleware-0.0.0-py3.10.egg-info
running install_scripts
Installing rmp220_middleware script to /home/bjorn/Documents/ros_projects/rmp220_middleware/install/rmp220_middleware/lib/rmp220_middleware
writing list of installed files to '/home/bjorn/Documents/ros_projects/rmp220_middleware/build/rmp220_middleware/install.log'

Some files were not shown because too many files have changed in this diff Show More