text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: demo_nodes_cpp/include/demo_nodes_cpp/visibility_control.h
// Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/include/demo_nodes_cpp/visibility_control.h", "license": "apache-2.0", "size": 1924} |
### File: demo_nodes_cpp/launch/services/add_two_ints.launch.py
# Copyright 2018 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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/launch/services/add_two_ints.launch.py", "license": "apache-2.0", "size": 1465} |
### File: demo_nodes_cpp/launch/services/add_two_ints_async.launch.py
# Copyright 2018 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/launch/services/add_two_ints_async.launch.py", "license": "apache-2.0", "size": 1471} |
### File: demo_nodes_cpp/launch/topics/talker_listener.launch.py
# Copyright 2018 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.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/launch/topics/talker_listener.launch.py", "license": "apache-2.0", "size": 1001} |
### File: demo_nodes_cpp/launch/topics/talker_listener_best_effort.launch.py
# Copyright 2018 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
#
# htt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/launch/topics/talker_listener_best_effort.launch.py", "license": "apache-2.0", "size": 1025} |
### File: demo_nodes_cpp/src/parameters/even_parameters_node.cpp
// Copyright 2018 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/even_parameters_node.cpp", "license": "apache-2.0", "size": 3690} |
### File: demo_nodes_cpp/src/parameters/list_parameters.cpp
// Copyright 2015 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/list_parameters.cpp", "license": "apache-2.0", "size": 2883} |
### File: demo_nodes_cpp/src/parameters/list_parameters_async.cpp
// Copyright 2015 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://... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/list_parameters_async.cpp", "license": "apache-2.0", "size": 2919} |
### File: demo_nodes_cpp/src/parameters/parameter_blackboard.cpp
// 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/parameter_blackboard.cpp", "license": "apache-2.0", "size": 1561} |
### File: demo_nodes_cpp/src/parameters/parameter_event_handler.cpp
// Copyright 2021 Open Source Robotics Foundation, Inc.
// Copyright (c) 2020 Intel 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/parameter_event_handler.cpp", "license": "apache-2.0", "size": 5854} |
### File: demo_nodes_cpp/src/parameters/parameter_events.cpp
// Copyright 2015 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/parameter_events.cpp", "license": "apache-2.0", "size": 4179} |
### File: demo_nodes_cpp/src/parameters/parameter_events_async.cpp
// Copyright 2015 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/parameter_events_async.cpp", "license": "apache-2.0", "size": 6577} |
### File: demo_nodes_cpp/src/parameters/set_and_get_parameters.cpp
// Copyright 2015 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/set_and_get_parameters.cpp", "license": "apache-2.0", "size": 3046} |
### File: demo_nodes_cpp/src/parameters/set_and_get_parameters_async.cpp
// Copyright 2015 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/parameters/set_and_get_parameters_async.cpp", "license": "apache-2.0", "size": 3207} |
### File: demo_nodes_cpp/src/services/add_two_ints_client.cpp
// Copyright 2014 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/services/add_two_ints_client.cpp", "license": "apache-2.0", "size": 2428} |
### File: demo_nodes_cpp/src/services/add_two_ints_client_async.cpp
// Copyright 2014 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/services/add_two_ints_client_async.cpp", "license": "apache-2.0", "size": 2617} |
### File: demo_nodes_cpp/src/services/add_two_ints_server.cpp
// Copyright 2014 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/services/add_two_ints_server.cpp", "license": "apache-2.0", "size": 1953} |
### File: demo_nodes_cpp/src/timers/one_off_timer.cpp
// Copyright 2017 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/timers/one_off_timer.cpp", "license": "apache-2.0", "size": 1905} |
### File: demo_nodes_cpp/src/timers/reuse_timer.cpp
// Copyright 2017 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/timers/reuse_timer.cpp", "license": "apache-2.0", "size": 2003} |
### File: demo_nodes_cpp/src/topics/allocator_tutorial.cpp
// Copyright 2015 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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/allocator_tutorial.cpp", "license": "apache-2.0", "size": 7349} |
### File: demo_nodes_cpp/src/topics/listener.cpp
// Copyright 2014 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/listener.cpp", "license": "apache-2.0", "size": 2027} |
### File: demo_nodes_cpp/src/topics/listener_best_effort.cpp
// Copyright 2015 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/listener_best_effort.cpp", "license": "apache-2.0", "size": 1531} |
### File: demo_nodes_cpp/src/topics/listener_serialized_message.cpp
// Copyright 2017 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/listener_serialized_message.cpp", "license": "apache-2.0", "size": 3142} |
### File: demo_nodes_cpp/src/topics/talker.cpp
// Copyright 2014 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/talker.cpp", "license": "apache-2.0", "size": 2517} |
### File: demo_nodes_cpp/src/topics/talker_loaned_message.cpp
// 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/talker_loaned_message.cpp", "license": "apache-2.0", "size": 4761} |
### File: demo_nodes_cpp/src/topics/talker_serialized_message.cpp
// Copyright 2017 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://... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp/src/topics/talker_serialized_message.cpp", "license": "apache-2.0", "size": 4114} |
### File: demo_nodes_cpp_native/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(demo_nodes_cpp_native)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
en... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp_native/CMakeLists.txt", "license": "apache-2.0", "size": 2557} |
### File: demo_nodes_cpp_native/include/demo_nodes_cpp_native/visibility_control.h
// Copyright 2016 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
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp_native/include/demo_nodes_cpp_native/visibility_control.h", "license": "apache-2.0", "size": 2078} |
### File: demo_nodes_cpp_native/src/talker.cpp
// Copyright 2014 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_cpp_native/src/talker.cpp", "license": "apache-2.0", "size": 2696} |
### File: demo_nodes_py/demo_nodes_py/services/add_two_ints_client.py
# Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/services/add_two_ints_client.py", "license": "apache-2.0", "size": 1386} |
### File: demo_nodes_py/demo_nodes_py/services/add_two_ints_client_async.py
# Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/services/add_two_ints_client_async.py", "license": "apache-2.0", "size": 1465} |
### File: demo_nodes_py/demo_nodes_py/services/add_two_ints_server.py
# Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/services/add_two_ints_server.py", "license": "apache-2.0", "size": 1609} |
### File: demo_nodes_py/demo_nodes_py/topics/listener.py
# Copyright 2016 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/topics/listener.py", "license": "apache-2.0", "size": 1332} |
### File: demo_nodes_py/demo_nodes_py/topics/listener_qos.py
# Copyright 2016 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/topics/listener_qos.py", "license": "apache-2.0", "size": 2566} |
### File: demo_nodes_py/demo_nodes_py/topics/listener_serialized.py
# Copyright 2018 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/topics/listener_serialized.py", "license": "apache-2.0", "size": 1731} |
### File: demo_nodes_py/demo_nodes_py/topics/talker.py
# Copyright 2016 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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/topics/talker.py", "license": "apache-2.0", "size": 1548} |
### File: demo_nodes_py/demo_nodes_py/topics/talker_qos.py
# Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/demo_nodes_py/topics/talker_qos.py", "license": "apache-2.0", "size": 2757} |
### File: demo_nodes_py/setup.py
from setuptools import find_packages
from setuptools import setup
package_name = 'demo_nodes_py'
setup(
name=package_name,
version='0.20.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/ament_index/resource_index/packages',
['resou... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "demo_nodes_py/setup.py", "license": "apache-2.0", "size": 1764} |
### File: dummy_robot/dummy_map_server/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(dummy_map_server)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_map_server/CMakeLists.txt", "license": "apache-2.0", "size": 723} |
### File: dummy_robot/dummy_map_server/src/dummy_map_server.cpp
// Copyright 2017 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_map_server/src/dummy_map_server.cpp", "license": "apache-2.0", "size": 2474} |
### File: dummy_robot/dummy_robot_bringup/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(dummy_robot_bringup)
find_package(ament_cmake REQUIRED)
install(DIRECTORY launch
DESTINATION share/${PROJECT_NAME})
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependenci... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_robot_bringup/CMakeLists.txt", "license": "apache-2.0", "size": 293} |
### File: dummy_robot/dummy_robot_bringup/launch/dummy_robot_bringup.launch.py
# Copyright 2018 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
#
# h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_robot_bringup/launch/dummy_robot_bringup.launch.py", "license": "apache-2.0", "size": 1492} |
### File: dummy_robot/dummy_sensors/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(dummy_sensors)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_sensors/CMakeLists.txt", "license": "apache-2.0", "size": 864} |
### File: dummy_robot/dummy_sensors/src/dummy_joint_states.cpp
// Copyright 2017 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_sensors/src/dummy_joint_states.cpp", "license": "apache-2.0", "size": 1810} |
### File: dummy_robot/dummy_sensors/src/dummy_laser.cpp
// Copyright 2017 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "dummy_robot/dummy_sensors/src/dummy_laser.cpp", "license": "apache-2.0", "size": 2964} |
### File: image_tools/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(image_tools)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
find_package(... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/CMakeLists.txt", "license": "apache-2.0", "size": 3066} |
### File: image_tools/include/image_tools/cv_mat_sensor_msgs_image_type_adapter.hpp
// Copyright 2021 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/include/image_tools/cv_mat_sensor_msgs_image_type_adapter.hpp", "license": "apache-2.0", "size": 9216... |
### File: image_tools/include/image_tools/visibility_control.h
// Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/include/image_tools/visibility_control.h", "license": "apache-2.0", "size": 1858} |
### File: image_tools/src/burger.cpp
// Copyright 2016 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": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/burger.cpp", "license": "apache-2.0", "size": 5155} |
### File: image_tools/src/burger.hpp
// Copyright 2016 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": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/burger.hpp", "license": "apache-2.0", "size": 7030} |
### File: image_tools/src/cam2image.cpp
// Copyright 2015 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": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/cam2image.cpp", "license": "apache-2.0", "size": 10490} |
### File: image_tools/src/cv_mat_sensor_msgs_image_type_adapter.cpp
// Copyright 2021 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/cv_mat_sensor_msgs_image_type_adapter.cpp", "license": "apache-2.0", "size": 5252} |
### File: image_tools/src/policy_maps.hpp
// 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/policy_maps.hpp", "license": "apache-2.0", "size": 1179} |
### File: image_tools/src/showimage.cpp
// Copyright 2015 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": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "image_tools/src/showimage.cpp", "license": "apache-2.0", "size": 8027} |
### File: intra_process_demo/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(intra_process_demo)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/CMakeLists.txt", "license": "apache-2.0", "size": 5125} |
### File: intra_process_demo/include/image_pipeline/camera_node.hpp
// Copyright 2015 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/include/image_pipeline/camera_node.hpp", "license": "apache-2.0", "size": 4250} |
### File: intra_process_demo/include/image_pipeline/common.hpp
// Copyright 2015 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/include/image_pipeline/common.hpp", "license": "apache-2.0", "size": 2219} |
### File: intra_process_demo/include/image_pipeline/image_view_node.hpp
// Copyright 2015 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
//
// h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/include/image_pipeline/image_view_node.hpp", "license": "apache-2.0", "size": 2963} |
### File: intra_process_demo/include/image_pipeline/watermark_node.hpp
// Copyright 2015 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/include/image_pipeline/watermark_node.hpp", "license": "apache-2.0", "size": 2885} |
### File: intra_process_demo/src/cyclic_pipeline/cyclic_pipeline.cpp
// Copyright 2015 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/cyclic_pipeline/cyclic_pipeline.cpp", "license": "apache-2.0", "size": 3466} |
### File: intra_process_demo/src/image_pipeline/camera_node.cpp
// Copyright 2015 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/image_pipeline/camera_node.cpp", "license": "apache-2.0", "size": 1063} |
### File: intra_process_demo/src/image_pipeline/image_pipeline_all_in_one.cpp
// Copyright 2015 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
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/image_pipeline/image_pipeline_all_in_one.cpp", "license": "apache-2.0", "size": 1583} |
### File: intra_process_demo/src/image_pipeline/image_pipeline_with_two_image_view.cpp
// Copyright 2015 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/image_pipeline/image_pipeline_with_two_image_view.cpp", "license": "apache-2.0", "size": 1... |
### File: intra_process_demo/src/image_pipeline/image_view_node.cpp
// Copyright 2015 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/image_pipeline/image_view_node.cpp", "license": "apache-2.0", "size": 924} |
### File: intra_process_demo/src/image_pipeline/watermark_node.cpp
// Copyright 2015 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/image_pipeline/watermark_node.cpp", "license": "apache-2.0", "size": 950} |
### File: intra_process_demo/src/two_node_pipeline/two_node_pipeline.cpp
// Copyright 2015 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "intra_process_demo/src/two_node_pipeline/two_node_pipeline.cpp", "license": "apache-2.0", "size": 3045} |
### File: lifecycle/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(lifecycle)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
find_package(amen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle/CMakeLists.txt", "license": "apache-2.0", "size": 1372} |
### File: lifecycle/launch/lifecycle_demo.launch.py
# Copyright 2018 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle/launch/lifecycle_demo.launch.py", "license": "apache-2.0", "size": 1116} |
### File: lifecycle/src/lifecycle_listener.cpp
// Copyright 2016 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle/src/lifecycle_listener.cpp", "license": "apache-2.0", "size": 2805} |
### File: lifecycle/src/lifecycle_service_client.cpp
// Copyright 2016 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.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle/src/lifecycle_service_client.cpp", "license": "apache-2.0", "size": 9671} |
### File: lifecycle/src/lifecycle_talker.cpp
// Copyright 2016 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle/src/lifecycle_talker.cpp", "license": "apache-2.0", "size": 12542} |
### File: lifecycle_py/launch/lifecycle_demo.launch.py
# Copyright 2018 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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle_py/launch/lifecycle_demo.launch.py", "license": "apache-2.0", "size": 1116} |
### File: lifecycle_py/lifecycle_py/talker.py
# Copyright 2021 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/LIC... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle_py/lifecycle_py/talker.py", "license": "apache-2.0", "size": 6075} |
### File: lifecycle_py/setup.py
from setuptools import find_packages
from setuptools import setup
package_name = 'lifecycle_py'
setup(
name=package_name,
version='0.20.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/ament_index/resource_index/packages',
['resourc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "lifecycle_py/setup.py", "license": "apache-2.0", "size": 1094} |
### File: logging_demo/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(logging_demo)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
find_packag... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/CMakeLists.txt", "license": "apache-2.0", "size": 3709} |
### File: logging_demo/include/logging_demo/logger_config_component.hpp
// Copyright 2017 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
//
// h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/include/logging_demo/logger_config_component.hpp", "license": "apache-2.0", "size": 1391} |
### File: logging_demo/include/logging_demo/logger_usage_component.hpp
// Copyright 2017 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/include/logging_demo/logger_usage_component.hpp", "license": "apache-2.0", "size": 1372} |
### File: logging_demo/include/logging_demo/visibility_control.h
// Copyright 2016 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/include/logging_demo/visibility_control.h", "license": "apache-2.0", "size": 1880} |
### File: logging_demo/src/logger_config_component.cpp
// Copyright 2017 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/src/logger_config_component.cpp", "license": "apache-2.0", "size": 2881} |
### File: logging_demo/src/logger_usage_component.cpp
// Copyright 2017 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/src/logger_usage_component.cpp", "license": "apache-2.0", "size": 3769} |
### File: logging_demo/src/logging_demo_main.cpp
// Copyright 2017 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "logging_demo/src/logging_demo_main.cpp", "license": "apache-2.0", "size": 1391} |
### File: pendulum_control/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(pendulum_control)
if(APPLE OR WIN32)
message(STATUS "The pendulum_control demo is only supported on Linux. Package will not be built.")
return()
endif()
find_package(ament_cmake REQUIRED)
# Default to C++14
if(NOT CMAKE_CXX_ST... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/CMakeLists.txt", "license": "apache-2.0", "size": 4462} |
### File: pendulum_control/include/pendulum_control/pendulum_controller.hpp
// Copyright 2015 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/include/pendulum_control/pendulum_controller.hpp", "license": "apache-2.0", "size": 5515} |
### File: pendulum_control/include/pendulum_control/pendulum_motor.hpp
// Copyright 2015 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/include/pendulum_control/pendulum_motor.hpp", "license": "apache-2.0", "size": 7356} |
### File: pendulum_control/include/pendulum_control/rtt_executor.hpp
// Copyright 2015 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/include/pendulum_control/rtt_executor.hpp", "license": "apache-2.0", "size": 4925} |
### File: pendulum_control/scripts/pendulum_launch.bash
#!/usr/bin/env bash
pendulum_logger &
logger_pid=$!
# run pendulum demo indefinitely
pendulum_demo -i 0 &
demo_pid=$!
# Initialize system stress
stress -c 2 -i 2 --timeout 18000000000 &
stress_pid=$!
for i in {1..100}; do
sleep 3m
pendulum_teleop $i
done
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/scripts/pendulum_launch.bash", "license": "apache-2.0", "size": 343} |
### File: pendulum_control/src/pendulum_demo.cpp
// Copyright 2015 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/src/pendulum_demo.cpp", "license": "apache-2.0", "size": 11475} |
### File: pendulum_control/src/pendulum_logger.cpp
// Copyright 2015 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/src/pendulum_logger.cpp", "license": "apache-2.0", "size": 2645} |
### File: pendulum_control/src/pendulum_teleop.cpp
// Copyright 2015 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/src/pendulum_teleop.cpp", "license": "apache-2.0", "size": 1801} |
### File: pendulum_control/test/execute_with_delay.py
# Copyright 2015 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_control/test/execute_with_delay.py", "license": "apache-2.0", "size": 1303} |
### File: pendulum_msgs/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(pendulum_msgs)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
find_pack... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_msgs/CMakeLists.txt", "license": "apache-2.0", "size": 567} |
### File: pendulum_msgs/msg/JointCommand.msg
float64 position
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_msgs/msg/JointCommand.msg", "license": "apache-2.0", "size": 17} |
### File: pendulum_msgs/msg/JointState.msg
float64 position
float64 velocity
float64 effort
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_msgs/msg/JointState.msg", "license": "apache-2.0", "size": 49} |
### File: pendulum_msgs/msg/RttestResults.msg
builtin_interfaces/Time stamp
JointCommand command
JointState state
uint64 cur_latency
float64 mean_latency
uint64 min_latency
uint64 max_latency
uint64 minor_pagefaults
uint64 major_pagefaults
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/ros2-demos", "path": "pendulum_msgs/msg/RttestResults.msg", "license": "apache-2.0", "size": 198} |
### File: quality_of_service_demo/rclcpp/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(quality_of_service_demo_cpp)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/CMakeLists.txt", "license": "apache-2.0", "size": 2716} |
### File: quality_of_service_demo/rclcpp/include/quality_of_service_demo/common_nodes.hpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/include/quality_of_service_demo/common_nodes.hpp", "license": "apache-2.0", "size"... |
### File: quality_of_service_demo/rclcpp/include/quality_of_service_demo/visibility_control.h
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/include/quality_of_service_demo/visibility_control.h", "license": "apache-2.0", "siz... |
### File: quality_of_service_demo/rclcpp/src/common_nodes.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 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/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/common_nodes.cpp", "license": "apache-2.0", "size": 4090} |
### File: quality_of_service_demo/rclcpp/src/deadline.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 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/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/deadline.cpp", "license": "apache-2.0", "size": 4277} |
### File: quality_of_service_demo/rclcpp/src/incompatible_qos.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 the License a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/incompatible_qos.cpp", "license": "apache-2.0", "size": 6151} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.