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

Expand JointLimits #591

Open
mpowelson opened this issue Apr 20, 2021 · 2 comments
Open

Expand JointLimits #591

mpowelson opened this issue Apr 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mpowelson
Copy link
Contributor

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.

@mpowelson mpowelson added the enhancement New feature or request label Apr 20, 2021
@Levi-Armstrong
Copy link
Contributor

Sounds reasonable to me. Do you have a proposed updated to the data structure?

@mpowelson
Copy link
Contributor Author

mpowelson commented Apr 21, 2021

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;  
...
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants