Template Function beluga_ros::stamp_message(std::string_view, detail::Time, Message&)

Function Documentation

template<class Message>
Message &beluga_ros::stamp_message(std::string_view frame_id, detail::Time timestamp, Message &message)

Stamp a message with a frame ID and timestamp.

Parameters:
  • frame_id – Frame ID to stamp the message with.

  • timestamp – Time to stamp the message at.

  • message[out] Message to be stamped.

Template Parameters:

Message – A message type with a header.