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

fix :move-to for non-holonomic robot #405

Closed
wants to merge 2 commits into from

Conversation

knorth55
Copy link
Member

fix :move-to for non-holonomic robot
this fixes jsk-ros-pkg/jsk_robot#1156 (comment)

pr2eus/robot-interface.l Outdated Show resolved Hide resolved
@knorth55
Copy link
Member Author

cc. @708yamaguchi

@@ -1424,6 +1427,7 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
;;
(dotimes (i 2)
(if (< (setq diff-len (norm (subseq (send diff :worldpos) 0 2))) 200) ;; move_base thre = 200mm
(if holonomic
Copy link
Member

@k-okada k-okada Oct 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use :go-pos-unsafe instead of :go-velocity ? if this works, then it chance to remove this line and use go-pos-unsafe for both holonoic and non-holonomic robot.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use :go-pos-unsafe for pr2 robot.
but for fetch, we need to tune :rotation-gain in :go-pos-unsafe
that is because of friction between wheel and the ground.
for rotating 45 degree, it is better to set :rotation-gain 2.0 for better motion.
however it depends on rotation angle and hardware situation.

Reference:
https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_fetch_robot/fetcheus/fetch-interface.l#L241-L323

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by the way, we checked gas spring of fetch yesterday with @708yamaguchi and @HiroIshida, and we need to replace it.

@k-okada
Copy link
Member

k-okada commented Oct 25, 2019 via email

@knorth55
Copy link
Member Author

knorth55 commented Oct 25, 2019 via email

@k-okada
Copy link
Member

k-okada commented Oct 25, 2019 via email

@knorth55
Copy link
Member Author

@k-okada OK. I made :go-pos-unsafe version #406.
now I'm testing on Fetch.

@knorth55 knorth55 closed this Oct 25, 2019
@knorth55
Copy link
Member Author

move to #406

@knorth55 knorth55 deleted the fix-fetch-move-to branch October 25, 2019 16:37
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.

3 participants