Fixposition SDK 0.0.0-heads/main-0-g75e6614
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
ros2.hpp File Reference

Fixposition SDK: ROS2 types and utils. More...

#include <cstdint>
#include <string>
#include <rclcpp/rclcpp.hpp>
#include <rosbag2_cpp/writer.hpp>
#include <rosbag2_storage/storage_options.hpp>
#include <nav_msgs/msg/odometry.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <sensor_msgs/msg/imu.hpp>
#include <sensor_msgs/msg/temperature.hpp>
#include <std_msgs/msg/byte_multi_array.hpp>
#include <tf2_msgs/msg/tf_message.hpp>
#include "fpsdk_common/ros1.hpp"
#include "fpsdk_common/time.hpp"
Include dependency graph for ros2.hpp:

Go to the source code of this file.

Classes

class  fpsdk::common::ros2::BagWriter
 ROS2 bag writer helper. More...

Namespaces

namespace  fpsdk
 Fixposition SDK.
namespace  fpsdk::common
 Fixposition SDK: Common library.
namespace  fpsdk::common::ros2
 ROS2 types and utils.

Functions

void fpsdk::common::ros2::RedirectLoggingToRosConsole (const char *logger_name="fpsdk_common")
 Redirect fp:common::logging to ROS console.
rclcpp::Time fpsdk::common::ros2::ConvTime (const fpsdk::common::time::Time &time, rcl_clock_type_t clock_type=RCL_ROS_TIME)
 Convert to ROS time (atomic -> POSIX).
fpsdk::common::time::Time fpsdk::common::ros2::ConvTime (const rclcpp::Time &time)
 Convert from ROS time (POSIX -> atomic).
template<typename Ros1MsgT, typename Ros2MsgT>
void fpsdk::common::ros2::Ros1ToRos2 (Ros1MsgT &ros1, Ros2MsgT &ros2)
 Convert ROS1 message to ROS2 message.

Detailed Description

Fixposition SDK: ROS2 types and utils.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG (www.fixposition.com) and contributors
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
* 

Definition in file ros2.hpp.