You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rospy.logwarn("current trajectory point has time_delta smaller than sample_rate: {} < {}! Skipping".format(point_time_delta.to_sec(), self.sample_rate_dur_secs))
84
+
continue
85
+
74
86
# we need to resort the positions array because moveit sorts alphabetically but all other ROS components sort in the URDF order
75
87
positions_sorted= []
76
88
forjoint_nameinself.joint_names:
@@ -83,12 +95,6 @@ def fjta_cb(self, goal):
83
95
# linear interpolation of the given trajectory samples is used
84
96
# to compute smooth intermediate joints positions at a fixed resolution
85
97
86
-
# fixed frequency to control the granularity of the sampling resolution
87
-
sample_rate_hz=10
88
-
# duration from one sample to the next
89
-
sample_rate_dur_secs= (1.0/float(sample_rate_hz))
90
-
# rospy loop rate
91
-
sample_rate=rospy.Rate(sample_rate_hz) # 10Hz for now
0 commit comments