-
Notifications
You must be signed in to change notification settings - Fork 56
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
ServiceClientオブジェクトのmethodが上手く定義されない #704
Comments
(setq req (instance pr2_mechanism_msgs::SwitchController :init )) を (setq req (instance pr2_mechanism_msgs::SwitchControllerRequest :init )) のように,クラス名に 1.irteusgl$ (ros::load-ros-manifest "pr2_mechanism_msgs")
t
2.irteusgl$ (setq req (instance pr2_mechanism_msgs::SwitchControllerRequest :init ))
#<pr2_mechanism_msgs::switchcontrollerrequest #X55a56f9bc410>
3.irteusgl$ (send req :methods)
(:init :start_controllers :stop_controllers :strictness :serialization-length :serialize :deserialize :response :init :md5sum- :datatype- :connection-header :plist :get :put :name :remprop :prin1 :prin1 :warning :error :slots :methods :super :get-val :set-val) タイポすると,下のように 2.irteusgl$ (setq req (instance pr2_mechanism_msgs::SwitchControlle :init ))
Call Stack (max depth: 20):
0: at (instantiate pr2_mechanism_msgs::switchcontrolle)
1: at (let ((#:inst458 (instantiate pr2_mechanism_msgs::switchcontrolle))) (send #:inst458 :init) #:inst458)
2: at (instance pr2_mechanism_msgs::switchcontrolle :init)
3: at (setq req (instance pr2_mechanism_msgs::switchcontrolle :init))
4: at #<compiled-code #X55d5c5e99e18>
/opt/ros/melodic/share/euslisp/jskeus/eus/Linux64/bin/irteusgl 0 error: unbound variable pr2_mechanism_msgs::switchcontrolle in (instantiate pr2_mechanism_msgs::switchcontrolle) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
の
pr2_mechanism_msgs/SwitchController
サービスのServiceClientオブジェクトを生成してもstart_controllers
等のmethodが定義されない.例えば他のサービスを試してみると,
のようにmethodが定義されています.
pythonだと,
のように書くことで実行できることは確認しました.
何が問題なのでしょうか?
The text was updated successfully, but these errors were encountered: