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

add a method to retrieve maximal velocity of a transmission joint #9

Open
wants to merge 2 commits into
base: kinetic-devel
Choose a base branch
from
Open

Conversation

jeanlaneuritpro
Copy link

No description provided.

if(model_)
{
urdf::JointConstSharedPtr joint(model_->getJoint(joint_name));
if(joint->type == urdf::Joint::CONTINUOUS)
Copy link
Contributor

@mathias-luedtke mathias-luedtke Oct 31, 2017

Choose a reason for hiding this comment

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

revolute joints have velocity limits, too...

{
if(model_)
{
urdf::JointConstSharedPtr joint(model_->getJoint(joint_name));
Copy link
Member

Choose a reason for hiding this comment

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

If the requested joint name is not available within the model, this method fails.

(please double check this, I'm from mobile at the moment)

Copy link
Member

Choose a reason for hiding this comment

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

bump

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