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

Specify the tool pose sampling function #513

Open
ragesh88 opened this issue Sep 18, 2024 · 1 comment
Open

Specify the tool pose sampling function #513

ragesh88 opened this issue Sep 18, 2024 · 1 comment

Comments

@ragesh88
Copy link

ragesh88 commented Sep 18, 2024

Hi,

I wanted to use Descrates lite through the tesseract interface. I wanted the user to be able to specify different tool pose sampling functions to be used by descrates. What would be a good way to do this?

@marip8
Copy link
Contributor

marip8 commented Sep 19, 2024

The DescartesDefaultPlanProfile profile class has a member called target_pose_sampler that you can set to a custom sampling function (with a specific function signature) or one provided by Tesseract (e.g., sample z-axis, sample fixed, etc.).

To get Descartes to do custom sampling like this, you'll need to create this profile class, set the target_pose_sampler member to your sampling function, and then add this profile class to the profile dictionary used for planning.

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

No branches or pull requests

2 participants