confusion about time_from_start in trajectory_msgs/joint_trajectory

asked 2019-03-20 10:11:02 -0600

mvish7 gravatar image

updated 2019-03-20 10:28:15 -0600


I’m trying to demonstrate pick and place in gazebo by using moveit to plan trajectory.

Here is the code which i’m using, this is code is very much inline with moveit pick-n-place tutorials.

I’m not able to understand the impact of time_from_start parameter used in open_gripper and close_gripper functions. I have read about this previous queston on community but it couldn’t solve my queries.

my questions are as follows:

1) What is the exact meaning and importance of parameter time_from_start in trajectory_msgs used in above pointed tutorial?

2) what significant the parameter time_from_start has on when the gripper is opened and closed?

3) Why the value of duration is hardcoded and how can i make it generic if it is possible?

4) Can i relate his time_from_start with sim_time or real_time parameters seen in gazebo??

i’ll appreciate any leads as it will help me to solve the problems about gripper opening and closing!

Thanks, Vishal

edit retag flag offensive close merge delete