Fixposition SDK 0.0.0-heads/main-0-g97f6014
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::ros2::ros1 Namespace Reference

ROS2 types conversion from ROS1. More...

Functions

template<typename Ros1MsgT, typename Ros2MsgT>
void Ros1ToRos2 (Ros1MsgT &ros1, Ros2MsgT &ros2)
 Convert ROS1 message to ROS2 message.

Detailed Description

ROS2 types conversion from ROS1.

Function Documentation

◆ Ros1ToRos2()

template<typename Ros1MsgT, typename Ros2MsgT>
void fpsdk::ros2::ros1::Ros1ToRos2 ( Ros1MsgT & ros1,
Ros2MsgT & ros2 )

Convert ROS1 message to ROS2 message.

Several conversions in this form are implemented. See the source code for details.

Template Parameters
Ros1MsgTROS1 message type
Ros2MsgTROS2 message type
Parameters
[in]ros1ROS1 message
[out]ros2ROS2 message