Commit a6b9dea2 authored by Mohamed Hassan's avatar Mohamed Hassan

Debug_5

parent 4973fe00
......@@ -25,12 +25,12 @@ void Timeactivity::run()
{
while(1)
{
//ROS_INFO("############");
ROS_INFO("############");
std::this_thread::sleep_for(std::chrono::milliseconds(DELAY));
if (nullptr != m_proxy)
{
//ROS_INFO("**************");
ROS_INFO("**************");
std::chrono::time_point<std::chrono::system_clock> deadline
= std::chrono::system_clock::now() + std::chrono::milliseconds(DEADLINE);
......@@ -67,7 +67,7 @@ void Timeactivity::run()
{
std::cout << currentTime << " From service instance: " << INSTANCE_COLOR_40 << "40" << END_COLOR << std::endl;
}
else if(serviceInstances_ == 40)
else if(serviceInstances_ == 60)
{
std::cout << currentTime << " From service instance: " << INSTANCE_COLOR_40 << "60" << END_COLOR << std::endl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment