Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions include/urdf_model/joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#ifndef URDF_INTERFACE_JOINT_H
#define URDF_INTERFACE_JOINT_H

#include <limits>
#include <string>
#include <vector>

Expand Down Expand Up @@ -70,13 +71,19 @@ class JointLimits
double upper;
double effort;
double velocity;
double acceleration;
double deceleration;
double jerk;
Copy link
Contributor

Choose a reason for hiding this comment

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

keep in mind that the addition of these data members will change the size of this object and hence break ABI. This change may be merged to rolling if appropriate care is taken, but it should not be backported to any released ROS distros


void clear()
{
lower = 0;
upper = 0;
effort = 0;
velocity = 0;
acceleration = std::numeric_limits<double>::infinity();
deceleration = std::numeric_limits<double>::infinity();
jerk = std::numeric_limits<double>::infinity();
};
};

Expand Down