LoginSignup
0
0

More than 5 years have passed since last update.

controller_spawnerで生成するros_controlのtopicはremapできない

Last updated at Posted at 2018-10-25

controller_spawnerdiff_drive_controllerとかを作ると、

  • diff_drive_controller/cmd_velとか、
  • diff_drive_controller/odom

的なトピックを使うことになると思いますが、このトピック名を変えたい事ってありますよね。my_robot/odomみたいに。
単純にremapしたらいいじゃん!と思ったのですが、spawnerの立ち上げ時にremapしても効かないんですね。

→ こんなのissueが上がってました。

結論をいうと、remapする方法がなく、Twistならtwist_muxなど使ってがんばってくれとのこと。。。
普通に不便じゃないですか...?

追記:
topic_tools/relayでトピックをリレーしてあげたら、元のトピックは残ってしまうが目的としていることはできた。
http://wiki.ros.org/topic_tools/relay

他にいい方法があれば教えてください

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0