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

Bug fix: JointTrajectoryAction (Rebased bug fix from Feb5) #86

Closed

Conversation

psarakisz89
Copy link

JointTrajectoryAction can now handle correctly cases where a single trajectory containing all robots (2 arms 2 torsos) of motoman is used.

Before this fix the state of the robot changed at "LOST" after some seconds and the trajectory was aborted.

@@ -63,11 +64,7 @@ JointTrajectoryAction::JointTrajectoryAction() :
// A parameter named topics_list contains the respective information for each of the groups

std::string value;
if(!ros::param::search("topics_list", value))
Copy link
Member

Choose a reason for hiding this comment

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

This error message helps people when the "topics_list" parameter cannot be found. Was it removed for a reason?

Copy link
Author

Choose a reason for hiding this comment

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

It might have been removed for debugging reasons. It is safe to bring it back.

Copy link
Member

Choose a reason for hiding this comment

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

Can you do this? I think you might need to rebase this PR on the current version of indigo-devel.

@shaun-edwards
Copy link
Member

@psarakisz89, sorry it took me so long to review. I had a few comments (see above). I'm also hoping you could walk me through this change. I do not have access to a dual arm system, so it is hard for me to review these changes. I also don't believe it's possible to "simulate" the robot (let me know if I am incorrect).

@psarakisz89
Copy link
Author

@shaun-edwards, I will help you as much as I can with the change and reviewing the changes! We have a dual arm manipulator available and if needed I can test something on it.

I guess what you are asking about the "simulation" of the robot is, if it is possible to simulate the control box and the real robot's behavior. I guess you can try it but there is a limit on how much accuracy a simulation will have. Even with a "perfect" simulator you may miss something!

@shaun-edwards
Copy link
Member

@psarakisz89, my question regarding simulation was whether there is a way simulate the multi-group nodes below the joint_trajectory_action. With the old single group nodes, this was possible. As near as I can tell, this capability does not exist for multiple groups.

@shaun-edwards
Copy link
Member

@psarakisz89, are you able to address the comments above? Also, could you rebase your code. Some recent changes to the motoman libraries are causing conflicts.

@psarakisz89
Copy link
Author

Hello Shaun.

I am currently away from the lab. I will address the issues as soon as possible. Sorry for the delay.

@gavanderhoorn
Copy link
Member

We're going to merge this in, but as part of #259.

There were outstanding issues with this PR, which @shaun-edwards identified, but were never fixed.

So closing this one.

Thanks @psarakisz89 for the initial PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants