Skip to content

Commit f9cd91b

Browse files
carlossvgshuhaowu
andauthored
Update minimal_data_sharing/minimal_lock_free_queue.cpp
Co-authored-by: Shuhao Wu <shuhao@shuhaowu.com>
1 parent 7f79312 commit f9cd91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minimal_data_sharing/minimal_lock_free_queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class TrajectoryController : public rclcpp::Node
9393

9494
void execute_trajectory_point(const trajectory_msgs::msg::JointTrajectoryPoint & point)
9595
{
96-
// just log positions for demo purposes
96+
// Logging is not safe for RT but this is just a demo for message passing
9797
for (std::size_t joint_index = 0; joint_index < point.positions.size(); joint_index++) {
9898
RCLCPP_INFO(
9999
this->get_logger(), "Trajectory point: joint %lu, position %lf",

0 commit comments

Comments
 (0)