Dont allow zeros in time_from_start to prevent the use of time_from_s…#2
Dont allow zeros in time_from_start to prevent the use of time_from_s…#2MauleshSTrivedi wants to merge 1 commit into
Conversation
…tart in end_time in follow_controller.py
|
Thank you for the pull request.
Do you have some thoughts about that? ps: (not related to the pull request) I am using the arbotix board with a phantom x pincher and my arm transitions are highly jerky. |
|
Hey, Thanks for the reply.. So me and my friend here (@kbogert) were trying to think of a solution to this problem.. One way, like you suggestd could be to completely remove the asynchronous mode and just leave it at that.. On the other hand, we could run through the entire list of messages to see which of them have zero velocities.. If all of them are zeroes then we could do the follow_time_mode, otherwise we could go ahead with the second follow_velocity_mode.. We used your code with Windowx arm and it worked perfectly.. In case of the Phantomx arm, we are facing the same issue like you.. pretty jerky movements.. I guess its just a hardware issue more than anything else.. Were you able to get better results with different controllers?! |
…tart in end_time in follow_controller.py
This hack gets my PhantomX Pincher arm to work with the turtlebot_arm package (ver. 0.4) with the Pick and Place demo. This is because the time_from_start starts with zero in the trajectory message; and all the trajectory points have zero velocities in the beginning; and there is an extra joint for the gripper which throws off an "Invalid Joint Trajectory.. " error.