Closed zhuhaier1992 closed 11 months ago
robomaster
is the Python package installed by RoboMaster-SDK
. In your case, it seems that the Python version used by ROS2, which if you installed ROS2 with a package manager is the default system Python, cannot find this package. I would guess that the problem is in the interaction between miniconda and ROS2 (see https://docs.ros.org/en/iron/How-To-Guides/Using-Python-Packages.html), which I don't have experience with. I suggest to install RoboMaster-SDK
with the system Python, if ROS2 is indeed using it.
Man you are my savior. I am really new to this and the network here is like ... could creating any kind of problems. Almost feel desperate. Thanks a lot :D
Hi Jeguzzi, I have successfully built robomaster_ros on several newly installed Ubuntu20, but every one failed to launch (the last step) with one exactly same error msg. The error goes like this: pkg_resources.DistributionNotFound: The 'robomaster' distribution was not found and is required by robomaster-ros
The whole log are as follows:
But I have definitely installed RoboMaster-SDK as instructed in README.md. However, I was using latest miniconda3, and create an env called py38, and I have activated this env to execute all building and launch procedures, I wonder if this could cause the problem.