-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support setting IOs on preplanned trajectories #87
Comments
Thanks for opening the issue. We'll need to debug into it but the goal is of course that you can have one action array in this case and execute I/Os |
Since plan already is stiching actions together I propose something like that with a new joint_trajectory action:
|
@stefanwagnerdev that would be a very nice solutions, thanks. The only unintuitive part of it for me is that you would still be using the .plan method in the end? Or am I misunderstanding what is happening under the hood. There are good reasons to do this, e.g. to ensure the path at least has a minimal amount of blending. But if you have a well thought out joint trajectory that already takes care of that, you probably want to ensure the path that is executed is 100% identical to the one you planned yourself. |
Plan basically allows to mix the different planner approaches. So you could also do a linear movement and afterwards execute your trajectory for instance. |
I have a pre-planned joint trajectory that i can succesfully execute using the SDK.
However, in addition to moving the robot, I would like to trigger an IO on the middle and at the end of a trajectory at a specific index i.
In order for this to work I currently have to split this path up into 4 parts, as the 'actions' and 'trajectory' part in
execute
do not work together for this scenario.Would it be possible to attach an action that works roughly the same as the implementation in the underlying API , e.g. allow trigger of an IO on a given index on the trajectory?
Below is a snippet which does what I want, but simplifying this to a single .execute() command would be great. Note also that I currently need to provide an empty actions=[] list for trajectories.
The text was updated successfully, but these errors were encountered: