Skip to content

Commit 24074b3

Browse files
authored
Anonymous namespace
1 parent b732d46 commit 24074b3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

moveit_ros/moveit_servo/src/servo_node.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
namespace moveit_servo
5151
{
5252

53+
namespace
54+
{
55+
// This function is used to convert times in case planning_scene_monitor uses RCL_SYSTEM_TIME
5356
rclcpp::Time convertClockType(const rclcpp::Time& time, rcl_clock_type_t new_clock_type)
5457
{
5558
if (time.get_clock_type() != new_clock_type)
@@ -58,6 +61,7 @@ rclcpp::Time convertClockType(const rclcpp::Time& time, rcl_clock_type_t new_clo
5861
}
5962
return time;
6063
}
64+
} // namespace
6165

6266
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr ServoNode::get_node_base_interface()
6367
{

0 commit comments

Comments
 (0)