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

Make simulation work with double mallet setup #277

Merged
merged 15 commits into from
Oct 16, 2023
Merged

Conversation

iibrahimli
Copy link
Collaborator

@iibrahimli iibrahimli commented Oct 4, 2023

Update the code so that simulation can be run using the double flex mallet

Currently there are a few problems:

  • The second mallet (and its box) are not visible in Gazebo (though visible in RViz)
  • Planning complains about the mallet finger joint violating path tolerance:
    Controller 'MalletHolder/trajectory_controller' failed with error PATH_TOLERANCE_VIOLATED: mallet_finger path error -0.763095
    [ WARN] [1696428286.555169181, 29.061000000]: Controller handle MalletHolder/trajectory_controller reports status ABORTED
    

These are probably related.

@iibrahimli iibrahimli self-assigned this Oct 4, 2023
@cvhex cvhex requested a review from ateRstones October 4, 2023 14:45
@iibrahimli iibrahimli removed the request for review from ateRstones October 5, 2023 12:58
@iibrahimli
Copy link
Collaborator Author

Update: 2nd mallet now appears in the simulation, but is not controlled yet (dangles freely). The issue was lack of transmission blocks for the mallet_finger joint and inertial blocks for the links.

@@ -33,7 +33,7 @@ Planning::Planning(const std::string planning_group) :
}
};
// Create timer that checks if an action is active and moves back to the home position if not
auto timer = nh_.createTimer(ros::Duration(0.5), timer_callback);
auto timer = nh_.createTimer(ros::Duration(1000.0), timer_callback);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should not be on the main, as it deactivates the homing

@Flova
Copy link
Collaborator

Flova commented Oct 14, 2023

Whats the state of this? Also regarding the simulation video @iibrahimli

@Flova
Copy link
Collaborator

Flova commented Oct 16, 2023

Ping @iibrahimli

@iibrahimli
Copy link
Collaborator Author

Planning to finish sim video & paper section today @Flova. Re: homing: yes my bad was testing something in sim and forgot to revert, will fix before merging this PR today

@iibrahimli
Copy link
Collaborator Author

Simulation demo video: https://cloud.mafiasi.de/s/9SiANFARrNm2F6W

@iibrahimli iibrahimli marked this pull request as ready for review October 16, 2023 15:29
@iibrahimli iibrahimli requested a review from Flova October 16, 2023 15:32
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is unused in the simulation btw

@Flova Flova merged commit 92b0824 into main Oct 16, 2023
1 of 2 checks passed
@Flova Flova deleted the fix/simulation-double-mallet branch October 16, 2023 15:45
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.

3 participants