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

第2回でrqtを実行した際にcmd_velが反応しません #417

Open
noshin0061 opened this issue Nov 22, 2021 · 1 comment
Open

第2回でrqtを実行した際にcmd_velが反応しません #417

noshin0061 opened this issue Nov 22, 2021 · 1 comment

Comments

@noshin0061
Copy link

1つ前の質問と似たような状態だと思うのですが、第2回で
rqt --perspective-file enshu.perspective

としてrqtを実行しようとすると、cmd_velだけが反応しません。
rostopic listでcmd_velが存在していることは確認できていますが、

$rostopic echo /cmd_vel
としたときに値が読み込めておらず、
$rostopic info /cmd_vel
としたときに
Type: geometry_msgs/Twist

Publishers:

Subscribers: None

と出力されます。

$rostopic find geometry_msgs/Twist
としたときは
/cmd_vel_mux/input/switch
/cmd_vel_mux/input/teleop
/cmd_vel_mux/input/safety_controller
/mobile_base/commands/velocity
/cmd_vel_mux/input/navi
/cmd_vel
と出力されます。

SubscriversがNoneになっていることが原因だと思うのですが、
どのように修正を行えばよいかご教示いただけますと幸いです。

@noshin0061
Copy link
Author

削除された二行を追加することで解決できました。
ありがとうございました。

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

1 participant