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

fix hand yaw limits #392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix hand yaw limits #392

wants to merge 1 commit into from

Conversation

sasabot
Copy link
Collaborator

@sasabot sasabot commented Dec 10, 2018

with a discussion with @YoheiKakiuchi
it is better to set the urdf limits to the actual hardware limits

and for other models with different limits, limit the range on the software side using the yaml file

@y-shiigi
Copy link
Collaborator

I understand, it's no problem.
But is the joint_limits.yaml working? Do I need to load at aero_bringup?

@sasabot
Copy link
Collaborator Author

sasabot commented Dec 11, 2018

it should be set once running setup.sh
I confirmed that it works on our robot but please check just in case

@y-shiigi
Copy link
Collaborator

I don't have the hand-yaw parts, so I changed elbow's limit as below:

  r_elbow_joint:
    has_velocity_limits: true
    max_velocity: 1.2
    has_acceleration_limits: false
    max_acceleration: 0
    min_position: -0.1
    max_position: 0

After running setup.sh typeFCESy and catkin build aero_samples, the sample motion(fullbody_test_node and ik_sample_node) are not changed. I thought the elbow will not be moved in this parameter.
Am I misunderstanding?

@sasabot
Copy link
Collaborator Author

sasabot commented Dec 11, 2018

hmm... i think i see the problem
the setting only changes the software limit. inside the code you have to check the bounds yourself
perhaps we need a boundary check inside some of the aero_std functions...

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