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

[pr2eus][pr2eus_moveit] use ctype in :send-trajectory and pass ctype in angle-vector-motion-plan #292

Merged
merged 2 commits into from
May 11, 2017

Conversation

knorth55
Copy link
Member

@knorth55 knorth55 commented May 10, 2017

Changes

  • [pr2eus] use only controller-type in send-trajectory
  • [pr2eus_moveit] pass ctype in angle-vector-motion-plan

Fixes jsk-ros-pkg/jsk_robot#776

@k-okada
I searched about :send-trajectory, but I didn't understand the reason why it has controller-type and controller-action.
My opinion is controller-type is necessary, and controller-action depends on it, as my first commit d8b0aa6.
I'm afraid if this commit breaks API, but I couldn't find out other method which uses :send-trajectory.

cc. @Affonso-Gui

@Affonso-Gui
Copy link
Member

Seems to work fine with fetch.

Video:
https://drive.google.com/open?id=0B7yBh2Z2PcYOY3dGRER3c2NVTWM

@k-okada
Copy link
Member

k-okada commented May 10, 2017

I searched about :send-trajectory, but I didn't understand the reason why it has controller-type and controller-action.

may be that's true,,, @YoheiKakiuchi
but this seem you added ctype for planning #261, but forget to send to :send-trajectory with ctype
so, another solution might be something like

             (send* self :send-trajectory traj :controller-type ctype :controller-action (gethash ctype controller-table) args)))

in
https://github.com/jsk-ros-pkg/jsk_pr2eus/blob/0.3.10/pr2eus_moveit/euslisp/robot-moveit.l#L573-L574

BTW can we create test code for this?

@knorth55
Copy link
Member Author

but this seem you added ctype for planning #261, but forget to send to :send-trajectory with ctype
so, another solution might be something like

That's true. I forgot to pass it to :send-trajectory.
I consider it, too. But if it is not nesessary, I can write it in simpler way.

BTW can we create test code for this?

I know fetcheus have test code with MoveIt!, and I will try to make it.

@YoheiKakiuchi
Copy link
Member

I searched about :send-trajectory, but I didn't understand the reason why it has controller-type and controller-action.
may be that's true,,, @YoheiKakiuchi

I changed API of :angle-vector by d93d5c3
I forgot to change API of :send-trajectory ... Sorry ...

@knorth55
Copy link
Member Author

@YoheiKakiuchi Thank you for your reply.
@k-okada Which should I choose, keep API or modify it?

@k-okada
Copy link
Member

k-okada commented May 11, 2017 via email

@knorth55
Copy link
Member Author

So is this PR ok? or any suggestion?

@k-okada k-okada merged commit 53e38ba into jsk-ros-pkg:master May 11, 2017
@knorth55 knorth55 deleted the pass-ctype-send-trajectory branch May 11, 2017 07:41
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

Successfully merging this pull request may close these issues.

None yet

4 participants