Comments (8)
Hi @mat-l,
probably that is because we nested the whole MoveIt nodes, topics and parameters into a namespace (by default "/iiwa") to make it possible to start multiple instances under a single roscore.
You do not need to modify the launch file (your iiwa_launch.docx). You can just use our moveit_planning_execution.launch, which resides into iiwa_moveit. Then you can use your C++ script unmodified (you will have to start it in the "/iiwa" namespace, though).
from iiwa_stack.
Thank you for your answer.
Could you explain to me what I have to do with a little more details?
I started the simulation with your moveit_planning_execution.launch command and afterwards used rosrun to start my cpp script. From that I get an Error message because "manipulator" could not be found.
I suspect that is because I don't start my script in the /iiwa namespace properly. How do I start the script in this specific namespace?
To use a Terminal in which the iiwa workspace is sourced seems to be not enough.
from iiwa_stack.
Did you manage to solve this? You should just start your node within the right namespace (iiwa), from a roslaunch file it's pretty easy. Check the ns attribute here.
from iiwa_stack.
Hey
thanks to your comment I now understand a little more about roslaunch and I was able to solve the communication problem. For now all I could do is to add something like a table into the scene and create error messages for planning.
[ERROR] [1476274928.891292938, 42.126000000]: RRTConnect: Unable to sample any valid states for goal tree
and
[ERROR] [1476274918.882453812, 32.138000000]: Unable to transform from frame 'base_link' to frame '/world'. Returning identity.
I remember a similar problem that has been solved by adding a fixed joint between base_link and the world frame but I didn't had a chance to look into it yet.
Edit:
By adding a static_transform_publisher from world link to base link I could get rid of the second error but he first one remains and I still can't get a plan ready.
Edit2:
The first error vanished. Maybe my coordinates where out of the robots reach after all.
But it still doesn't move in simulation.
I am using the same planner as for ur5 with which everything works fine. Is it possible that I should change the planner? And if so could you recommend one?
from iiwa_stack.
Hi @mat-l,
sorry for the long absence. Did you make any progress with this?
from iiwa_stack.
I'm closing this since we had no further feedback. Feel free to open it again if you need more help.
from iiwa_stack.
I have the same error.
[ERROR] [1642615719.527758477]: Robot semantic description not found. Did you forget to define or remap '/robot_description_semantic'?
[ INFO] [1642615719.529822789]: Loading robot model 'iiwa7'...
[ INFO] [1642615719.530232672]: No root/virtual joint specified in SRDF. Assuming fixed joint
[FATAL] [1642615719.784914838, 186.460000000]: Group 'manipulator' was not found.
Traceback (most recent call last):
File "/home/user/catkin_stackiiwa/src/iiwa_stack/iiwa_ros/scripts/pythonmove.py", line 132, in
MoveItCartesianDemo()
File "/home/user/catkin_stackiiwa/src/iiwa_stack/iiwa_ros/scripts/pythonmove.py", line 20, in init
arm = MoveGroupCommander('manipulator')
File "/opt/ros/melodic/lib/python2.7/dist-packages/moveit_commander/move_group.py", line 66, in init
name, robot_description, ns, wait_for_servers
RuntimeError: Group 'manipulator' was not found.
from iiwa_stack.
Hi @mf093087, did you ever fix this? I am getting the same error. Many thanks, Sam.
from iiwa_stack.
Related Issues (20)
- Is it possible to access the I/O-groups? HOT 1
- Using iiwa_moveit results in a jerky motion HOT 4
- Q: What is [override_joint_acceleration] in SetSmartServoJointSpeedLimits.srv HOT 1
- Compatability with kuka med 7 HOT 1
- Python MoveIt integration
- Robot semantic description not found. Did you forget to define or remap '/robot_description_semantic'? HOT 1
- ‘ConfigureControlMode’ is not a member of ‘iiwa_msgs’ HOT 1
- Use of DirectServo instead of SmartServo? HOT 1
- Can't find the srv about “configuresmartservo” in ROS Noetic. HOT 1
- Problems with the accuracy of the desired force mode
- Installing the Servoing module in Workbench / Is it mandatory to have a Windows 7 machine as the Programming computer? HOT 1
- iiwa_stack ip configuration issue
- Direct Servo Joints Control Implementation
- Diect publish joint positions HOT 2
- Errors using Gazebo and iiwa_stack examples
- Smooth Velocity Control using iiwa/command/JointVelocity HOT 4
- Creating safety configuration
- subscribe the sensor data not in real time
- who can really use this stack to communicate with kuka iiwa robot smoothly???
- Suspect setMaxCartesianVelocity ought to actually call the service
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 iiwa_stack.