Commit fda54538 authored by Barcis, Michal's avatar Barcis, Michal
Browse files

added launchfile

parent 6dd217a8
...@@ -25,7 +25,6 @@ from rclpy.qos import ( ...@@ -25,7 +25,6 @@ from rclpy.qos import (
) )
from rclpy.qos import QoSPresetProfiles from rclpy.qos import QoSPresetProfiles
from sniffing import sniffer
from mission_manager.client import MissionExecutor, MissionClient from mission_manager.client import MissionExecutor, MissionClient
from infdist.optimization.agent import EstimatingAgent from infdist.optimization.agent import EstimatingAgent
...@@ -33,8 +32,10 @@ from infdist.robot.ros2_network import ROS2Network, ROS2NativeMessage ...@@ -33,8 +32,10 @@ from infdist.robot.ros2_network import ROS2Network, ROS2NativeMessage
from infdist.optimization.simplesim import ( from infdist.optimization.simplesim import (
create_msgnum_constraint_violations, create_msgnum_constraint_violations,
) )
from mission import generate_mission_context
from detect import detect_red from .sniffing import sniffer
from .mission import generate_mission_context
from .detect import detect_red
CUSTOM_QOS = QoSProfile( CUSTOM_QOS = QoSProfile(
history=QoSHistoryPolicy.RMW_QOS_POLICY_HISTORY_KEEP_LAST, history=QoSHistoryPolicy.RMW_QOS_POLICY_HISTORY_KEEP_LAST,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
from infdist.optimization.models import MissionContext, InformationType from infdist.optimization.models import MissionContext, InformationType
from infdist.optimization.aggregations import AggregationMostRecent from infdist.optimization.aggregations import AggregationMostRecent
from utility import PeriodicTypeForecast, UtilityVideo from .utility import PeriodicTypeForecast, UtilityVideo
# from infdist.optimization.message_forecast import PeriodicTypeForecast # from infdist.optimization.message_forecast import PeriodicTypeForecast
......
import glob
import os
from setuptools import find_packages from setuptools import find_packages
from setuptools import setup from setuptools import setup
...@@ -11,8 +14,10 @@ setup( ...@@ -11,8 +14,10 @@ setup(
('share/ament_index/resource_index/packages', ('share/ament_index/resource_index/packages',
['resource/' + package_name]), ['resource/' + package_name]),
('share/' + package_name, ['package.xml']), ('share/' + package_name, ['package.xml']),
('share/' + package_name + '/launch',
glob.glob(os.path.join('launch', '*.launch.py'))),
], ],
install_requires=['setuptools'], install_requires=['launch', 'setuptools'],
zip_safe=True, zip_safe=True,
author='Michal Barcis', author='Michal Barcis',
author_email='michal.barcis@aau.at', author_email='michal.barcis@aau.at',
...@@ -30,7 +35,7 @@ setup( ...@@ -30,7 +35,7 @@ setup(
tests_require=['pytest'], tests_require=['pytest'],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'camera_streaming = camera_streaming.camera_streaming:main', 'camera_streaming = camera_streaming.camera_stream:main',
'camera_subscriber = camera_streaming.camera_subscriber:main', 'camera_subscriber = camera_streaming.camera_subscriber:main',
], ],
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment