question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pybullet.error: cannot import name PoseStampedWithSpeed

See original GitHub issue

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", 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:closed
  • Created 4 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
georgiablancocommented, Mar 30, 2020

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 😃

1reaction
mbusycommented, Mar 30, 2020

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.

would you advise removing the git clones and reinstalling using apt-get?

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found