tesseract
tesseract copied to clipboard
Expand JointLimits
Allow different upper/lower bounds on velocity and acceleration and add jerk limits. This will be useful if we write a wrapper for ruckig, which supports these things.
Sounds reasonable to me. Do you have a proposed updated to the data structure?
Not really. I was just posting this as a reminder of a potentially breaking change we might want to make soon. However, I would imagine something like this. We could use std::pair, but I kind of like position.lower better than position.first
class Bounds
{
public:
Bounds(double lower, double upper) ;
Bounds(double upper) : upper(upper) { lower = -upper;}
double lower;
double upper;
}
class JointLimits
{
public:
JointLimits() { this->clear(); }
Bounds position;
Bounds effort;
Bounds velocity;
Bounds acceleration;
Bounds jerk;
...
};
This is now supported