Skip to content

Adding constraints on the manipulator and the external axis #139

Discussion options

You must be logged in to vote

In this case since the default trajopt plan profile does not provide what you need I would create a new profile. I would inherit form the TrajOptDefaultPlanProfile and override the apply method for the cartesian waypoint. In this function I would do exactly what it is doing so it adds the dynamic cartesian constraint or cost. Then add an additional cartesian constraint using the world frame as the desired frame and then set the coefficients to [0,0,0,5,5,0] which will create a constraint that it must be oriented with world but allowed to rotate around the world z-axis. You could also take it a step further if you are using descartes and create a custom sampler which only generates sampled…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@mohamedsayed18
Comment options

@Levi-Armstrong
Comment options

@mohamedsayed18
Comment options

@Levi-Armstrong
Comment options

@mohamedsayed18
Comment options

Answer selected by mohamedsayed18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants