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

Review and Unify TEO model joint limits #15

Closed
6 tasks done
PeterBowman opened this issue Aug 16, 2017 · 73 comments
Closed
6 tasks done

Review and Unify TEO model joint limits #15

PeterBowman opened this issue Aug 16, 2017 · 73 comments

Comments

@PeterBowman
Copy link
Member Author

From @RaulFdzbis on May 3, 2016 12:34

Gazebo model and Ros Gazebo model, were already updated in 7718f22 and a6199bc with the joint limits used by the KdlSolver in teo_main.

@jgvictores
Copy link
Member

Blocked by roboticslab-uc3m/teo-developer-manual#10 as the entry point will be teo-software-manual

@jgvictores jgvictores added priority: high and removed blocked Do not focus on this issue until blocking issue is closed labels Dec 13, 2017
@jgvictores
Copy link
Member

Unblocked. We should put the official values at: https://github.com/roboticslab-uc3m/teo-software-manual/blob/master/appendix/a-teo-diagrams.md

@jgvictores
Copy link
Member

Have to consult if the joint limits currently at: https://github.com/roboticslab-uc3m/teo-configuration-files/tree/develop/share/kinematics are the ones that should be copied to the official value place: https://github.com/roboticslab-uc3m/teo-software-manual/blob/master/appendix/a-teo-diagrams.md

@rsantos88
Copy link
Contributor

I saw that those limits (at https://github.com/roboticslab-uc3m/teo-configuration-files/tree/develop/share/kinematics) are not the same as the .ini values

@jgvictores
Copy link
Member

Note that maximum velocities and accelerations are also relevant!

@jgvictores jgvictores added the blocked Do not focus on this issue until blocking issue is closed label Dec 18, 2017
@jgvictores
Copy link
Member

Blocked, because ideally we would get these values from the real robot, which is currently being modified, see issues on https://github.com/roboticslab-uc3m/teo-hardware-manual

@AlvaroMartinezR
Copy link

What a coincidence, I was talking about the limits of TEO yesterday with @smcdiaz and he said thet the best I idea will be to test and obtain the values from the actual real robot like @jgvictores said:

Blocked, because ideally we would get these values from the real robot, which is currently being modified, see issues on https://github.com/roboticslab-uc3m/teo-hardware-manual

The actual status of the robot only allow us to operate with locomotion, he has no arms. @rsantos88 and me are going to do it.

ArmarX models: https://github.com/roboticslab-uc3m/teo-simox-models

PS: I am responsible for teo-simox-models so next time assign or mention me please.

@jgvictores
Copy link
Member

PS: I am responsible for teo-simox-models so next time assign or mention me please.

@AlvaroMartinezR No problem! Just in case, I would also recommend you to watch this repo. :-)

@AlvaroMartinezR
Copy link

Blocked (again) by #29

@rsantos88
Copy link
Contributor

@AlvaroMartinezR and me have collected all the mechanical limits from the real robot.
See the table below:

Joint mechanical limits

Limb Link Upper limit Lower limit
Right arm 1 103.075569 -93.479797
2 -80.474518 34.622143
3 85.149384 -62.021088
4 88.488579 -37.943756
5 79.701233 -54.376099
6 112.478027 -61.933228
Left arm 1 -98.488586 92.618629
2 79.525482 -34.253082
3 -87.504395 59.753952
4 -106.133575 19.156414
5 -81.441132 74.604568
6 -108.945526 64.850616

Also with the plate for teo-waiter:

Limb Link Upper limit Lower limit
Left arm 6 with plate -57.803162 65.641472

Now, we are going to polish them: lower them and make them symmetric. Lower them because these are the absolute mechanical limits, working with them will be quite dangerous for TEO.
You can see the actual results here.
The joint limits are quite high. What do you think about them?
For example:

Limb Link Upper limit Lower limit
Right arm 1 (Raw values) 103.075569 -93.479797
Right arm 1 (Edited) 90 -90

@jgvictores
Copy link
Member

Proposal: hard limits vs soft limits, documenting both.

@AlvaroMartinezR
Copy link

@jgvictores Yeah, that was the idea, but my question was if you think the thresholds are acceptable.

@jgvictores
Copy link
Member

I'd ask @smcdiaz 's opinion on that.

@jgvictores
Copy link
Member

jgvictores commented Jan 29, 2018

Spoken with @smcdiaz Question for starters: Were these values taken via the absolute or relative encoders?

@jgvictores
Copy link
Member

A more detailed explanation of what I spoke with @smcdiaz :

  1. Determine number of relevant decimal values (depends on abs/rel encoder).
  2. Establish a fixed tolerance values.

Example: 103.075569 | -93.479797 -> 1 decimal -> 103.1 | -93.5 -> 5 degrees -> 98.1 | -88.5.

@jgvictores
Copy link
Member

No problem! As commented 😃2😃, make all changes required (e.g. touch simulator if needed, not as part of a final solution, because still blocked by #39). 👍

@rsantos88
Copy link
Contributor

rsantos88 commented Feb 6, 2019

Perfect!! Just to keep in mind that I'm currently using those limits in TEO, installed in the manipulation computer, making use of the branch new-limits-reviewed 👍

@jgvictores
Copy link
Member

This issue will be tedious, but a also a great opportunity to establish several ranges of joint limits (physical, driver-level recommended, software-level recommended, human-like...)!

@rsantos88
Copy link
Contributor

Pending of: #39

@rsantos88
Copy link
Contributor

No more pending of: #39

@jgvictores
Copy link
Member

@rsantos88 IMHO you can already close this issue, and next week we can start working on kinematics at #38 !!

@rsantos88
Copy link
Contributor

Perfect. Thanks

@jgvictores jgvictores added epic and removed status: in progress blocking Focus on this issue before working on issues that are blocked by it labels May 8, 2019
@PeterBowman
Copy link
Member Author

Leg joint limits are asymmetrical. For instance (ref), [-14.1,12.5] on the second joint, right leg, would imply [14.1,-12.5] on the same joint, left leg. Of course, better check this manually again, avoiding a mere replication of values. Might affect the arms, too.

@PeterBowman PeterBowman reopened this Jun 26, 2019
@rsantos88
Copy link
Contributor

I've modified some joint limits and I recommend you to check your walk experiments with the new changes using this branch of teo-openrave-models. I've only changed the limits of some joints of the left leg (which are cloned from the right leg). Remember that these values, therefore, haven't been checked with the real joints of the robot. They are replicated with respect to the right leg.

@rsantos88
Copy link
Contributor

changes reflected also in this commit of teo-developer-manual, branch fix-asymmetrical-joint-limits

@PeterBowman
Copy link
Member Author

PeterBowman commented Jul 3, 2019

Thanks, @rsantos88. Successfully checked on simulation, just two more things:

@rsantos88
Copy link
Contributor

Thanks, @rsantos88. Successfully checked on simulation, just two more things:

Thanks @PeterBowman! that's just what I was waiting for. Now I can update launchLocomotion.ini.

yes! if you look at it, the file has already been modified but github recognizes it as binary and can not show the changes

I'll update all the changes related (do PR.. etc) and close this issue

@rsantos88
Copy link
Contributor

fixed at 8b56857ac09b83c9576bd8085ec6c3b9443a67f3

@rsantos88
Copy link
Contributor

@PeterBowman
Copy link
Member Author

Closing, thanks!

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

No branches or pull requests

5 participants