MCPcopy Create free account

hub / github.com/awesomebytes/rclcppyy / functions

Functions181 in github.com/awesomebytes/rclcppyy

↓ 16 callersFunctionbringup_rclcpp
Bring up the rclcpp library. This function should be called before using any rclcpp classes. It adds the necessary include paths and load
rclcppyy/bringup_rclcpp.py:342
↓ 14 callersFunction_resolve_message_type
Resolve message type to C++ type string and cppyy type object. Args: message_type: Can be: - Python ROS message clas
rclcppyy/bringup_rclcpp.py:173
↓ 12 callersMethodopen
(self, storage_options: StorageOptions, converter_options: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:195
↓ 12 callersMethodspin
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:88
↓ 8 callersFunctionbringup_rosbag2_cpp
Ensure rosbag2_cpp C++ symbols are available through cppyy. Returns the cppyy.gbl.rosbag2_cpp namespace.
rclcppyy/rosbag2_cpp.py:152
↓ 7 callersFunction_is_msg_python
Check if the message type is a Python ROS message class. Fast check using __slots__ attribute that cppyy messages don't have.
rclcppyy/bringup_rclcpp.py:163
↓ 7 callersMethodcreate_publisher
(self, msg_type: Any, topic: str,
rclcppyy/node.py:167
↓ 7 callersMethodcreate_subscription
Create a subscription using the C++ rclcpp subscription.
rclcppyy/node.py:327
↓ 7 callersMethodget_all_topics_and_types
(self)
rclcppyy/rosbag2_py_compat.py:226
↓ 6 callersMethodcreate_topic
(self, topic_metadata: Any)
rclcppyy/rosbag2_py_compat.py:260
↓ 6 callersMethodread_next
(self)
rclcppyy/rosbag2_py_compat.py:222
↓ 6 callersMethodwrite
(self, topic_name: str, message: Any, recv_timestamp: int, send_timestamp: Optional[int] = None)
rclcppyy/rosbag2_py_compat.py:276
↓ 5 callersMethodcreate_timer
Create a timer using the C++ rclcpp timer.
rclcppyy/node.py:298
↓ 5 callersMethodhas_next
(self)
rclcppyy/rosbag2_py_compat.py:206
↓ 3 callersFunctionenable_kwargs_for_cpp_msg
Enable keyword arguments for C++ message constructors
rclcppyy/node.py:448
↓ 3 callersMethodopen
(self, storage_options: StorageOptions, converter_options: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:252
↓ 2 callersMethod_convert_qos_to_rclcpp
Convert a rclpy QoSProfile to a rclcpp QoS.
rclcppyy/node.py:120
↓ 2 callersFunction_ensure_serialization_helpers
()
rclcppyy/serialization.py:77
↓ 2 callersFunction_ensure_storage_plugin_loaded
Best-effort load of the storage plugin matching the given storage_id (e.g., 'mcap', 'sqlite3'). Scans package lib directories for likely plug
rclcppyy/rosbag2_cpp.py:116
↓ 2 callersFunction_glob_and_load
(lib_dir: str, patterns: List[str])
rclcppyy/rosbag2_cpp.py:47
↓ 2 callersFunction_is_msg_cpp
Check if the message type is a C++ cppyy message class. Fast check using unique cppyy attributes.
rclcppyy/bringup_rclcpp.py:154
↓ 2 callersFunction_load_library_once
(so_path: str)
rclcppyy/rosbag2_cpp.py:29
↓ 2 callersFunction_to_cxx_converter_options
(py_opt: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:164
↓ 2 callersFunction_to_cxx_storage_options
(py_opt: StorageOptions)
rclcppyy/rosbag2_py_compat.py:146
↓ 2 callersFunction_to_cxx_topic_metadata
(py_md: TopicMetadata)
rclcppyy/rosbag2_py_compat.py:171
↓ 2 callersMethod_validate_qos_or_depth_parameter
Validate a QoS profile or convert a history depth to a QoSProfile.
rclcppyy/node.py:431
↓ 2 callersMethod_validate_topic_or_service_name
Validate a topic or service name.
rclcppyy/node.py:425
↓ 2 callersMethod_wake_executor
Wake the executor if one exists.
rclcppyy/node.py:441
↓ 2 callersFunctionadd_python_compatibility
Add Python message methods to C++ message class for compatibility
rclcppyy/monkeypatch_messages.py:41
↓ 2 callersFunctiondeserialize_message
Deserialize rclcpp::SerializedMessage into a cppyy C++ message instance. Accepts a Python msg class or cppyy class to identify T.
rclcppyy/serialization.py:60
↓ 2 callersFunctionenable_kwargs_for_cpp_msg
Enable keyword arguments for C++ message constructors
rclcppyy/monkeypatch_messages.py:22
↓ 2 callersFunctionforce_symbol_discovery
Force discovery of all symbols in a cppyy namespace by accessing them. Returns a dictionary of discovered symbols and their types.
scripts/create_stubs.py:14
↓ 2 callersFunctionforce_symbol_discovery
Force discovery of all symbols in a cppyy namespace by accessing them. Returns a dictionary of discovered symbols and their types.
rclcppyy/bringup_rclcpp.py:33
↓ 2 callersFunctionget_ros2_include_path
()
rclcppyy/bringup_rclcpp.py:10
↓ 2 callersFunctionserialize_message
Serialize a C++ message (cppyy instance) into rclcpp::SerializedMessage.
rclcppyy/serialization.py:46
↓ 1 callersFunction_add_minimal_include_paths
()
rclcppyy/rosbag2_cpp.py:144
↓ 1 callersMethod_convert_msg_to_cpp
Convert a rclpy message to a rclcpp message, recursively iterating over the message fields
rclcppyy/node.py:255
↓ 1 callersFunction_ensure_helpers
()
rclcppyy/rosbag2_py_compat.py:25
↓ 1 callersFunction_find_workspace_root
(start: Path)
roscon_uk_2025/presentation/3_cloudini_cli.py:11
↓ 1 callersFunction_preload_rosbag2_libraries
Load core rosbag2 and dependency libraries from their package prefixes, in a stable order, avoiding wide scans across all prefixes.
rclcppyy/rosbag2_cpp.py:57
↓ 1 callersFunction_setup_cppyy
(ws_root: Path)
roscon_uk_2025/presentation/3_cloudini_cli.py:20
↓ 1 callersFunction_try_load_library_candidates
(lib_basenames)
scripts/bag2bag_cppyy_purecpp.py:13
↓ 1 callersFunctionadapt_get_logger_to_python
Adapt the rclcpp get_logger method so it can be called the python way.
rclcppyy/bringup_rclcpp.py:326
↓ 1 callersFunctionadapt_rclcpp_to_python
Adapt the rclcpp namespace to be more Pythonic.
rclcppyy/bringup_rclcpp.py:242
↓ 1 callersFunctionadd_python_msg_sugar_to_cpp_msg
Python messages pretty print and also you can check the fields and field types, so lets forward that to the C++ messages
rclcppyy/node.py:465
↓ 1 callersFunctionadd_ros2_include_paths
()
rclcppyy/bringup_rclcpp.py:18
↓ 1 callersMethodclose
(self)
rclcppyy/rosbag2_py_compat.py:203
↓ 1 callersFunctionconvert_already_imported_python_msgs_to_cpp
Convert all Python ROS messages in globals() to their C++ equivalents with keyword support. Args: target_globals: The globals di
rclcppyy/monkeypatch_messages.py:119
↓ 1 callersFunctioncreate_topic
Create a topic on a C++ rosbag2_cpp::Writer.
rclcppyy/rosbag2_cpp.py:264
↓ 1 callersFunctionexplore_known_rclcpp_classes
Force discovery of commonly known rclcpp classes to trigger their loading.
rclcppyy/bringup_rclcpp.py:122
↓ 1 callersMethodget_count
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:85
↓ 1 callersMethodget_elapsed_seconds
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:81
↓ 1 callersFunctionget_image_from_disk
(path)
scripts/big_messages_demos/demo_images.py:16
↓ 1 callersFunctionget_path_of_this_file
()
scripts/big_messages_demos/demo_images.py:12
↓ 1 callersFunctioninstall_ros_message_hook
Install the import hook if not already installed
rclcppyy/monkeypatch_messages.py:172
↓ 1 callersFunctionmain
()
roscon_uk_2025/presentation/1_pointcloud_passthrough.py:25
↓ 1 callersFunctionmain
()
scripts/bench_rosbag2_cpp_vs_py.py:115
↓ 1 callersFunctionmain
()
scripts/bag2bag_cppyy_purecpp.py:43
↓ 1 callersFunctionmain
()
scripts/bag2bag_py_images.py:43
↓ 1 callersFunctionmain
()
scripts/bag2bag_cppyy_hybrid.py:75
↓ 1 callersFunctionmain
()
scripts/bench_rosbag2_py_apis.py:108
↓ 1 callersFunctionmain
()
scripts/big_messages_demos/images_sub.py:41
↓ 1 callersFunctionmain
(args=None)
scripts/ros_tutorials/publisher_member_function.py:45
↓ 1 callersFunctionmain
()
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:118
↓ 1 callersFunctionmain
(args=None)
scripts/benchmarks/bench_sub_rclcppyy_monkeypatch2.py:62
↓ 1 callersFunctionmain
(args=None)
scripts/benchmarks/bench_pub_rclcppyy_monkeypatch.py:39
↓ 1 callersFunctionmain
(args=None)
scripts/benchmarks/bench_pub_rclpy.py:39
↓ 1 callersFunctionmain
()
scripts/benchmarks/bench_pub_rclcppyy.py:104
↓ 1 callersFunctionmain
(args=None)
scripts/benchmarks/bench_sub_rclpy.py:62
↓ 1 callersFunctionmain
()
scripts/benchmarks/bench_sub_rclcppyy.py:120
↓ 1 callersFunctionpatch_node_class
Monkey-patch the Node class so that any direct instantiations of rclpy.node.Node get our RclcppyyNode instead.
rclcppyy/monkey.py:67
↓ 1 callersFunctionpatch_ros2
Monkey-patch ROS2 Python API to use C++ implementations. This makes existing Python ROS2 code use C++ under the hood.
rclcppyy/monkey.py:16
↓ 1 callersFunctionprepare
()
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:10
↓ 1 callersMethodprint_stats
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:71
↓ 1 callersFunctionrclpy_init
(args: Optional[List[str]] = None, *, context=None)
rclcppyy/bringup_rclcpp.py:247
↓ 1 callersFunctionrecursive_symbol_discovery
Recursively discover symbols in nested namespaces.
scripts/create_stubs.py:60
↓ 1 callersFunctionrecursive_symbol_discovery
Recursively discover symbols in nested namespaces.
rclcppyy/bringup_rclcpp.py:79
↓ 1 callersFunctionrun_cxx_api
(args: Args, out_dir: str)
scripts/bench_rosbag2_py_apis.py:69
↓ 1 callersFunctionrun_cxx_copy
(args: Args)
scripts/bench_rosbag2_cpp_vs_py.py:79
↓ 1 callersFunctionrun_py_api
(args: Args, out_dir: str)
scripts/bench_rosbag2_py_apis.py:30
↓ 1 callersFunctionrun_python_copy
(args: Args)
scripts/bench_rosbag2_cpp_vs_py.py:36
↓ 1 callersFunctionrun_voxelgrid
Run the voxelgrid downsampling node.
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:75
↓ 1 callersFunctionsetup_automatic_cpp_conversion
Set up automatic conversion of Python ROS messages to C++ equivalents. This sets up an import hook that will automatically convert messages d
rclcppyy/node.py:531
↓ 1 callersMethodspin
(self)
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:100
↓ 1 callersMethodspin
(self)
scripts/benchmarks/bench_sub_rclcppyy.py:102
↓ 1 callersFunctiontest_cpp_strings
(s)
roscon_uk_2025/presentation/5_hypothesis_test.py:19
↓ 1 callersFunctiontest_integers
(n)
roscon_uk_2025/presentation/5_hypothesis_test.py:26
↓ 1 callersFunctionto_gray_cppyy
(img)
scripts/bag2bag_cppyy_hybrid.py:53
↓ 1 callersFunctionto_gray_python
(img)
scripts/bag2bag_py_images.py:25
↓ 1 callersFunctionvoxelgrid_downsample_msg
(msg: PointCloud2, leaf=0.1, leaf_y=None, leaf_z=None)
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:50
↓ 1 callersMethodwarmup
Basic warmup to prepare timing operations.
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:43
↓ 1 callersMethodwarmup
These two operations imply a JIT compilation of the code. This is a warmup to avoid the first call being slower and dropping some mes
scripts/benchmarks/bench_sub_rclcppyy.py:55
↓ 1 callersFunctionwarmup_cppyy
()
scripts/bench_rosbag2_cpp_vs_py.py:25
↓ 1 callersFunctionwarmup_rclcpp_symbols
Warm up all rclcpp symbols for better autocomplete experience in IPython. This function will access all available symbols to ensure they are
scripts/create_stubs.py:165
Method__init__
(self, topic_in: str, topic_out: str, leaf: float = 0.25)
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:58
Method__init__
(self)
roscon_uk_2025/presentation/1_pointcloud_passthrough.py:9
Method__init__
(self)
scripts/big_messages_demos/images_sub.py:9
Method__init__
(self)
scripts/big_messages_demos/demo_images.py:48
Method__init__
(self)
scripts/ros_tutorials/publisher_member_function.py:30
Method__init__
(self)
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:15
next →1–100 of 181, ranked by callers