Open UK-Roy opened 1 year ago
Hi @UK-Roy,
ModuleNotFoundError: No module named 'ros2_data.ros2_data_s__rosidl_typesupport_c'
This error is related to the ros2_data ROS2 Package, which may not be correctly installed (compiled) in your machine. Could you please re-build it, and try again?
Regards, Mikel, IFRA-Cranfield
Thanks for the response. I could not find any installation process for ros2_data as well as there is no package in the apt package manager tool. If you provide me the instruction to re-build process, I will be grateful.
Kind regards, UK Roy
Hi @UK-Roy, The ros2_data package is part of the ros2_RobotSimulation bundle (you should have it installed already). I would try to re-install it, by simply doing:
Regards, Mikel, IFRA-Cranfield
Hi @Mikel, IFRA-Cranfield, I tried at the above steps you mentioned as well as I also tried to build from scratch. But the issue remains same.
Then I tried to simulate any robot in gazebo, but it is not showing in gazebo but in rviz. For example I tried to execute this command:
But the result show s like below:
How to overcome this kind of issues.
Regards, UK-Roy
Hi @UK-Roy, In the second picture you've shared there's a "No module named rclpy._rclpy" message, which I believe is generated because your ROS2 is not installed properly. rclpy is the ROS2 client library for Python, which should be installed within your ROS2 machine. Can you execute any other ROS2/Python node (publisher/subscriber, for example)? I believe you'll need to re-install ROS2. Regards, Mikel, IFRA-Cranfield
Hi @MikelBueno, I have re-installed ROS2 and also tried simple subscriber and publisher in the same workspace where this package is located. Thats simple python files are working. But still ros2_RobotSimulation pkg is facing same issues. Below simple subscriber and publisher code and output:
But ros2_RobotSimulation pkg is not working It is appearing in rViz2 but not at gazebo Regards, UK-Roy
Hello IFRA team,
I wanted to experiment with your repository for leveraging the Gazebo & moveit setup for the panda robot that you have available in order to use it in some Reinforcement Learning experiments. I'm running Linux Ubuntu 20.04 LTS. I have followed the instructions you have on the .readme on how to install this package. I have clone your repository to the 'src' folder of my 'dev_ws'. However during running the I received the following error:
Command:
The following error:
How could I overcome this issue? Thank you very much in advance for your valuable help!
Kind regards, UK Roy