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 3044026 commit 7b15431Copy full SHA for 7b15431
joint_trajectory_controller/src/joint_trajectory_controller.cpp
@@ -210,7 +210,8 @@ controller_interface::return_type JointTrajectoryController::update(
210
time_data.uptime = time_data_.readFromRT()->uptime + time_data.period;
211
rclcpp::Time traj_time =
212
time_data_.readFromRT()->uptime + rclcpp::Duration::from_nanoseconds(t_period);
213
- time_data_.writeFromNonRT(time_data);
+ time_data_.reset();
214
+ time_data_.initRT(time_data);
215
216
bool first_sample = false;
217
// if sampling the first time, set the point before you sample
0 commit comments