Skip to content
Snippets Groups Projects
Commit 715f69df authored by Ventsislav Dokusanski's avatar Ventsislav Dokusanski
Browse files

Update inverse kinematic node

parent 05974476
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,8 @@ class InverseKinematicsNode(Node):
joint_trajectory_msg.joint_names = self.joint_names
point = JointTrajectoryPoint()
point.positions = joint_angles.tolist()
point.time_from_start.sec = 1 # Example time, adjust as needed
# point.time_from_start.sec = 1 # Example time, adjust as needed
point.time_from_start.nanosec = 100000000
joint_trajectory_msg.points.append(point)
self.publisher.publish(joint_trajectory_msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment