text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: rosbag2_transport/test/rosbag2_transport/mock_sequential_writer.hpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/mock_sequential_writer.hpp", "license": "apache-2.0", "size": 4113} |
### File: rosbag2_transport/test/rosbag2_transport/record_integration_fixture.hpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/record_integration_fixture.hpp", "license": "apache-2.0", "size": 2352} |
### File: rosbag2_transport/test/rosbag2_transport/rosbag2_play_duration_until_fixture.hpp
// Copyright 2022, Open Source Robotics Corporation.
//
// 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 Licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/rosbag2_play_duration_until_fixture.hpp", "license": "apache-2.0", "size": ... |
### File: rosbag2_transport/test/rosbag2_transport/rosbag2_play_test_fixture.hpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/rosbag2_play_test_fixture.hpp", "license": "apache-2.0", "size": 1259} |
### File: rosbag2_transport/test/rosbag2_transport/rosbag2_transport_test_fixture.hpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/rosbag2_transport_test_fixture.hpp", "license": "apache-2.0", "size": 2458} |
### File: rosbag2_transport/test/rosbag2_transport/test_burst.cpp
// Copyright 2021, Apex.AI
//
// 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_burst.cpp", "license": "apache-2.0", "size": 14836} |
### File: rosbag2_transport/test/rosbag2_transport/test_keyboard_controls.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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 t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_keyboard_controls.cpp", "license": "apache-2.0", "size": 6961} |
### File: rosbag2_transport/test/rosbag2_transport/test_play.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play.cpp", "license": "apache-2.0", "size": 27693} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_callbacks.cpp
// Copyright 2020-2021, Apex.AI.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_callbacks.cpp", "license": "apache-2.0", "size": 6484} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_duration.cpp
// Copyright 2022, Open Source Robotics Corporation.
//
// 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_duration.cpp", "license": "apache-2.0", "size": 8434} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_loop.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
// Copyright 2020, TNG Technology Consulting GmbH.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You ma... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_loop.cpp", "license": "apache-2.0", "size": 5537} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_next.cpp
// Copyright 2021, Apex.AI
//
// 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/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_next.cpp", "license": "apache-2.0", "size": 12906} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_publish_clock.cpp
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_publish_clock.cpp", "license": "apache-2.0", "size": 4859} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_seek.cpp
// Copyright 2021, Apex.AI
//
// 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/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_seek.cpp", "license": "apache-2.0", "size": 11732} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_services.cpp
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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 L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_services.cpp", "license": "apache-2.0", "size": 15409} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_timing.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_timing.cpp", "license": "apache-2.0", "size": 7802} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_topic_remap.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
// Copyright 2020, TNG Technology Consulting GmbH.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_topic_remap.cpp", "license": "apache-2.0", "size": 2978} |
### File: rosbag2_transport/test/rosbag2_transport/test_play_until.cpp
// Copyright 2022, Open Source Robotics Corporation.
//
// 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_play_until.cpp", "license": "apache-2.0", "size": 11728} |
### File: rosbag2_transport/test/rosbag2_transport/test_player_stop.cpp
// Copyright 2021-2022, Apex.AI.
//
// 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_player_stop.cpp", "license": "apache-2.0", "size": 6274} |
### File: rosbag2_transport/test/rosbag2_transport/test_qos.cpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_qos.cpp", "license": "apache-2.0", "size": 9998} |
### File: rosbag2_transport/test/rosbag2_transport/test_record.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record.cpp", "license": "apache-2.0", "size": 14239} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_all.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_all.cpp", "license": "apache-2.0", "size": 3395} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_all_ignore_leaf_topics.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_all_ignore_leaf_topics.cpp", "license": "apache-2.0", "size": 3... |
### File: rosbag2_transport/test/rosbag2_transport/test_record_all_include_unpublished_topics.cpp
// Copyright 2022 Seegrid Corporation. All Rights Reserved.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_all_include_unpublished_topics.cpp", "license": "apache-2.0", "... |
### File: rosbag2_transport/test/rosbag2_transport/test_record_all_no_discovery.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_all_no_discovery.cpp", "license": "apache-2.0", "size": 2235} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_all_use_sim_time.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
//
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_all_use_sim_time.cpp", "license": "apache-2.0", "size": 3657} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_options.cpp
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_options.cpp", "license": "apache-2.0", "size": 1957} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_regex.cpp
// Copyright 2021, Robotec.ai sp. z o.o.
//
// 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.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_regex.cpp", "license": "apache-2.0", "size": 6469} |
### File: rosbag2_transport/test/rosbag2_transport/test_record_services.cpp
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_record_services.cpp", "license": "apache-2.0", "size": 8240} |
### File: rosbag2_transport/test/rosbag2_transport/test_rewrite.cpp
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_rewrite.cpp", "license": "apache-2.0", "size": 6897} |
### File: rosbag2_transport/test/rosbag2_transport/test_topic_filter.cpp
// Copyright 2021, Bosch Software Innovations GmbH.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rosbag2", "path": "rosbag2_transport/test/rosbag2_transport/test_topic_filter.cpp", "license": "apache-2.0", "size": 7292} |
### File: rpyutils/__init__.py
# Copyright 2020 Open Source Robotics Foundation, Inc.
#
# 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
#
# Un... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rpyutils", "path": "rpyutils/__init__.py", "license": "apache-2.0", "size": 787} |
### File: rpyutils/add_dll_directories.py
# Copyright 2020 Open Source Robotics Foundation, Inc.
#
# 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rpyutils", "path": "rpyutils/add_dll_directories.py", "license": "apache-2.0", "size": 2410} |
### File: rpyutils/import_c_library.py
# Copyright 2020 Amazon.com Inc or its affiliates. All rights reserved.
#
# 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rpyutils", "path": "rpyutils/import_c_library.py", "license": "apache-2.0", "size": 2677} |
### File: setup.py
from setuptools import find_packages
from setuptools import setup
package_name = 'rpyutils'
setup(
name=package_name,
version='0.6.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/' + package_name, ['package.xml']),
('share/ament_index/resource_inde... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rpyutils", "path": "setup.py", "license": "apache-2.0", "size": 1052} |
### File: rqt/setup.py
from setuptools import setup
package_name = 'rqt'
setup(
name=package_name,
version='1.7.0',
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
],
zip_safe=True,
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt/setup.py", "license": "bsd-3-clause", "size": 1206} |
### File: rqt_gui/setup.py
from setuptools import setup
package_name = 'rqt_gui'
setup(
name=package_name,
version='1.7.0',
package_dir={'': 'src'},
packages=['rqt_gui'],
data_files=[
('share/' + package_name + '/resource', [
'resource/rqt.graffle',
'resource/rqt.png... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui/setup.py", "license": "bsd-3-clause", "size": 1307} |
### File: rqt_gui/src/rqt_gui/main.py
#!/usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are me... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui/src/rqt_gui/main.py", "license": "bsd-3-clause", "size": 4118} |
### File: rqt_gui/src/rqt_gui/ros2_plugin_context.py
# Copyright (c) 2018 PickNik Consulting
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui/src/rqt_gui/ros2_plugin_context.py", "license": "bsd-3-clause", "size": 2020} |
### File: rqt_gui/src/rqt_gui/ros_plugin_provider.py
# Copyright (c) 2011, Dirk Thomas, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of sou... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui/src/rqt_gui/ros_plugin_provider.py", "license": "bsd-3-clause", "size": 9004} |
### File: rqt_gui/src/rqt_gui/rospkg_plugin_provider.py
# Copyright (c) 2011, Dirk Thomas, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui/src/rqt_gui/rospkg_plugin_provider.py", "license": "bsd-3-clause", "size": 4628} |
### File: rqt_gui_cpp/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rqt_gui_cpp)
find_package(ament_cmake REQUIRED)
if(WIN32)
message(STATUS "rqt_gui_cpp is not yet supported on Windows. Package will not be built.")
ament_package()
return()
endif()
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/CMakeLists.txt", "license": "bsd-3-clause", "size": 2054} |
### File: rqt_gui_cpp/include/rqt_gui_cpp/plugin.h
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/include/rqt_gui_cpp/plugin.h", "license": "bsd-3-clause", "size": 1922} |
### File: rqt_gui_cpp/include/rqt_gui_cpp/plugin.hpp
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/include/rqt_gui_cpp/plugin.hpp", "license": "bsd-3-clause", "size": 2501} |
### File: rqt_gui_cpp/src/rqt_gui_cpp/nodelet_plugin_provider.cpp
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/src/rqt_gui_cpp/nodelet_plugin_provider.cpp", "license": "bsd-3-clause", "size": 4780} |
### File: rqt_gui_cpp/src/rqt_gui_cpp/nodelet_plugin_provider.hpp
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/src/rqt_gui_cpp/nodelet_plugin_provider.hpp", "license": "bsd-3-clause", "size": 3349} |
### File: rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.cpp
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistribution... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.cpp", "license": "bsd-3-clause", "size": 3665} |
### File: rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.hpp
/*
* Copyright (c) 2011, Dirk Thomas, TU Darmstadt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistribution... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.hpp", "license": "bsd-3-clause", "size": 2359} |
### File: rqt_gui_py/setup.py
from setuptools import setup
package_name = 'rqt_gui_py'
setup(
name=package_name,
version='1.7.0',
package_dir={'': 'src'},
packages=['rqt_gui_py'],
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
(... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_py/setup.py", "license": "bsd-3-clause", "size": 994} |
### File: rqt_gui_py/src/rqt_gui_py/plugin.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redist... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_py/src/rqt_gui_py/plugin.py", "license": "bsd-3-clause", "size": 2333} |
### File: rqt_gui_py/src/rqt_gui_py/rclpy_spinner.py
# Copyright 2018, PickNik Consulting
#
# 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
#
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_py/src/rqt_gui_py/rclpy_spinner.py", "license": "bsd-3-clause", "size": 1236} |
### File: rqt_gui_py/src/rqt_gui_py/ros_py_plugin_provider.py
# Copyright (c) 2011, Dirk Thomas, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_gui_py/src/rqt_gui_py/ros_py_plugin_provider.py", "license": "bsd-3-clause", "size": 3717} |
### File: rqt_py_common/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rqt_py_common)
# Load catkin and all dependencies required for this package
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
ament_python_install_package(${PROJECT_NAME}
PACKAGE_DIR src/${PROJECT_NAME})
i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/CMakeLists.txt", "license": "bsd-3-clause", "size": 2288} |
### File: rqt_py_common/src/rqt_py_common/data_items.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/data_items.py", "license": "bsd-3-clause", "size": 1952} |
### File: rqt_py_common/src/rqt_py_common/extended_combo_box.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/extended_combo_box.py", "license": "bsd-3-clause", "size": 4248} |
### File: rqt_py_common/src/rqt_py_common/ini_helper.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/ini_helper.py", "license": "bsd-3-clause", "size": 2690} |
### File: rqt_py_common/src/rqt_py_common/item_delegates.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/item_delegates.py", "license": "bsd-3-clause", "size": 2717} |
### File: rqt_py_common/src/rqt_py_common/layout_util.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/layout_util.py", "license": "bsd-3-clause", "size": 3827} |
### File: rqt_py_common/src/rqt_py_common/message_helpers.py
# Copyright (c) 2018, PickNik Robotics
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/message_helpers.py", "license": "bsd-3-clause", "size": 12631} |
### File: rqt_py_common/src/rqt_py_common/message_tree_model.py
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of sourc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/message_tree_model.py", "license": "bsd-3-clause", "size": 6658} |
### File: rqt_py_common/src/rqt_py_common/message_tree_widget.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# *... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/message_tree_widget.py", "license": "bsd-3-clause", "size": 5429} |
### File: rqt_py_common/src/rqt_py_common/plugin_container_widget.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2013, Open Source Robotics Foundation Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/plugin_container_widget.py", "license": "bsd-3-clause", "size": 5449} |
### File: rqt_py_common/src/rqt_py_common/rqt_ros_graph.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/rqt_ros_graph.py", "license": "bsd-3-clause", "size": 5506} |
### File: rqt_py_common/src/rqt_py_common/rqt_roscomm_util.py
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are me... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/rqt_roscomm_util.py", "license": "bsd-3-clause", "size": 7612} |
### File: rqt_py_common/src/rqt_py_common/topic_completer.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Red... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/topic_completer.py", "license": "bsd-3-clause", "size": 5748} |
### File: rqt_py_common/src/rqt_py_common/topic_dict.py
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/topic_dict.py", "license": "bsd-3-clause", "size": 3572} |
### File: rqt_py_common/src/rqt_py_common/topic_helpers.py
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source cod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/topic_helpers.py", "license": "bsd-3-clause", "size": 7150} |
### File: rqt_py_common/src/rqt_py_common/topic_tree_model.py
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/topic_tree_model.py", "license": "bsd-3-clause", "size": 2268} |
### File: rqt_py_common/src/rqt_py_common/tree_model_completer.py
#!/usr/bin/env python3
# Copyright (c) 2011, Dorian Scholz, TU Darmstadt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/src/rqt_py_common/tree_model_completer.py", "license": "bsd-3-clause", "size": 2114} |
### File: rqt_py_common/test/msg/ArrayVal.msg
Val[5] vals | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/test/msg/ArrayVal.msg", "license": "bsd-3-clause", "size": 11} |
### File: rqt_py_common/test/msg/Val.msg
float64[5] floats
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rqt", "path": "rqt_py_common/test/msg/Val.msg", "license": "bsd-3-clause", "size": 18} |
### File: ros2test/ros2test/command/test.py
# Copyright 2019 Open Source Robotics Foundation, Inc.
#
# 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros_testing", "path": "ros2test/ros2test/command/test.py", "license": "apache-2.0", "size": 2064} |
### File: ros2test/setup.py
from setuptools import find_packages
from setuptools import setup
package_name = 'ros2test'
setup(
name=package_name,
version='0.8.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/' + package_name, ['package.xml']),
('share/ament_index/reso... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros_testing", "path": "ros2test/setup.py", "license": "apache-2.0", "size": 1266} |
### File: ros_testing/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(ros_testing NONE)
find_package(ament_cmake_core REQUIRED)
ament_package(
CONFIG_EXTRAS "${PROJECT_NAME}-extras.cmake"
)
install(
DIRECTORY cmake
DESTINATION share/${PROJECT_NAME}
)
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros_testing", "path": "ros_testing/CMakeLists.txt", "license": "apache-2.0", "size": 235} |
### File: ros_testing/cmake/add_ros_test.cmake
# Copyright 2019 Open Source Robotics Foundation, Inc.
#
# 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/LI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros_testing", "path": "ros_testing/cmake/add_ros_test.cmake", "license": "apache-2.0", "size": 3185} |
### File: ros_testing/ros_testing-extras.cmake
# Copyright 2019 Open Source Robotics Foundation, Inc.
#
# 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/LI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros_testing", "path": "ros_testing/ros_testing-extras.cmake", "license": "apache-2.0", "size": 702} |
### File: doc/scripts/distro_to_rosinstall.py
#! /usr/bin/env python
import os
import sys
import yaml
from rospkg.distro import load_distro, distro_uri
def translate(distro, translate_dir):
d = load_distro(distro_uri(distro))
repo_list = d.get_stacks(True)
for name, item in repo_list.iteritems():
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "doc/scripts/distro_to_rosinstall.py", "license": "bsd", "size": 1121} |
### File: migration-tools/migrate-rosdistro.py
import argparse
import copy
import os
import os.path
import shutil
import subprocess
import sys
import tempfile
from bloom.commands.git.patch.common import get_patch_config, set_patch_config
from bloom.git import inbranch, show
import github
import yaml
from rosdistro i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "migration-tools/migrate-rosdistro.py", "license": "bsd", "size": 13157} |
### File: scripts/__init__.py
import os
from rosdistro import get_index
INDEX_V4_YAML = os.path.normpath(os.path.join(
os.path.dirname(os.path.abspath(__file__)), '..', 'index-v4.yaml'))
index_v4 = get_index('file://' + os.path.abspath(INDEX_V4_YAML))
dist_names_v4 = list(sorted(index_v4.distributions.keys()))
e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/__init__.py", "license": "bsd", "size": 433} |
### File: scripts/add_devel_repo.py
#!/usr/bin/env python
from __future__ import print_function
import argparse
import sys
import yaml
from sort_yaml import sort_yaml_data
def add_devel_repository(yaml_file, name, vcs_type, url, version=None):
data = yaml.safe_load(open(yaml_file, 'r'))
if data['type'] == '... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/add_devel_repo.py", "license": "bsd", "size": 2711} |
### File: scripts/add_release_repo.py
#!/usr/bin/env python
from __future__ import print_function
import argparse
import sys
import yaml
from sort_yaml import sort_yaml_data
def add_release_repository(yaml_file, name, url, version):
data = yaml.safe_load(open(yaml_file, 'r'))
if data['type'] == 'gbp':
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/add_release_repo.py", "license": "bsd", "size": 1506} |
### File: scripts/check_blocking_repos.py
#!/usr/bin/env python
from __future__ import print_function
import argparse
import sys
import rosdistro
from rosdistro.dependency_walker import DependencyWalker
def is_released(repository, dist_file):
return repository in dist_file.repositories and \
dist_file.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_blocking_repos.py", "license": "bsd", "size": 7713} |
### File: scripts/check_duplicates.py
#!/usr/bin/env python
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of sourc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_duplicates.py", "license": "bsd", "size": 6640} |
### File: scripts/check_rosdep.py
#!/usr/bin/env python
from __future__ import print_function
import re
import yaml
import argparse
import sys
indent_atom = ' '
# pretty - A miniature library that provides a Python print and stdout
# wrapper that makes colored terminal text easier to use (eg. without
# having to m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_rosdep.py", "license": "bsd", "size": 6463} |
### File: scripts/check_rosdistro.py
#!/usr/bin/env python
import re
import yaml
import argparse
import sys
indent_atom = ' '
# pretty - A miniature library that provides a Python print and stdout
# wrapper that makes colored terminal text easier to use (eg. without
# having to mess around with ANSI escape sequences... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_rosdistro.py", "license": "bsd", "size": 5151} |
### File: scripts/check_rosdistro_repos.py
#!/usr/bin/env python
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_rosdistro_repos.py", "license": "bsd", "size": 7140} |
### File: scripts/check_rosdistro_urls.py
#!/usr/bin/env python
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/check_rosdistro_urls.py", "license": "bsd", "size": 3844} |
### File: scripts/clean_rosdep_yaml.py
#!/usr/bin/env python
import yaml
import argparse
import re
import io
dont_bracket = ['uri', 'md5sum']
def paddify(s, l):
a = s.split('\n')
buf = ''
pad = ' ' * l
for i, r in enumerate(a[:-1]):
buf += "%s%s\n" % (pad, r)
return buf
def quote_if_n... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/clean_rosdep_yaml.py", "license": "bsd", "size": 1907} |
### File: scripts/count_rosdistro_packages.py
#!/usr/bin/env python3
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistribution... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/count_rosdistro_packages.py", "license": "bsd", "size": 5004} |
### File: scripts/run_gource.bash
ROSDISTRO=jade
cp -r rosdistro filtered_rosdistro
(cd filtered_rosdistro && git filter-branch --subdirectory-filter $ROSDISTRO -- --all)
gource filtered_rosdistro --stop-at-end -s 0.25 -o gource_output.ppm --title "$ROSDISTRO Release Preparations"
avconv -y -b 6000K -r 60 -f image2pip... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/rosdistro", "path": "scripts/run_gource.bash", "license": "bsd", "size": 373} |
### File: scripts/sort_yaml.py
#!/usr/bin/env python
from __future__ import print_function
import argparse
import sys
import yaml
def sort_yaml(yaml_file):
data = yaml.safe_load(open(yaml_file, 'r'))
if 'version' in data:
print('This script does not support the new rosdistro yaml files', file=sys.st... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/sort_yaml.py", "license": "bsd", "size": 913} |
### File: scripts/sync-ros2-gbp-devel-branch.py
# Copyright (c) 2020, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/sync-ros2-gbp-devel-branch.py", "license": "bsd", "size": 11644} |
### File: scripts/yaml2rosinstall.py
#!/usr/bin/env python
from __future__ import print_function
import argparse
import os
import sys
import yaml
def convert_yaml_to_rosinstall(yaml_file, rosinstall_file):
data = yaml.safe_load(open(yaml_file, 'r'))
data = convert_yaml_data_to_rosinstall_data(data)
with ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "scripts/yaml2rosinstall.py", "license": "bsd", "size": 1620} |
### File: test/fold_block.py
import os
next_block_id = 1
class Fold(object):
def __init__(self):
global next_block_id
self.block_id = next_block_id
next_block_id += 1
def get_message(self, msg=''):
if os.environ.get('TRAVIS') == 'true':
if msg:
ms... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/fold_block.py", "license": "bsd", "size": 796} |
### File: test/hook_permissions.py
#!/usr/bin/env python3
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/hook_permissions.py", "license": "bsd", "size": 6068} |
### File: test/rosdep_duplicates_test.py
#!/usr/bin/env python
import os
from scripts.check_duplicates import main as check_duplicates
from .fold_block import Fold
def test_rosdep_duplicates():
files = os.listdir('rosdep')
files = [x for x in files if x.endswith('.yaml')] # accept only files ending with .... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_duplicates_test.py", "license": "bsd", "size": 603} |
### File: test/rosdep_formatting_test.py
#!/usr/bin/env python
import os
from scripts.check_rosdep import main as check_rosdep
from .fold_block import Fold
def test():
files = os.listdir('rosdep')
with Fold() as fold:
print("""Running 'scripts/check_rosdep.py' on all '*.yaml' in the 'rosdep' direc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_formatting_test.py", "license": "bsd", "size": 687} |
### File: test/rosdep_repo_check/__init__.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must ret... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/__init__.py", "license": "bsd", "size": 10098} |
### File: test/rosdep_repo_check/__main__.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must ret... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/__main__.py", "license": "bsd", "size": 2272} |
### File: test/rosdep_repo_check/apk.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/apk.py", "license": "bsd", "size": 4186} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.