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

do not use https://github.com/start-jsk/rtmros_common/pull/1095 #4

Merged
merged 4 commits into from
May 4, 2020

Conversation

k-okada
Copy link

@k-okada k-okada commented May 4, 2020

small fix for code cleanup;
default-controller returens list of possible controllers: https://github.com/jsk-ros-pkg/jsk_robot/blob/c161b6a87fa00a29909833bb1250c5ee96e42de6/jsk_baxter_robot/baxtereus/baxter-interface.l#L59-L63,
If we follow this gudieline, I think having (:default-controllr and (:gazebo-ros-controller would be ok.

;; so queue size of joint_states should be two.
;; https://github.com/jsk-ros-pkg/jsk_pr2eus/blob/0.3.13/pr2eus/robot-interface.l#L120
(send-super* :init :joint-states-queue-size 2 :robot robot :type
(if on-gazebo-ros-control :gazebo-ros-controller :default-controller)
Copy link
Owner

Choose a reason for hiding this comment

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

これだと、Gazeboでは以下のように:default-controllerを明示的に指定した場合に送れなくなるのですが、僕自身:default-controllerを明示的に指定したことはあまりないので、大丈夫だとは思います。

3.irteusgl$ send *ri* :angle-vector (send *hironxjsk* :reset-manip-pose) 1000 :default-controller
;; controller-type: :default-controller not foundnil

@pazeshun pazeshun merged commit e6f8313 into pazeshun:hironxjsk-gazebo May 4, 2020
pazeshun added a commit that referenced this pull request Jun 26, 2020
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.

2 participants