From 2cd6e056ff5cb342074f5cf18e876be1c8bfe3af Mon Sep 17 00:00:00 2001 From: Jonas Frey Date: Sun, 18 Feb 2024 12:17:40 +0100 Subject: [PATCH] wvn_ros wvn_anymal header --- .../scripts/anymal_msg_converter_node.py | 5 +++++ .../scripts/anymal_msg_with_latent_converter_node.py | 5 +++++ .../open_source_rosbag_converter/convert_to_public_format.py | 5 +++++ .../scripts/open_source_rosbag_converter/encoding_fixer.py | 5 +++++ .../scripts/policy_debug_info_converter_node.py | 5 +++++ wild_visual_navigation_ros/scripts/overlay_images.py | 5 +++++ wild_visual_navigation_ros/scripts/smart_carrot.py | 5 +++++ .../scripts/wvn_feature_extractor_node.py | 5 +++++ wild_visual_navigation_ros/scripts/wvn_learning_node.py | 5 +++++ wild_visual_navigation_ros/setup.py | 5 +++++ .../src/wild_visual_navigation_ros/__init__.py | 5 +++++ .../src/wild_visual_navigation_ros/ros_converter.py | 5 +++++ .../src/wild_visual_navigation_ros/scheduler.py | 5 +++++ 13 files changed, 65 insertions(+) mode change 100755 => 100644 wild_visual_navigation_anymal/scripts/anymal_msg_converter_node.py mode change 100755 => 100644 wild_visual_navigation_anymal/scripts/anymal_msg_with_latent_converter_node.py mode change 100755 => 100644 wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/convert_to_public_format.py mode change 100755 => 100644 wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/encoding_fixer.py diff --git a/wild_visual_navigation_anymal/scripts/anymal_msg_converter_node.py b/wild_visual_navigation_anymal/scripts/anymal_msg_converter_node.py old mode 100755 new mode 100644 index 578a481b..7a05373d --- a/wild_visual_navigation_anymal/scripts/anymal_msg_converter_node.py +++ b/wild_visual_navigation_anymal/scripts/anymal_msg_converter_node.py @@ -1,4 +1,9 @@ #!/usr/bin/python3 +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from wild_visual_navigation_msgs.msg import CustomState, RobotState from anymal_msgs.msg import AnymalState import rospy diff --git a/wild_visual_navigation_anymal/scripts/anymal_msg_with_latent_converter_node.py b/wild_visual_navigation_anymal/scripts/anymal_msg_with_latent_converter_node.py old mode 100755 new mode 100644 index 3d40005c..9e950eac --- a/wild_visual_navigation_anymal/scripts/anymal_msg_with_latent_converter_node.py +++ b/wild_visual_navigation_anymal/scripts/anymal_msg_with_latent_converter_node.py @@ -1,4 +1,9 @@ #!/usr/bin/python3 +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from wild_visual_navigation_msgs.msg import CustomState, RobotState from anymal_msgs.msg import AnymalState from std_msgs.msg import Float32MultiArray diff --git a/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/convert_to_public_format.py b/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/convert_to_public_format.py old mode 100755 new mode 100644 index c53d348c..a24aa053 --- a/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/convert_to_public_format.py +++ b/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/convert_to_public_format.py @@ -1,4 +1,9 @@ #!/usr/bin/env python +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# import rospy from anymal_msgs.msg import AnymalState diff --git a/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/encoding_fixer.py b/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/encoding_fixer.py old mode 100755 new mode 100644 index 4c0f5447..7945b045 --- a/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/encoding_fixer.py +++ b/wild_visual_navigation_anymal/scripts/open_source_rosbag_converter/encoding_fixer.py @@ -1,4 +1,9 @@ #!/env/bin/python3 +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from __future__ import print_function diff --git a/wild_visual_navigation_anymal/scripts/policy_debug_info_converter_node.py b/wild_visual_navigation_anymal/scripts/policy_debug_info_converter_node.py index 4b2dd9bb..eddfb37b 100644 --- a/wild_visual_navigation_anymal/scripts/policy_debug_info_converter_node.py +++ b/wild_visual_navigation_anymal/scripts/policy_debug_info_converter_node.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# import rospy from geometry_msgs.msg import TwistStamped from std_msgs.msg import Float32MultiArray diff --git a/wild_visual_navigation_ros/scripts/overlay_images.py b/wild_visual_navigation_ros/scripts/overlay_images.py index cffb533a..7d0cdd2d 100644 --- a/wild_visual_navigation_ros/scripts/overlay_images.py +++ b/wild_visual_navigation_ros/scripts/overlay_images.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# import message_filters import rospy from sensor_msgs.msg import Image # , CameraInfo # , CompressedImage diff --git a/wild_visual_navigation_ros/scripts/smart_carrot.py b/wild_visual_navigation_ros/scripts/smart_carrot.py index 8e0cf7d0..cafb0114 100644 --- a/wild_visual_navigation_ros/scripts/smart_carrot.py +++ b/wild_visual_navigation_ros/scripts/smart_carrot.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from grid_map_msgs.msg import GridMap import rospy import numpy as np diff --git a/wild_visual_navigation_ros/scripts/wvn_feature_extractor_node.py b/wild_visual_navigation_ros/scripts/wvn_feature_extractor_node.py index e7778a24..bf0154f9 100644 --- a/wild_visual_navigation_ros/scripts/wvn_feature_extractor_node.py +++ b/wild_visual_navigation_ros/scripts/wvn_feature_extractor_node.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from wild_visual_navigation import WVN_ROOT_DIR from wild_visual_navigation.feature_extractor import FeatureExtractor from wild_visual_navigation.cfg import ExperimentParams, RosFeatureExtractorNodeParams diff --git a/wild_visual_navigation_ros/scripts/wvn_learning_node.py b/wild_visual_navigation_ros/scripts/wvn_learning_node.py index 6d458496..ee31198e 100644 --- a/wild_visual_navigation_ros/scripts/wvn_learning_node.py +++ b/wild_visual_navigation_ros/scripts/wvn_learning_node.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from wild_visual_navigation import WVN_ROOT_DIR from wild_visual_navigation.image_projector import ImageProjector from wild_visual_navigation.supervision_generator import SupervisionGenerator diff --git a/wild_visual_navigation_ros/setup.py b/wild_visual_navigation_ros/setup.py index f376a2ec..cdfffc9f 100644 --- a/wild_visual_navigation_ros/setup.py +++ b/wild_visual_navigation_ros/setup.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from setuptools import setup from catkin_pkg.python_setup import generate_distutils_setup diff --git a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/__init__.py b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/__init__.py index e84e4753..b8dda2bc 100644 --- a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/__init__.py +++ b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/__init__.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# from .ros_converter import ( robot_state_to_torch, wvn_robot_state_to_torch, diff --git a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/ros_converter.py b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/ros_converter.py index f2b3769b..93ce778c 100644 --- a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/ros_converter.py +++ b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/ros_converter.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# import cv2 from geometry_msgs.msg import Pose from nav_msgs.msg import Odometry diff --git a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/scheduler.py b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/scheduler.py index 3026a811..8183cfc6 100644 --- a/wild_visual_navigation_ros/src/wild_visual_navigation_ros/scheduler.py +++ b/wild_visual_navigation_ros/src/wild_visual_navigation_ros/scheduler.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, ETH Zurich, Matias Mattamala, Jonas Frey. +# All rights reserved. Licensed under the MIT license. +# See LICENSE file in the project root for details. +# class Scheduler: """ Implements a modified weighted round-robin scheduler