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

gyro_link missing in tf tree #40

Open
nedo99 opened this issue Mar 24, 2022 · 3 comments
Open

gyro_link missing in tf tree #40

nedo99 opened this issue Mar 24, 2022 · 3 comments

Comments

@nedo99
Copy link

nedo99 commented Mar 24, 2022

Hi,

When starting kobuki node, I dont see a gyro_link frame when generating tf tree with ros2 run tf2_tools view_frames.py. If I do ros2 topic echo /sensors/imu_data_raw I get the output and I see the header (frame_id gyro_link), no child or parent frame.

I could not find anywhere tf transform. I also checked here http://kobuki.yujinrobot.com/wiki/online-user-guide/ but no relative position of the IMU relative to base_link.

Any idea?

@wn1980
Copy link
Contributor

wn1980 commented Mar 24, 2022

To get static tf, you should run kobuki_description node.

@nedo99
Copy link
Author

nedo99 commented Mar 24, 2022

To get static tf, you should run kobuki_description node.

Tried, but getting:

launch.substitutions.substitution_failure.SubstitutionFailure: file not found: [Errno 2] No such file or directory: 'xacro'

Could you just provide tf transform parameters?

@wn1980
Copy link
Contributor

wn1980 commented Mar 24, 2022

To get static tf, you should run kobuki_description node.

Tried, but getting:

launch.substitutions.substitution_failure.SubstitutionFailure: file not found: [Errno 2] No such file or directory: 'xacro'

Could you just provide tf transform parameters?

Probably, you are missing xacro. Supposed you are using ros2 foxy, to pull all dependencies, run this command in your ros2 workspace folder :

sudo rosdep install -i --from-path src --rosdistro foxy -y

And then,

colcon build

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