pybullet.error: cannot import name PoseStampedWithSpeed
See original GitHub issuewhen I run the script “examples/pepper_ros_test.py”, I got the error info:
Traceback (most recent call last): File "pepper_ros_test.py", line 22, in <module> wrap = PepperRosWrapper() File "/home/zxy/.local/lib/python2.7/site-packages/qibullet/ros_wrapper.py", line 50, in __init__ raise pybullet.error(MISSING_IMPORT) pybullet.error: cannot import name PoseStampedWithSpeed
So I’d like to know if it’s caused by a problem with the naoqi_bridge_msgs version.
Actually I check the source code from “https://github.com/ros-naoqi/naoqi_bridge_msgs” ,I really cannot find the PoseStampedWithSpeed.
Can you tell me how to fix it ???
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
pybullet.error: cannot import name PoseStampedWithSpeed #20
when I run the script "examples/pepper_ros_test.py", I got the error info: Traceback (most recent call last): File "pepper_ros_test.py", ...
Read more >linux - Python - ImportError: cannot import name - Stack Overflow
I wrote a simple script that can send notifications via Pushbullet using the pushbullet module, which I installed using pip.
Read more >[SOLVED] [pybullet] DIRECT and GUI mode issue - Real-Time ...
Most of the urdf-models that come in the data-directory can not be displayed as well. An example: Code: Select all import pybullet as...
Read more >compas_fab.backends.pybullet.client - compas fab
Source code for compas_fab.backends.pybullet.client. from __future__ import absolute_import from __future__ import division from __future__ import ...
Read more >pybullet - PyPI
pybullet is an easy to use Python module for physics simulation, robotics and deep reinforcement learning based on the Bullet Physics SDK.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you, I have removed the clone and used apt-get again and it is now working fine just with the warning you have linked 😃
Okay I see. The weird thing is that if you installed the ROS packages using apt-get, and used qiBullet 1.4.0, you should have received a warning but not an error (see here). The warning might be confusing though, I’ll clarify it in the next version.
It depends on what you want to do. The forked version has a better URDF model of the Pepper robot, so if you want to focus on tasks requiring an accurate geometrical model for Pepper, i would advise you to ensure that you indeed removed all of the packages installed with apt-get, clean and recompile the workspace, and use the forked version. (The RViz config should also be removed)
If you don’t care about the accuracy of the geometrical model, and you don’t want to recompile everything yourself, removing the clones and using apt-get is definitely the right choice.