Crazyflie-Ros2 connection #854
Unanswered
ntukenmez3
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, my problem is basically about
tf_fransformations
package. I installed and changed all dependencies according to https://index.ros.org/p/tf_transformations/, but it is not working. I usedtransforms3d
to import the related things. Could you help us about that problem. I added the related code in our python files below, If needs I can share more, thanks.terminal output:
ntukenmez3@ae-icps-407120:~/Documents/2023-crazy-flie/crazyflie_ros2_experimental/crazyflie_ros2$ ros2 launch crazyflie_ros2 crazyflie_publisher_launch.py
[INFO] [launch]: All log files can be found below /home/ntukenmez3/.ros/log/2023-10-01-16-07-47-625647-ae-icps-407120-3378000
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [crazyflie_publisher-1]: process started with pid [3378004]
[crazyflie_publisher-1] Traceback (most recent call last):
[crazyflie_publisher-1] File "/home/ntukenmez3/Documents/2023-crazy-flie/crazyflie_ros2_experimental/crazyflie_ros2/install/crazyflie_ros2/lib/crazyflie_ros2/crazyflie_publisher", line 33, in
[crazyflie_publisher-1] sys.exit(load_entry_point('crazyflie-ros2==0.0.0', 'console_scripts', 'crazyflie_publisher')())
[crazyflie_publisher-1] File "/home/ntukenmez3/Documents/2023-crazy-flie/crazyflie_ros2_experimental/crazyflie_ros2/install/crazyflie_ros2/lib/crazyflie_ros2/crazyflie_publisher", line 25, in importlib_load_entry_point
[crazyflie_publisher-1] return next(matches).load()
[crazyflie_publisher-1] File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
[crazyflie_publisher-1] module = import_module(match.group('module'))
[crazyflie_publisher-1] File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
[crazyflie_publisher-1] return _bootstrap._gcd_import(name[level:], package, level)
[crazyflie_publisher-1] File "", line 1050, in _gcd_import
[crazyflie_publisher-1] File "", line 1027, in _find_and_load
[crazyflie_publisher-1] File "", line 1006, in _find_and_load_unlocked
[crazyflie_publisher-1] File "", line 688, in _load_unlocked
[crazyflie_publisher-1] File "", line 883, in exec_module
[crazyflie_publisher-1] File "", line 241, in _call_with_frames_removed
[crazyflie_publisher-1] File "/home/ntukenmez3/Documents/2023-crazy-flie/crazyflie_ros2_experimental/crazyflie_ros2/install/crazyflie_ros2/lib/python3.10/site-packages/crazyflie_ros2/crazyflie_publisher.py", line 6, in
[crazyflie_publisher-1] from transforms3d import *
[crazyflie_publisher-1] ModuleNotFoundError: No module named 'transforms3d'
[ERROR] [crazyflie_publisher-1]: process has died [pid 3378004, exit code 1, cmd '/home/ntukenmez3/Documents/2023-crazy-flie/crazyflie_ros2_experimental/crazyflie_ros2/install/crazyflie_ros2/lib/crazyflie_ros2/crazyflie_publisher --ros-args'].
Python files:
1.crazyflie_publisher.py:
2.package.xml:
3.setup.py:
Beta Was this translation helpful? Give feedback.
All reactions