Skip to content

Commit c9a4ad5

Browse files
committed
[hrpsys_ros_bridge/HrpsysSeqStateROSBridgeImpl.cpp]fix cop_link_info
1 parent 0beacf4 commit c9a4ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hrpsys_ros_bridge/src/HrpsysSeqStateROSBridgeImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ RTC::ReturnCode_t HrpsysSeqStateROSBridgeImpl::onInitialize()
344344
}
345345
// Set cop_link_info
346346
COPLinkInfo ci;
347-
ci.link_name = sensor_info[sensor_name].link_name; // Link name for tf frame
347+
ci.link_name = ee_name + "_end_coords"; // Link name for tf frame
348348
ci.cop_offset_z = eep(2);
349349
cop_link_info.insert(std::pair<std::string, COPLinkInfo>(sensor_name, ci));
350350
std::cerr << "[" << m_profile.instance_name << "] target = " << ci.link_name << ", sensor_name = " << sensor_name << std::endl;

0 commit comments

Comments
 (0)