Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add odom publisher #8

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

Taka-Kazu
Copy link
Contributor

OdomPublisher.csを追加しました.
Right Wheel NameLeft Wheel Nameに左右のホイールのオブジェクトの名前を指定すると,該当するオブジェクトのHinge Jointから回転速度を取得し,ホイールオドメトリを計算,指定されたトピックにpublishします.
車輪径とトレッドは,指定されたホイールオブジェクトのTwistTestから取得します.
このスクリプト自体は,両輪のオブジェクトの共通の親に適用する必要があります(例えばbase_link).
nav_msgs/Odometrychild_frame_idには,このスクリプトを適用したオブジェクトの名称がそのまま使われます.
publish先のトピック名とframe_idはそれぞれTopicFrame Idから指定できます.

お時間のある時にご確認ください

@RyodoTanaka
Copy link
Member

遅くなってしまい,申し訳ありません!
動作確認できました.
マージさせていただきます!!

@RyodoTanaka RyodoTanaka merged commit a854bf9 into Field-Robotics-Japan:master Oct 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants