varofla / iAHRS_driver_ros2

공부하려고 만든 iAHRS RB-SDA-v1 센서 ROS2 드라이버
0 stars 1 forks source link

ModuleNotFoundError: No module named 'tf2_ros' #1

Open rhdeotod opened 1 year ago

rhdeotod commented 1 year ago

I'm using Ros2 Dashing and whenever I try to run package, I got this error message.

ModuleNotFoundError: No module named 'tf2_ros'

How can I solve this problem?

varofla commented 1 year ago

This package has only been tested on ROS2 Foxy. In ROS2 Foxy, the tf2_ros module is installed by default.

I have no idea how to solve it in Dashing version, but it seems that you can install the 'tf2_ros' module through the command below.

pip3 install python3-tf2-ros