We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d8194 commit 37aa162Copy full SHA for 37aa162
joint_trajectory_controller/src/joint_trajectory_controller.cpp
@@ -184,7 +184,8 @@ controller_interface::return_type JointTrajectoryController::update(
184
time_data.uptime = time_data_.readFromRT()->uptime + time_data.period;
185
rclcpp::Time traj_time =
186
time_data_.readFromRT()->uptime + rclcpp::Duration::from_nanoseconds(t_period);
187
- time_data_.writeFromNonRT(time_data);
+ time_data_.reset();
188
+ time_data_.initRT(time_data);
189
190
bool first_sample = false;
191
// if sampling the first time, set the point before you sample
0 commit comments