This file contains helper functions for ROS implementation of OpcUa client. More...
#include "ros_opcua_msgs/Address.h"#include "ros_opcua_msgs/TypeValue.h"#include <opc/ua/node.h>#include <opc/ua/protocol/string_utils.h>

Go to the source code of this file.
Functions | |
| OpcUa::Variant | convertTypeValueToVariant (ros_opcua_msgs::TypeValue &typeValue) |
| ros_opcua_msgs::TypeValue | convertVariantToTypeValue (const OpcUa::Variant &variant) |
Variables | |
| std::map< int, std::string > | _TypeToStringMap |
| Remapping between ROS types and OpenOpcUa types. More... | |
This file contains helper functions for ROS implementation of OpcUa client.
This file is part of SkillPro-Framework.
SkillPro-Framework is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SkillPro-Framework is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with SkillPro-Framework. If not, see <http://www.gnu.org/licenses/>.Definition in file opcua_helpers.h.
| OpcUa::Variant convertTypeValueToVariant | ( | ros_opcua_msgs::TypeValue & | typeValue | ) |
This function converts ros_opcua_msgs::TypeValue data type into OpcUa::Variant data type.
| typeValue | TypeValue to be converted |
Definition at line 194 of file opcua_helpers.h.
| ros_opcua_msgs::TypeValue convertVariantToTypeValue | ( | const OpcUa::Variant & | variant | ) |
This function converts between ros_opcua_msgs::Address data type into OpcUa::NodeID data type.
| address | address to convert. |
| nodeID | nodeId to convert. |
| variant | Variant to be converted. |
Definition at line 140 of file opcua_helpers.h.
| std::map<int, std::string> _TypeToStringMap |
Remapping between ROS types and OpenOpcUa types.
Commented values are not used in current implementation, there don't exist remapping to ROS.
Definition at line 31 of file opcua_helpers.h.