13#ifndef __FPSDK_COMMON_TO_JSON_FPL_ROS1_HPP__
14#define __FPSDK_COMMON_TO_JSON_FPL_ROS1_HPP__
19#include <nlohmann/json.hpp>
31template <
typename RosMsgT>
32inline bool RosMsgToJson(
const RosMsgDef& def,
const RosMsgBin& bin, nlohmann::json& json)
34 if (def.msg_name_ == ros::message_traits::datatype<RosMsgT>()) {
Fixposition SDK: .fpl utilities.
Fixposition SDK: ROS1 types and utils.
Fixposition SDK: to_json() helpers for some ROS1 types.
void DeserializeMessage(const std::vector< uint8_t > &buf, RosMsgT &msg)
Deserialise ROS1 message.
Fixposition SDK: String utilities.
Helper for extracting a serialised ROS message.
Helper for extracting ROS message definition (the relevant fields from the "connection header")