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

Realistic inertia #200

Merged
merged 4 commits into from
Feb 23, 2015
Merged

Realistic inertia #200

merged 4 commits into from
Feb 23, 2015

Conversation

ugocupcic
Copy link
Contributor

from @guihomework

Following this #196 request of merging realistic inertia by @hsu, and thanks to his advice, new inertia were set and the root problem of exploding hand was found : explicit viscous damping does not work on small elements with very small inertia. Implicit viscous damping is now used and damping coefficient was retuned. New ode parameters and a complete retuning of the hand was also necessary. Biotac hand was also adapted, tested and is stable. Hand lite works too.

Arm was tuned with hand attached. It reacts a bit abruptly when no hand attached but this cannot be avoided unless two different controller settings are loaded.
mixed_position_velocity tuning is now broken but is probably not used. I will work on that later as it is either really hard to tune or impossible (velocity measurements are very noisy, hence implicit viscous damping, which breaks velocity controller)

See #196 for another remaining minor problem
Doc about inertia computation added.

guihomework and others added 3 commits February 20, 2015 21:21
…nd adapted dynamics damping to be coherent with realistic inertia
…support the small values now)

Removed explicit viscous damping from sr_gazebo_plugin,
enabled springDamper in each joint (implicit viscous damping)
changed simulation parameters for stability
and retuned the controllers, explicitely define friction_deadband for simulated controllers (default is for real hand and is too high)
@ugocupcic
Copy link
Contributor Author

@guihomework I'm having issues on my computer with those new values. A you can see below the hand is really twitchy (I sent a 0 command to FFJ0 and WRJ1).

twitching

@guihomework
Copy link
Contributor

It does not look good. As this is mostly launch file and xacro changes, you might have not recompiled the sr_gazebo_plugin, which has now the explicit viscous damping removed.
I launched roslaunch sr_hand gazebo_hand.launch in indigo + ubuntu trusty so with Gazebo 2.2.3

I don't see this behavior, my hand is perfectly stable (really I am surprised myself). I have a realtime factor of 1.5 on my machine. Could this come from computing instabilities due to slower computer ?

@ugocupcic
Copy link
Contributor Author

Duh! recompiling fixed it, sorry about that!!

ugocupcic added a commit that referenced this pull request Feb 23, 2015
@ugocupcic ugocupcic merged commit 34200ab into indigo-devel Feb 23, 2015
@ugocupcic ugocupcic removed the queue label Feb 23, 2015
@ugocupcic ugocupcic deleted the ubi-agni-B_realistic_inertia branch February 23, 2015 10:19
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.

2 participants