fix clock topic name

This commit is contained in:
LuisPoveda 2023-11-07 11:08:05 +01:00 committed by bernat
parent b6e16802f2
commit 4ee75c4bc0
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace rosgraph {
namespace msg {
ClockPubSubType::ClockPubSubType()
{
setName("rosgraph::msg::dds_::Clock_");
setName("rosgraph_msgs::msg::dds_::Clock_");
auto type_size = Clock::getMaxCdrSerializedSize();
type_size += eprosima::fastcdr::Cdr::alignment(type_size, 4); /* possible submessage alignment */
m_typeSize = static_cast<uint32_t>(type_size) + 4; /*encapsulation*/