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

サンプルプログラムのバグ? #32

Open
hotic06 opened this issue Feb 22, 2020 · 1 comment
Open

サンプルプログラムのバグ? #32

hotic06 opened this issue Feb 22, 2020 · 1 comment

Comments

@hotic06
Copy link
Contributor

hotic06 commented Feb 22, 2020

self.odom_sub = rospy.Subscriber('joint_states', JointState, self.jointstateCallback)

上記
self.odom_sub = rospy.Subscriber('joint_states', JointState, self.jointstateCallback)
こうなってますが、
ここって、下記のようにしてなくてよいんですかね?
self.joint_states_sub = rospy.Subscriber('joint_states', JointState, self.jointstateCallback)

インスタンス変数の名前がodomとかぶってると思います。

@dashimaki360
Copy link
Collaborator

これ変えたほうがいいですね.
現状odom は使ってないのでバグって見えないだけだと思います.

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

No branches or pull requests

2 participants