Comments (6)
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
from ros2_robotsimulation.
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
from ros2_robotsimulation.
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:
- Remove the ros2_data folders inside the ~/dev_ws/build and ~/dev_ws/install folders.
- Colcon build the workspace again.
Regards,
Mikel, IFRA-Cranfield
from ros2_robotsimulation.
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
from ros2_robotsimulation.
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
from ros2_robotsimulation.
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
from ros2_robotsimulation.
Related Issues (20)
- Inquiry for implementation of customized webcam, Stereo ZED camera on robots for this simulator(Gazebo, MoveIt)
- <moveit/move_group_interface/move_group_interface_improved.h> does not exist. HOT 2
- Error building ros_actions in Humble HOT 1
- error: no matching function for call to βros2_RobotTrigger::declare_parameter(std::string)β 61 | this->declare_parameter(std::string("ROB_PARAM")); HOT 1
- move_group_interface_EEβ was not declared in this scope HOT 3
- file not found, Please input the PROGRAM FILENAME correctly as a ROS2 parameter in the Ubuntu Terminal HOT 1
- Colcon build Error 1 package failed: ros2_actions HOT 7
- rclcpp::exceptions::ParameterNotDeclaredException what(): ROB_PARAM
- ERROR: Loader for controller 'panda_handleft_controller' (type 'position_controllers/GripperActionController') not found.
- Robot and motion planning not appearing in Rviz
- Cant open UR5 in gazebo HOT 1
- Stuck at "waiting for MoveJ action server..." HOT 1
- Command list HOT 2
- CONTROLLER MANAGER NOT AVAILABLE HOT 8
- Parser error Couldn't parse parameter override rule: '--param robot_description:=<?xml version="1.0" ?><!-- HOT 2
- Error during compilation of ros2_grasping package
- Change payload size error from RMW HOT 1
- Segmentation fault (Invalid permissions for mapped object [0x7f020803d008])
- Single threaded executor used to process reentrant callback group as well as multiple callback groups
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros2_robotsimulation.