File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
robotis_controller/src/robotis_controller Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1501,7 +1501,7 @@ void RobotisController::writeControlTableCallback(const robotis_controller_msgs:
1501
1501
}
1502
1502
else
1503
1503
{
1504
- ROS_WARN (" WriteControlTable] Unknown item : %s" , msg->start_item_name .c_str ());
1504
+ ROS_WARN (" [ WriteControlTable] Unknown item : %s" , msg->start_item_name .c_str ());
1505
1505
return ;
1506
1506
}
1507
1507
@@ -1569,6 +1569,8 @@ void RobotisController::syncWriteItemCallback(const robotis_controller_msgs::Syn
1569
1569
if (item->access_type_ == Read)
1570
1570
continue ;
1571
1571
1572
+ queue_mutex_.lock ();
1573
+
1572
1574
int idx = 0 ;
1573
1575
if (direct_sync_write_.size () == 0 )
1574
1576
{
@@ -1604,6 +1606,8 @@ void RobotisController::syncWriteItemCallback(const robotis_controller_msgs::Syn
1604
1606
}
1605
1607
direct_sync_write_[idx]->addParam (device->id_ , data);
1606
1608
delete[] data;
1609
+
1610
+ queue_mutex_.unlock ();
1607
1611
}
1608
1612
}
1609
1613
You can’t perform that action at this time.
0 commit comments