Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time_from_start information to feedback topic #37

Merged
merged 2 commits into from Jul 30, 2018

Conversation

708yamaguchi
Copy link
Contributor

When I used fetch with follow joint trajectory, I found /*_controller/follow_joint_trajectory/feedback topic do not have time_from_start information, so I added time_from_start to this topic.

CC @pazeshun, @k-okada

@@ -163,6 +163,8 @@ class FollowJointTrajectoryController : public Controller
double goal_time_tolerance_;

control_msgs::FollowJointTrajectoryFeedback feedback_;
control_msgs::FollowJointTrajectoryGoal goal_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to avoid confusion (since you're only using the timestamp portion of this), I would suggesting using a ros::Time instance rather than a whole goal instance.

@708yamaguchi
Copy link
Contributor Author

@mikeferguson
Thank you very much for your advice.
I use ros::Time instance instead of control_msgs::FollowJointTrajectoryGoal instance.

@708yamaguchi
Copy link
Contributor Author

@mikeferguson
I think this pull request works well.
If there is no problem, could you please merge this?

@mikeferguson
Copy link
Contributor

I don’t have merge rights, since I’m no longer with Fetch Robotics.

@708yamaguchi
Copy link
Contributor Author

I did not know that.
Thank you very much for your cooperation in this pull request.

@rctoris
Copy link
Contributor

rctoris commented Jul 27, 2018

@708yamaguchi can we get an equivalent PR into the melodic branch as well?

@708yamaguchi
Copy link
Contributor Author

@moriarty @rctoris

I created an equivalent Pull Request into the melodic branch (#38).

@rctoris rctoris merged commit 4abd433 into ZebraDevs:indigo-devel Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants