Comments (5)
You shouldn't have to make any changes in the config, and the demos should work out-of-the-box if you manage to build the package successfully.
Can you specify which commands you ran? Did you start the moveit server using roslaunch panda_sim_moveit sim_move_group.launch
before running moveit demos? The error message seems to say the controllers are not being loaded correctly. Make sure all the runtime dependencies are met (apt install ros-melodic-moveit ros-melodic-ros-control ros-melodic-joint-trajectory-controller
), and try running again.
from panda_simulator.
I installed all dependencies specified in the dockerfile and also pip3 installed all requirements.txt libraries.
The launch order is following:
roslaunch panda_gazebo panda_world.launch roslaunch panda_sim_moveit sim_move_group.launch roslaunch panda_simulator_examples demo_moveit.launch
For the moveit server I get following Warning and Error:
[ WARN] [1614599318.717904557, 375.179000000]: Waiting for position_joint_trajectory_controller/follow_joint_trajectory to come up [ WARN] [1614599324.732847140, 381.179000000]: Waiting for position_joint_trajectory_controller/follow_joint_trajectory to come up [ERROR] [1614599330.754851815, 387.179000000]: Action client not connected: position_joint_trajectory_controller/follow_joint_trajectory [ WARN] [1614599335.853593910, 392.258000000]: Waiting for franka_gripper/gripper_action to come up [ WARN] [1614599341.883159988, 398.258000000]: Waiting for franka_gripper/gripper_action to come up [ERROR] [1614599347.913771236, 404.258000000]: Action client not connected: franka_gripper/gripper_action
When running the move_robot.py I get following Traceback:
$ python move_robot.py Traceback (most recent call last): File "move_robot.py", line 4, in <module> from franka_core_msgs.msg import JointCommand, RobotState ImportError: No module named franka_core_msgs.msg
from panda_simulator.
I installed all dependencies specified in the dockerfile and also pip3 installed all requirements.txt libraries.
The package requires python 2, so pip3 install
won't do it, you'll have to use the python 2 variant (pip install
usually).
For the moveit server I get following Warning and Error:
This seems to suggest that the simulator launch is not complete (the custom action servers for joint trajectory and gripper don't seem to have started). You should wait till the simulator is fully loaded before starting the moveit server. If the problem still persists, you might want to disable the automatic start of the custom action servers using the flag use_custom_action_servers:=false
(roslaunch panda_gazebo panda_world.launch use_custom_action_servers:=false
), and then start the action server nodes separately (see the nodes started by this flag in the launch file). Then start the moveit server.
When running the move_robot.py I get following Traceback:
$ python move_robot.py Traceback (most recent call last): File "move_robot.py", line 4, in <module> from franka_core_msgs.msg import JointCommand, RobotState ImportError: No module named franka_core_msgs.msg
If you already have met the dependencies (including franka_ros_interface
package), then it seems either the workspace is not built properly, or it is not sourced (source <catkin_ws>/devel/setup.bash
).
from panda_simulator.
We solved the issue by:
- changing the url for the REST server API for Gazebo: this issue
- reinstalling numpy etc. via:
python -m pip install numpy-quaternion
Thank you very much!!!
from panda_simulator.
You hadn't mentioned the REST API error, or I could have pointed it out for you.
Anyway, glad to hear you got it working!
from panda_simulator.
Related Issues (20)
- Dual-arm Simulation using PandaRobotHWSim HOT 1
- I use cpp to imitate python script(move_robot.py). message md5sum is mismatch. HOT 2
- Action client not connected. No controllers. HOT 3
- Cartesian Pose Control as directly supported by Panda (#39) HOT 7
- how can i control the franka at the joint velocity level HOT 1
- start the franka_example_controller HOT 1
- Process finished on startup and demo fail HOT 5
- Trajectory replacing support HOT 2
- Gazebo not launched following Docker Build instructions HOT 3
- Gravity HOT 2
- Action client not connected: position_joint_trajectory_controller/follow_joint_trajectory HOT 4
- How do I add an .stl to the gazebo simulation? HOT 1
- Errors when running `roslaunch panda_gazebo panda_world.launch` HOT 2
- Error when running `roslaunch panda_sim_moveit sim_move_group.launch`
- Errors when starting example scripts
- Error while launching panda_world.launch
- Getting Segmentation Fault while lanuching the panda_world.launch file
- Controller registration fail: This controller requires a hardware interface of type 'panda_hardware_interface::SharedJointInterface'. Make sure this is registered in the hardware_interface::RobotHW class HOT 2
- Cannot do path planning with Move It Demo HOT 4
- Works for 20.04 noetic? Can not run the first demo HOT 1
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 panda_simulator.