Git Product home page Git Product logo

Comments (8)

marcoesposito1988 avatar marcoesposito1988 commented on June 22, 2024

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.

mat-l avatar mat-l commented on June 22, 2024

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.

SalvoVirga avatar SalvoVirga commented on June 22, 2024

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.

mat-l avatar mat-l commented on June 22, 2024

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.

marcoesposito1988 avatar marcoesposito1988 commented on June 22, 2024

Hi @mat-l,

sorry for the long absence. Did you make any progress with this?

from iiwa_stack.

SalvoVirga avatar SalvoVirga commented on June 22, 2024

I'm closing this since we had no further feedback. Feel free to open it again if you need more help.

from iiwa_stack.

mf093087 avatar mf093087 commented on June 22, 2024

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.

srwhite1995 avatar srwhite1995 commented on June 22, 2024

Hi @mf093087, did you ever fix this? I am getting the same error. Many thanks, Sam.

from iiwa_stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.