Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Utility class for handling ROS2 naming rules. More...
Functions | |
AZStd::string | GetNamespacedName (const AZStd::string &ns, const AZStd::string &name) |
Joins namespace and the given name. | |
AZStd::string | RosifyName (const AZStd::string &input) |
AZ::Outcome< void, AZStd::string > | ValidateNamespace (const AZStd::string &ros2Namespace) |
Validate namespace adherence to ROS2 specification. Delegates validation to ROS2 layers. | |
AZ::Outcome< void, AZStd::string > | ValidateNamespaceField (void *newValue, const AZ::Uuid &valueType) |
Validate namespace field. Fits ChangeValidate for Editor fields. | |
AZ::Outcome< void, AZStd::string > | ValidateTopic (const AZStd::string &topic) |
Validate topic adherence to ROS2 specification. | |
AZ::Outcome< void, AZStd::string > | ValidateTopicField (void *newValue, const AZ::Uuid &valueType) |
Validate topic field. Fits ChangeValidate for Editor fields. | |
Utility class for handling ROS2 naming rules.
AZStd::string ROS2::ROS2Names::RosifyName | ( | const AZStd::string & | input | ) |
Converts input to a ROS2-acceptable name for topics and namespaces. Any characters not fitting ROS2 naming specification are replaced with underscores.