Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awesomebytes/rclcppyy
/ functions
Functions
181 in github.com/awesomebytes/rclcppyy
⨍
Functions
181
◇
Types & classes
30
↓ 16 callers
Function
bringup_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 callers
Function
_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 callers
Method
open
(self, storage_options: StorageOptions, converter_options: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:195
↓ 12 callers
Method
spin
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:88
↓ 8 callers
Function
bringup_rosbag2_cpp
Ensure rosbag2_cpp C++ symbols are available through cppyy. Returns the cppyy.gbl.rosbag2_cpp namespace.
rclcppyy/rosbag2_cpp.py:152
↓ 7 callers
Function
_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 callers
Method
create_publisher
(self, msg_type: Any, topic: str,
rclcppyy/node.py:167
↓ 7 callers
Method
create_subscription
Create a subscription using the C++ rclcpp subscription.
rclcppyy/node.py:327
↓ 7 callers
Method
get_all_topics_and_types
(self)
rclcppyy/rosbag2_py_compat.py:226
↓ 6 callers
Method
create_topic
(self, topic_metadata: Any)
rclcppyy/rosbag2_py_compat.py:260
↓ 6 callers
Method
read_next
(self)
rclcppyy/rosbag2_py_compat.py:222
↓ 6 callers
Method
write
(self, topic_name: str, message: Any, recv_timestamp: int, send_timestamp: Optional[int] = None)
rclcppyy/rosbag2_py_compat.py:276
↓ 5 callers
Method
create_timer
Create a timer using the C++ rclcpp timer.
rclcppyy/node.py:298
↓ 5 callers
Method
has_next
(self)
rclcppyy/rosbag2_py_compat.py:206
↓ 3 callers
Function
enable_kwargs_for_cpp_msg
Enable keyword arguments for C++ message constructors
rclcppyy/node.py:448
↓ 3 callers
Method
open
(self, storage_options: StorageOptions, converter_options: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:252
↓ 2 callers
Method
_convert_qos_to_rclcpp
Convert a rclpy QoSProfile to a rclcpp QoS.
rclcppyy/node.py:120
↓ 2 callers
Function
_ensure_serialization_helpers
()
rclcppyy/serialization.py:77
↓ 2 callers
Function
_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 callers
Function
_glob_and_load
(lib_dir: str, patterns: List[str])
rclcppyy/rosbag2_cpp.py:47
↓ 2 callers
Function
_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 callers
Function
_load_library_once
(so_path: str)
rclcppyy/rosbag2_cpp.py:29
↓ 2 callers
Function
_to_cxx_converter_options
(py_opt: ConverterOptions)
rclcppyy/rosbag2_py_compat.py:164
↓ 2 callers
Function
_to_cxx_storage_options
(py_opt: StorageOptions)
rclcppyy/rosbag2_py_compat.py:146
↓ 2 callers
Function
_to_cxx_topic_metadata
(py_md: TopicMetadata)
rclcppyy/rosbag2_py_compat.py:171
↓ 2 callers
Method
_validate_qos_or_depth_parameter
Validate a QoS profile or convert a history depth to a QoSProfile.
rclcppyy/node.py:431
↓ 2 callers
Method
_validate_topic_or_service_name
Validate a topic or service name.
rclcppyy/node.py:425
↓ 2 callers
Method
_wake_executor
Wake the executor if one exists.
rclcppyy/node.py:441
↓ 2 callers
Function
add_python_compatibility
Add Python message methods to C++ message class for compatibility
rclcppyy/monkeypatch_messages.py:41
↓ 2 callers
Function
deserialize_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 callers
Function
enable_kwargs_for_cpp_msg
Enable keyword arguments for C++ message constructors
rclcppyy/monkeypatch_messages.py:22
↓ 2 callers
Function
force_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 callers
Function
force_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 callers
Function
get_ros2_include_path
()
rclcppyy/bringup_rclcpp.py:10
↓ 2 callers
Function
serialize_message
Serialize a C++ message (cppyy instance) into rclcpp::SerializedMessage.
rclcppyy/serialization.py:46
↓ 1 callers
Function
_add_minimal_include_paths
()
rclcppyy/rosbag2_cpp.py:144
↓ 1 callers
Method
_convert_msg_to_cpp
Convert a rclpy message to a rclcpp message, recursively iterating over the message fields
rclcppyy/node.py:255
↓ 1 callers
Function
_ensure_helpers
()
rclcppyy/rosbag2_py_compat.py:25
↓ 1 callers
Function
_find_workspace_root
(start: Path)
roscon_uk_2025/presentation/3_cloudini_cli.py:11
↓ 1 callers
Function
_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 callers
Function
_setup_cppyy
(ws_root: Path)
roscon_uk_2025/presentation/3_cloudini_cli.py:20
↓ 1 callers
Function
_try_load_library_candidates
(lib_basenames)
scripts/bag2bag_cppyy_purecpp.py:13
↓ 1 callers
Function
adapt_get_logger_to_python
Adapt the rclcpp get_logger method so it can be called the python way.
rclcppyy/bringup_rclcpp.py:326
↓ 1 callers
Function
adapt_rclcpp_to_python
Adapt the rclcpp namespace to be more Pythonic.
rclcppyy/bringup_rclcpp.py:242
↓ 1 callers
Function
add_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 callers
Function
add_ros2_include_paths
()
rclcppyy/bringup_rclcpp.py:18
↓ 1 callers
Method
close
(self)
rclcppyy/rosbag2_py_compat.py:203
↓ 1 callers
Function
convert_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 callers
Function
create_topic
Create a topic on a C++ rosbag2_cpp::Writer.
rclcppyy/rosbag2_cpp.py:264
↓ 1 callers
Function
explore_known_rclcpp_classes
Force discovery of commonly known rclcpp classes to trigger their loading.
rclcppyy/bringup_rclcpp.py:122
↓ 1 callers
Method
get_count
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:85
↓ 1 callers
Method
get_elapsed_seconds
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:81
↓ 1 callers
Function
get_image_from_disk
(path)
scripts/big_messages_demos/demo_images.py:16
↓ 1 callers
Function
get_path_of_this_file
()
scripts/big_messages_demos/demo_images.py:12
↓ 1 callers
Function
install_ros_message_hook
Install the import hook if not already installed
rclcppyy/monkeypatch_messages.py:172
↓ 1 callers
Function
main
()
roscon_uk_2025/presentation/1_pointcloud_passthrough.py:25
↓ 1 callers
Function
main
()
scripts/bench_rosbag2_cpp_vs_py.py:115
↓ 1 callers
Function
main
()
scripts/bag2bag_cppyy_purecpp.py:43
↓ 1 callers
Function
main
()
scripts/bag2bag_py_images.py:43
↓ 1 callers
Function
main
()
scripts/bag2bag_cppyy_hybrid.py:75
↓ 1 callers
Function
main
()
scripts/bench_rosbag2_py_apis.py:108
↓ 1 callers
Function
main
()
scripts/big_messages_demos/images_sub.py:41
↓ 1 callers
Function
main
(args=None)
scripts/ros_tutorials/publisher_member_function.py:45
↓ 1 callers
Function
main
()
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:118
↓ 1 callers
Function
main
(args=None)
scripts/benchmarks/bench_sub_rclcppyy_monkeypatch2.py:62
↓ 1 callers
Function
main
(args=None)
scripts/benchmarks/bench_pub_rclcppyy_monkeypatch.py:39
↓ 1 callers
Function
main
(args=None)
scripts/benchmarks/bench_pub_rclpy.py:39
↓ 1 callers
Function
main
()
scripts/benchmarks/bench_pub_rclcppyy.py:104
↓ 1 callers
Function
main
(args=None)
scripts/benchmarks/bench_sub_rclpy.py:62
↓ 1 callers
Function
main
()
scripts/benchmarks/bench_sub_rclcppyy.py:120
↓ 1 callers
Function
patch_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 callers
Function
patch_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 callers
Function
prepare
()
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:10
↓ 1 callers
Method
print_stats
(self)
scripts/benchmarks/bench_pub_rclcppyy.py:71
↓ 1 callers
Function
rclpy_init
(args: Optional[List[str]] = None, *, context=None)
rclcppyy/bringup_rclcpp.py:247
↓ 1 callers
Function
recursive_symbol_discovery
Recursively discover symbols in nested namespaces.
scripts/create_stubs.py:60
↓ 1 callers
Function
recursive_symbol_discovery
Recursively discover symbols in nested namespaces.
rclcppyy/bringup_rclcpp.py:79
↓ 1 callers
Function
run_cxx_api
(args: Args, out_dir: str)
scripts/bench_rosbag2_py_apis.py:69
↓ 1 callers
Function
run_cxx_copy
(args: Args)
scripts/bench_rosbag2_cpp_vs_py.py:79
↓ 1 callers
Function
run_py_api
(args: Args, out_dir: str)
scripts/bench_rosbag2_py_apis.py:30
↓ 1 callers
Function
run_python_copy
(args: Args)
scripts/bench_rosbag2_cpp_vs_py.py:36
↓ 1 callers
Function
run_voxelgrid
Run the voxelgrid downsampling node.
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:75
↓ 1 callers
Function
setup_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 callers
Method
spin
(self)
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:100
↓ 1 callers
Method
spin
(self)
scripts/benchmarks/bench_sub_rclcppyy.py:102
↓ 1 callers
Function
test_cpp_strings
(s)
roscon_uk_2025/presentation/5_hypothesis_test.py:19
↓ 1 callers
Function
test_integers
(n)
roscon_uk_2025/presentation/5_hypothesis_test.py:26
↓ 1 callers
Function
to_gray_cppyy
(img)
scripts/bag2bag_cppyy_hybrid.py:53
↓ 1 callers
Function
to_gray_python
(img)
scripts/bag2bag_py_images.py:25
↓ 1 callers
Function
voxelgrid_downsample_msg
(msg: PointCloud2, leaf=0.1, leaf_y=None, leaf_z=None)
roscon_uk_2025/presentation/2_pointcloud_voxelgrid.py:50
↓ 1 callers
Method
warmup
Basic warmup to prepare timing operations.
scripts/benchmarks/bench_sub_rclcppyy_monkeypatched.py:43
↓ 1 callers
Method
warmup
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 callers
Function
warmup_cppyy
()
scripts/bench_rosbag2_cpp_vs_py.py:25
↓ 1 callers
Function
warmup_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