Functions | Variables
magical_ros2_conversion_tool.cplusplus Namespace Reference

Functions

def get_full_msg_dependencies_from_source (package)
 
def get_generator_based_replacements (package)
 
def get_logger_replacements (package)
 
def make_include_pattern (s)
 
def update_cplusplus (package)
 

Variables

dictionary CPP_CODE_REPLACEMENTS
 
dictionary FIRST_PASS
 
dictionary LOGGERS
 
string ROS2_INCLUDE_PATTERN = '#include <%s/%s/%s.hpp>'
 

Function Documentation

def magical_ros2_conversion_tool.cplusplus.get_full_msg_dependencies_from_source (   package)

Definition at line 65 of file cplusplus.py.

def magical_ros2_conversion_tool.cplusplus.get_generator_based_replacements (   package)

Definition at line 75 of file cplusplus.py.

def magical_ros2_conversion_tool.cplusplus.get_logger_replacements (   package)

Definition at line 99 of file cplusplus.py.

def magical_ros2_conversion_tool.cplusplus.make_include_pattern (   s)

Definition at line 17 of file cplusplus.py.

def magical_ros2_conversion_tool.cplusplus.update_cplusplus (   package)

Definition at line 109 of file cplusplus.py.

Variable Documentation

dictionary magical_ros2_conversion_tool.cplusplus.CPP_CODE_REPLACEMENTS

Definition at line 26 of file cplusplus.py.

dictionary magical_ros2_conversion_tool.cplusplus.FIRST_PASS
Initial value:
1 = {
2  r'( *)ros::init\(argc, argv, "([^"]*)"\);(\s+)ros::NodeHandle (\w+);':
3  '$0rclcpp::init(argc, argv);$2auto $3 = rclcpp::Node::make_shared("$1");'
4 }

Definition at line 21 of file cplusplus.py.

dictionary magical_ros2_conversion_tool.cplusplus.LOGGERS
Initial value:
1 = {
2  'ROS_DEBUG': 'RCLCPP_DEBUG',
3  'ROS_INFO': 'RCLCPP_INFO',
4  'ROS_ERROR': 'RCLCPP_ERROR',
5  'ROS_WARN': 'RCLCPP_WARN'
6 }

Definition at line 9 of file cplusplus.py.

string magical_ros2_conversion_tool.cplusplus.ROS2_INCLUDE_PATTERN = '#include <%s/%s/%s.hpp>'

Definition at line 7 of file cplusplus.py.



magical_ros2_conversion_tool
Author(s):
autogenerated on Wed Mar 3 2021 03:56:02